Jump to content
Software FX Community

Fractional X values in a step graph possible?


User (Legacy)

Recommended Posts

I've got a set of data I need to chart as a step graph, but it's not on

regular intervals. It's time based. For example, I could have data

consisting of the following points: (9am, 45) (9:30am, 50) (10am 55) (11am

60). Looking at the documentation, it looks like all you can do are pass

the Y values to the chart (and label the X Axes for each point). The

problem with that is that the interval between 9 and 9:30am will be the same

length as the step interval between 10am and 11am when it should only be

half as long.

Is there any way to specify the X values on a step graph so that the chart

looks right short of creating "intermediate" intervals between the end

points of the longer runs?

--TG

Link to comment
Share on other sites

You need to create an XY chart and pass the times as the X axis values. You

will also have to specify the format of the X axis so that is labeled

properly.

There is sample in both our support site and the Resource Center

(Samples/AxisHandling/XAxis/Date Values) that will show you what to do if

you are using DataBinding. There is also a sample in our support site

(Samples/Miscellaneous/Time in X Axis) that passes the data manually.

--

Regards,

JC

Software FX Support

"TG" <timg@pgas.com> wrote in message

news:HJ82SAl6CHA.2116@webserver1.softwarefx.com...

> I've got a set of data I need to chart as a step graph, but it's not on

> regular intervals. It's time based. For example, I could have data

> consisting of the following points: (9am, 45) (9:30am, 50) (10am 55) (11am

> 60). Looking at the documentation, it looks like all you can do are pass

> the Y values to the chart (and label the X Axes for each point). The

> problem with that is that the interval between 9 and 9:30am will be the

same

> length as the step interval between 10am and 11am when it should only be

> half as long.

>

> Is there any way to specify the X values on a step graph so that the chart

> looks right short of creating "intermediate" intervals between the end

> points of the longer runs?

>

> --TG

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...