This commit is contained in:
syuilo
2022-12-26 13:26:21 +09:00
parent 78ee06985e
commit 6083356a3e
3 changed files with 15 additions and 5 deletions

View File

@@ -53,7 +53,9 @@ const chartEl = ref<HTMLCanvasElement>(null);
// フォントカラー
Chart.defaults.color = getComputedStyle(document.documentElement).getPropertyValue('--fg');
const { handler: externalTooltipHandler } = useChartTooltip();
const { handler: externalTooltipHandler } = useChartTooltip({
position: 'middle',
});
let chartInstance: Chart;