Help with XY Bar Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mann
Posts: 13
Joined: Thu Mar 20, 2008 11:55 am

Help with XY Bar Chart

Post by mann » Wed May 28, 2008 6:12 am

Hi!

From last few weeks i m working on JFree Chart.
As Our product required same charts based on the data we strarted working on JFree Chart
We are doing a research and I need to draw a Chart just like the XYBarchartDemo 7.

I'm trying to create a XYBarChart with a TimePeriodValuesCollection, but instead using a double value in Y axis, I need to use a Label/Category/Series just like the XYBarchartDemo7.

This would help-me a lot, and I'll be very grateful!

waiting for reply.......
mann

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Wed May 28, 2008 7:43 am

What is your question?
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

mann
Posts: 13
Joined: Thu Mar 20, 2008 11:55 am

Post by mann » Thu May 29, 2008 6:02 am

Hi,
My question is How to draw XYBarchartDemo7 type of chart?

Will you please provide any code guide line to draw it?

Thanks in advance
mann

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Thu May 29, 2008 5:17 pm

mann wrote:My question is How to draw XYBarchartDemo7 type of chart?

Will you please provide any code guide line to draw it?
Since the chart you are referring to is a demo chart, you can download the source code with the purchase of the developer's guide. If you want to start with a basic chart, you can try using createXYBarChart from ChartFactory. You can see all the ways to customize the chart by digging down into the JavaDoc entries.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

Locked