Skip to content

Commit

Permalink
fix(Highcharts plugin): remove style for chart background color (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flunt1k authored Nov 22, 2022
1 parent c3281fd commit 481b2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ChartKit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--highcarts-navigator-border: var(--yc-color-line-generic);
--highcarts-navigator-track: var(--yc-color-base-generic);
--highcarts-navigator-body: var(--yc-color-scroll-handle);
--highcharts-chart-background: var(--yc-color-base-background);
--highcharts-series-border: var(--yc-color-base-background);
--highcharts-grid-line: var(--yc-color-line-generic);
--highcharts-axis-line: var(--yc-color-line-generic);
--highcharts-tick: var(--yc-color-line-generic);
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/highcharts/renderer/helpers/config/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const statesForLine = {
const options = {
chart: {
zoomType: 'xy',
backgroundColor: 'var(--highcharts-chart-background)',
backgroundColor: 'transparent',
className: 'chartkit-highcharts',
},
title: {
Expand Down Expand Up @@ -186,7 +186,7 @@ const options = {
},
plotOptions: {
series: {
borderColor: 'var(--highcharts-chart-background)',
borderColor: 'var(--highcharts-series-border)',
label: {
enabled: false,
},
Expand Down

0 comments on commit 481b2f5

Please sign in to comment.