In the stacked bar chart above, how can i remove the line (in the red circle) and keep the other lines?
I have done the above by extending StackedBarRenderer
Code: Select all
class MECustomRenderer extends StackedBarRenderer {
/**
*
*/
private static final long serialVersionUID = 1L;
/** The colors. */
private Paint[] colors;
private PrintWriter out;
/**
* Creates a new renderer.
*
* @param colors the colors.
*/
public MECustomRenderer(final Paint[] colors, PrintWriter out) {
this.colors = colors;
this.out = out;
}
public Paint getItemOutlinePaint(final int row, final int column){
if (this.colors[column % this.colors.length] != null){
}
return this.colors[column % this.colors.length];
}
public Stroke getItemOutlineStroke(final int row, final int column){
return new BasicStroke(2.5f);
}
//public
}