{#if dragSelect}
{/if} {#if visiblePictograms.length > 0}
{#each visiblePictograms as p (p.x)}
{/each}
{/if} {#if visibleWindArrows.length > 0}
{#each visibleWindArrows as a (a.x)}
{/each}
{/if} {#if tooltipVisible}
{formatZoned(new Date(timestamps[hoverIdx] * 1000), timezone, 'EEE d MMM HH:mm')}
{#each tooltipRows as row (row.name)}
{row.name}:
{row.value}
{/each}
{/if}
{#if showLegend && series.length > 0}
{#each series.filter((s) => s.showInLegend !== false) as s (s.name)}
toggleSeries(s.name)} title="Toggle {s.name}" >
{width > 0 && width < 520 ? (s.shortName ?? s.name) : s.name}
{/each}
{/if}