Skip to content

Commit

Permalink
fix #2980; use fill.colors in tooltip in pie and donut
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Sep 29, 2024
1 parent 7394f79 commit a63d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Theme {
`apexcharts-theme-${w.config.theme.mode}`
)

w.globals.colors = this.getColors(w.config.colors)
w.globals.colors = this.getColors(w.config.colors || w.config.fill.colors)

this.applySeriesColors(w.globals.seriesColors, w.globals.colors)

Expand Down

0 comments on commit a63d027

Please sign in to comment.