Skip to content

Commit 24e71b4

Browse files
committed
Fix radial area chart example's tooltip by using bisect-x mode instead of quadtree
1 parent e96302e commit 24e71b4

File tree

1 file changed

+3
-0
lines changed
  • packages/layerchart/src/routes/docs/components/AreaChart

1 file changed

+3
-0
lines changed

packages/layerchart/src/routes/docs/components/AreaChart/+page.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@
634634
xAxis: { format: 'month', tickMarks: false },
635635
yAxis: { ticks: 4, format: (v) => v + '° F' },
636636
highlight: { points: false },
637+
tooltip: {
638+
context: { mode: 'bisect-x' },
639+
},
637640
}}
638641
series={[
639642
{

0 commit comments

Comments
 (0)