{#if currentLabel}
{currentLabel}
{/if}
{#if labels}
{#each labels as stop, i} {@const pct = ((stop.value - min) / (max - min)) * 100} {stop.label} {/each}
{/if}