Stretching specific areas of a TChart's axis.
Posted: Tue Feb 15, 2005 6:12 pm
Hi TChart,
I was wondering if there is a way to stretch a specific portion of a TChart's axis?
For example, if the X axis of a TChart has a minimum of 0.0 and a maximum of 10.0, and the entire axis is 100 pixels long, you would expect there to be exactly 10 pixels between each interval.
What I would like to do is stretch a certain portion of the X axis. Following the above example, suppose I wanted to make the space between the fifth and sixth interval twice as long as the spaces between the other intervals, so that there are exactly 20 pixels between the fifth and sixth intervals, but still only 10 pixels between the other intervals? (The total length of the axis would then be 110 pixels long).
Basically, I'm trying to magnify a specifc area of the TChart, and have the Axes reflect this magnification.
Any help would be greatly appreciated.
Thank You,
Tim Mitchell
I was wondering if there is a way to stretch a specific portion of a TChart's axis?
For example, if the X axis of a TChart has a minimum of 0.0 and a maximum of 10.0, and the entire axis is 100 pixels long, you would expect there to be exactly 10 pixels between each interval.
What I would like to do is stretch a certain portion of the X axis. Following the above example, suppose I wanted to make the space between the fifth and sixth interval twice as long as the spaces between the other intervals, so that there are exactly 20 pixels between the fifth and sixth intervals, but still only 10 pixels between the other intervals? (The total length of the axis would then be 110 pixels long).
Basically, I'm trying to magnify a specifc area of the TChart, and have the Axes reflect this magnification.
Any help would be greatly appreciated.
Thank You,
Tim Mitchell