{#if values.length}
(hoverDate = null)} > {#each scale.ticks as value (value)} {format(value)} {/each} {#each ticks() as tick (tick)} {dateLabel(tick)} {/each} {#if marker && time(marker.date) >= from && time(marker.date) <= until} {marker.label} {/if} {#each series as item (item.label)} {@const parts = segments(item)} {#each [parts.solid, parts.dashed] as points, index (index)} {#if points.length > 1} {/if} {/each} {#if item.points.length === 1} {/if} {/each} {#if hoverDate} {#each hoverRows as row (row.item.label)} {/each} {/if} {#if hoverDate && hoverRows.length}
width / 2} style={`left:${x(hoverDate)}px`} role="status" >

{dateLabel(hoverDate, true)}{#if marker && hoverDate > marker.date} · projected{/if}

{#each hoverRows as row (row.item.label)}

{row.item.label} {format(row.point.value, true)}

{/each}
{/if}
{#if series.length > 1 || series.some((item) => item.dashedFrom)}
{#each series as item (item.label)} {item.label} {/each} {#if series.some((item) => item.dashedFrom)} Actual Projected {/if}
{/if} {:else}

Add entries to see a chart.

{/if}