Skip to content

Commit

Permalink
Fix the color to avoid to have a random color when navigate in the dr…
Browse files Browse the repository at this point in the history
…illdown
  • Loading branch information
xavierfacq committed Oct 5, 2023
1 parent 551834f commit 876096a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Graph/BarChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export default class BarChart extends Component<BarChartProps> {
if (!data) return null

const options = {
colors: [
"#2caffe"
],
accessibility: {
enabled: false,
},
Expand Down
3 changes: 3 additions & 0 deletions src/Graph/ColumnDrilldown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ export default class ColumnDrilldown extends Component<ColumnDrilldownProps, Col

const { name } = this.props;
const options = {
colors: [
"#2caffe"
],
chart: {
type: 'column'
},
Expand Down

0 comments on commit 876096a

Please sign in to comment.