Pie Chart color and legends do not match
Opened this issue · 0 comments
vaithu commented
Describe the bug
The colors of the piechart and legend colors are not matching
Steps or code example to Reproduce
withChart(ChartBuilder.get().withType(Type.PIE).build())
.withLabels("Successes", "Failures")
.withLegend(LegendBuilder.get()
.withPosition(Position.RIGHT)
.build())
.withSeries(series.toArray(new Double[0]))
.withColors("green","red")
.build()
Expected behavior
This chart would get two colors Green for Success and Red for Failures. The legend and pie charts colors should match
Desktop (please complete the following information):
- OS: Any
- Browser : Any
- Version [e.g. 23]