Drawing a red vertical bar

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Hostos Monegro

Drawing a red vertical bar

Post by Hostos Monegro » Fri Oct 18, 2002 6:09 pm

Hi,

Can someone suggest away I could draw a red vertical bar in chart (XYPlot). Thanks

Dave Gilbert

Re: Drawing a red vertical bar

Post by Dave Gilbert » Mon Oct 21, 2002 9:07 am

Try out (then adapt) the VerticalXYBarChartDemo application.

Regards,

DG

Hostos Monegro

Re: Drawing a red vertical bar

Post by Hostos Monegro » Wed Oct 23, 2002 4:27 am

Hi DG,

The VerticalXYBarChartDemo application is not functioning correctly.



thanks,
HM

Dave Gilbert

Re: Drawing a red vertical bar

Post by Dave Gilbert » Wed Oct 23, 2002 9:02 am

It is running fine for me, you'll have to be more specific about the problem you have encountered.

Regards,

DG.

Hostos Monegro

Re: Drawing a red vertical bar

Post by Hostos Monegro » Wed Oct 23, 2002 6:25 pm

This is the error message I'm getting;

Error : Class com.jrefinery.chart.demo.SimpleIntervalXYDataset not found.
VerticalXYBarChartDemo.java line 69
IntervalXYDataset dataset = new SimpleIntervalXYDataset();


thanks,
Hostos

Dave Gilbert

Re: Drawing a red vertical bar

Post by Dave Gilbert » Wed Oct 23, 2002 10:44 pm

Is this when you run the demo from the jar files, or recompile it from source?

I double checked that I can run the demo OK from the jar files in 0.9.4 - no problem there. I also double checked that the SimpleIntervalXYDataset.java source file is in the distribution - again no problem. So I'm puzzled - I can't see where the error is coming from...

Regards,

DG.

Locked