Skip to content

Commit

Permalink
radar chart - datalabel issue when count is more than series len; fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Feb 13, 2019
1 parent 28a4ecd commit d2f40a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/Theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class Theme {
} else {
w.globals.dataLabels.style.colors = w.config.dataLabels.style.colors
}
this.pushExtraColors(w.globals.dataLabels.style.colors)
this.pushExtraColors(w.globals.dataLabels.style.colors, 50)

if (w.config.plotOptions.radar.polygons.fill.colors === undefined) {
w.globals.radarPolygons.fill.colors = ['#fff']
Expand Down Expand Up @@ -117,8 +117,6 @@ export default class Theme {
w.config.plotOptions.bar.distributed) ||
(w.config.chart.type === 'heatmap' &&
w.config.plotOptions.heatmap.colorScale.inverse)
} else {
distributed = false
}

if (distributed) {
Expand Down

0 comments on commit d2f40a4

Please sign in to comment.