Display all bars with equal width in x axis using XYBarchart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
skmb
Posts: 1
Joined: Fri Feb 20, 2015 9:47 am
antibot: No, of course not.

Display all bars with equal width in x axis using XYBarchart

Post by skmb » Fri Feb 20, 2015 10:29 am

Hi,

I am working on XY bar chart which displays as shown below,
Image

In this example graph starts from -100 and first bar width is -100 to 10.

I want display all the bars with same width irrespective of the tick width as shown below,
Image

Please provide any ideas how can i adjust range of x axis to make all bars with same width

skyhook
Posts: 8
Joined: Tue Mar 03, 2015 2:34 pm
antibot: No, of course not.

Re: Display all bars with equal width in x axis using XYBarc

Post by skyhook » Wed Mar 04, 2015 1:44 pm

Hi,

Are you using XYBarRenderer class?

M.

Locked