Closed marccompte closed 2 years ago
I ran into the same problem. you can fix it by adding "Tooltip" in your import:
import { Chart, Grid, Line, Tooltip } from 'vue3-charts'
components: { Chart, Grid, Line, Tooltip},
Sorry to answer so late. This fixed it, thank you @willyuanxu.
Hello,
I have tried the example at https://vue3charts.org/docs/charts/line that shows a tooltip.
I have copied the entire code and added it to a component, like so:
I do get a chart, but there are no tooltips. The same example at https://vue3charts.org/docs/charts/line shows a tooltip just fine and the code is almost the same. Is this a bug? I don't see any documentation on how to use the tooltips.
My package.json: