neozerabbit Posted September 15, 2011 Share Posted September 15, 2011 Is is possible to have border on the bars of the chart ? How ? Link to comment Share on other sites More sharing options...
szaharia Posted September 16, 2011 Share Posted September 16, 2011 Hi,Use the BarRenderer setSeriesOutlinePaint(...) method in a chart customizer.HTH,sanda Link to comment Share on other sites More sharing options...
neozerabbit Posted September 19, 2011 Author Share Posted September 19, 2011 Thanks. I missed something. I had to cas my renderer and set some properties to obtain border on bars of my chartI has to set outline bar on trueBarRenderer renderer = (BarRenderer) plot.getRenderer();renderer.setDrawBarOutline(true); // Bars border.....// Bars borderrenderer.setSeriesOutlinePaint(i, Color.BLACK); renderer.setSeriesOutlineStroke(i, new BasicStroke(0.5f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL)); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now