Hi,
In stacked bar chart i am having boxes of 10 colors.
The problem is that the each box is outlined by a small black border.
How do i remove this outlined box?
I don't want the border for the box.
Thanks,
Nivedeeta
Horizontal stacked bar chart
Re: Horizontal stacked bar chart
In the StackedHorizontalBarRenderer class, there is some code in the drawCategoryItem method that is adding this border:
if (itemWidth>3) {
g2.setStroke(plot.getSeriesStroke(series));
g2.setPaint(plot.getSeriesOutlinePaint(series));
g2.draw(bar);
}
I need to modify the code so that if either the series outline stroke or paint is null, then nothing is drawn.
As a workaround, you could just comment out those lines and recompile.
Regards,
DG.
if (itemWidth>3) {
g2.setStroke(plot.getSeriesStroke(series));
g2.setPaint(plot.getSeriesOutlinePaint(series));
g2.draw(bar);
}
I need to modify the code so that if either the series outline stroke or paint is null, then nothing is drawn.
As a workaround, you could just comment out those lines and recompile.
Regards,
DG.