Step function question

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Alex Manoylenko
Posts: 18
Joined: Fri Mar 11, 2005 9:41 pm
Location: Ukraine
Contact:

Step function question

Post by Alex Manoylenko » Mon Mar 14, 2005 8:27 am

Hi!

Can somebody explain me how I can resolve next problem:

I want to build step function like this (I have x-begin value and x-end value of arrow, y-value of arrow):

Y

| --->
| -->
| -->
| -->
|____________________ X

I have understood that I must use static method createXYStepChart() of ChartFactory class. Am I right?

But I don't understand which XYDataset I must use to resolve this problem as parameter to referred above method.

Thx, any explanation code will be very appreciated.

Alex Manoylenko
Posts: 18
Joined: Fri Mar 11, 2005 9:41 pm
Location: Ukraine
Contact:

Post by Alex Manoylenko » Tue Mar 15, 2005 5:59 pm

Is there way to resolve this issue using JFreeChart?

Help please.

Thanks,
Alex

Locked