help width bar

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
manuxbeax
Posts: 2
Joined: Thu Apr 27, 2006 9:55 am

help width bar

Post by manuxbeax » Thu Apr 27, 2006 12:34 pm

hi,
I have a XYBar with one serie.
But each bar have the same width, and i want different width.

socrateone
Posts: 13
Joined: Fri Apr 28, 2006 2:53 pm

Post by socrateone » Mon May 01, 2006 10:26 pm

instead of having several pieces of datat with one sereis, try multiple series with one peice of data each.

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Tue May 02, 2006 12:01 am

You will need to provide your own implementation of IntervalXYDataset. To support variable width bars, you will need to provide custom logic in these methods

Code: Select all

double getStartX(int series, int item)
double getEndX(int series, int item)

Locked