x axis scaling

TeeChart for ActiveX, COM and ASP
Post Reply
Duane
Newbie
Newbie
Posts: 9
Joined: Tue Feb 17, 2004 5:00 am
Location: Houston, TX

x axis scaling

Post by Duane » Tue Feb 17, 2004 8:14 pm

I am unable to figure out how to limit the data visible on a horizontal line series to the min/max values of it's x axis.

For instance

I have one chart with 6 horizontal line series'

Each line series is associated with its own custom horizontal axis because each line has it's own scale

the first 3 custom x axis' are positioned with the first 50% of the chart ... the second 3 custom x axis' are positioned on the last 50% so that the user sees two vertical "tracks" of data

the problem is that when a x data value for one of the lines in the first 50% exceeds the scale given for the x axis the chart will still plot it. When it plots it the lines extend into the second 50% of the chart area. Is there any way that I can tell the axis to not plot values that are outside of the scale or must I restrict the data set that feeds the x values to values that are within the scale?

Thanks,
Duane Ferrell

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Feb 18, 2004 9:30 am

Hi Duane,

you can see one example which chow you how to prevent this in the TeeChart Pro v6 Demo Features project under :
Welcome ! -> Previous Version -> New Features -> Chart -> Axes -> Opaque Zones

Post Reply