Jump to content

neozerabbit

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Thanks.

 

I missed something.  I had to cas my renderer and set some properties to obtain border on bars of my chart

I has to set outline bar on true

BarRenderer renderer = (BarRenderer) plot.getRenderer();

renderer.setDrawBarOutline(true); // Bars border

.....

// Bars border
renderer.setSeriesOutlinePaint(i, Color.BLACK);                
renderer.setSeriesOutlineStroke(i, new BasicStroke(0.5f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL));

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...