Commit 0e7d2ef7 authored by Rais Aryaguna's avatar Rais Aryaguna

fix type error chat-scatter

parent 28518047
...@@ -15,7 +15,7 @@ export function ChartScatter({ chart }: Props) { ...@@ -15,7 +15,7 @@ export function ChartScatter({ chart }: Props) {
const chartOptions = useChart({ const chartOptions = useChart({
chart: { zoom: { enabled: true, type: 'xy' } }, chart: { zoom: { enabled: true, type: 'xy' } },
legend: { show: true }, legend: { show: true },
xaxis: { tickAmount: 8, labels: { formatter: (val) => parseFloat(val).toFixed(1) } }, xaxis: { tickAmount: 8, labels: { formatter: (val: any) => parseFloat(val).toFixed(1) } },
markers: { size: 6 }, markers: { size: 6 },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment