From ed72a4a14b7f4162bbf4db7d5a55bb85c9cdf2f5 Mon Sep 17 00:00:00 2001 From: Scott Rhamy Date: Sun, 23 Nov 2025 17:17:50 -0500 Subject: [PATCH] BarChart/sparkbars - "Sparkbar-fixed-position tooltip" - use format so not so many decimals. - "sparkbar-within-a-paragraph-with-tooltip-and-highlight" - same reduction of decimals. --- .../examples/BarChart/sparkbar-fixed-position-tooltip.svelte | 2 +- ...arkbar-within-a-paragraph-with-tooltip-and-highlight.svelte | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/examples/BarChart/sparkbar-fixed-position-tooltip.svelte b/docs/src/examples/BarChart/sparkbar-fixed-position-tooltip.svelte index 6c7b47190..33c2837bd 100644 --- a/docs/src/examples/BarChart/sparkbar-fixed-position-tooltip.svelte +++ b/docs/src/examples/BarChart/sparkbar-fixed-position-tooltip.svelte @@ -32,7 +32,7 @@ {format(data.date, 'day')}
- {data.value} + {format(data.value, 'decimal')}
{/snippet} diff --git a/docs/src/examples/BarChart/sparkbar-within-a-paragraph-with-tooltip-and-highlight.svelte b/docs/src/examples/BarChart/sparkbar-within-a-paragraph-with-tooltip-and-highlight.svelte index c096db7b9..571032504 100644 --- a/docs/src/examples/BarChart/sparkbar-within-a-paragraph-with-tooltip-and-highlight.svelte +++ b/docs/src/examples/BarChart/sparkbar-within-a-paragraph-with-tooltip-and-highlight.svelte @@ -1,6 +1,7 @@