Skip to content

Commit 54b9b5b

Browse files
committed
feat(Analytics): update initialChartOptions with background color for chart and tooltip
1 parent e3c0a54 commit 54b9b5b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/Analytics/Cards/prod/TaskD/chart-options.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/** @type {Highcharts["options"]} */
22
export const initialChartOptions = {
3+
chart: {
4+
backgroundColor: 'oklch(0.98 0 0)',
5+
},
36
title: {
47
text: 'PivotkeD',
5-
backgroundColor: 'oklch(0.98 0 0)',
68
},
79
type: 'line',
810
xAxis: {
@@ -31,7 +33,9 @@ export const initialChartOptions = {
3133
series: [],
3234
tooltip: {
3335
xDateFormat: '%e %B %Y',
36+
useHtml: true,
3437
shared: true,
3538
crosshairs: true,
39+
backgroundColor: 'oklch(1 0 0 / 0.8)',
3640
},
3741
};

0 commit comments

Comments
 (0)