Tooltip
Documentation Index
Fetch the complete documentation index at: /llms.txt. Use this file to discover all available pages before exploring further.
Tooltips that surface the values under the pointer as you hover a chart.
Usage
Add <EChartsAreaChart.Tooltip /> as a child of the chart root. It reads the chart’s data and config from context — no props are required to get a working tooltip.
<script lang="ts">
import { EChartsAreaChart } from '$lib/components/evilcharts/charts/echarts-area-chart/index.js';
</script>
<EChartsAreaChart {data} config={chartConfig}>
<EChartsAreaChart.Tooltip variant="frosted-glass" roundness="md" position="fixed" />
</EChartsAreaChart> Variants
Control the tooltip surface with the variant prop on the <Tooltip /> part.