From 38b7ef1786558c3bbf2fa42b3d9cce705ea3eda9 Mon Sep 17 00:00:00 2001 From: William Mai <8331608+wmai@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:51:44 +0200 Subject: [PATCH] style: Linter --- packages/visualizations/src/components/Chart/datasets.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/visualizations/src/components/Chart/datasets.ts b/packages/visualizations/src/components/Chart/datasets.ts index 38c0f16f..1530ba99 100644 --- a/packages/visualizations/src/components/Chart/datasets.ts +++ b/packages/visualizations/src/components/Chart/datasets.ts @@ -114,7 +114,10 @@ export default function toDataset(df: DataFrame, s: ChartSeries): ChartDataset { return { type: 'scatter', label: defaultValue(s.label, ''), - data: df.map((entry) => ({ x: entry[defaultValue(s.indexAxis, 'x')], y: entry[defaultValue(s.valueColumn, 'y')] })), + data: df.map((entry) => ({ + x: entry[defaultValue(s.indexAxis, 'x')], + y: entry[defaultValue(s.valueColumn, 'y')], + })), datalabels: chartJsDataLabels(s.dataLabels), backgroundColor: singleChartJsColor(s.backgroundColor), pointRadius: defaultValue(s.pointRadius, 5),