{#if data.length === 0}
No event in this scope.
{:else}
{#each ticks as tick (tick)} {@const y = plot.y + plot.h - (scaleMax === 0 ? 0 : (tick / scaleMax) * plot.h)}
{tick}
{/each} {#each bars as bar, index (bar.entry.eventId)}
{/each} {#each bars as bar, index (bar.entry.eventId)} {#if showLabel(index)}
{bar.label}
{/if} {/each} {#each bars as bar, index (bar.entry.eventId)}
(hovered = index)} onmouseleave={() => (hovered = null)} role="presentation" /> {/each}
{#if active}
{active.entry.name}
{#if formatMonth(active.entry.date)}
{formatMonth(active.entry.date)}
{/if}
Players
{active.entry.players}
Entries
{active.entry.entries}
Brackets
{active.entry.brackets}
{/if} {/if}