Width of Bars

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Rajnesh
Posts: 19
Joined: Thu Jan 03, 2008 8:48 am

Width of Bars

Post by Rajnesh » Tue Feb 26, 2008 6:29 am

Hi all

I'm using XYPlot and create a XYBarChart .I want to set the width of bars. m using ClusteredXYBarRenderer.Is there is any way to set the width of bars manually.

Plzzzzzzz help me.........
Waiting for ur reply....... :)
Thanks

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Feb 28, 2008 5:31 am

The bar width is determined by the startX and endX values returned by the IntervalXYDataset...adjusted by the number of items (bars) that need to be displayed within that space. So you need to look at your dataset implementation.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked