non-linearity in horizontal axes??
Posted: Sun Jun 11, 2006 7:19 pm
Hi,
I observed something that makes me rather nervious:
I added on a chart the Top-axis and after all series are drawn
I use: tchart1.axes.Top.SetMinMax(tchart1.axis.bottom.Minimum,
tchart1.axis.bottom.Maximum)
to have the same horizontal axis on the top as on the bottom.
When I looked closely at where vertical lines (e.g. like colorbands associated with the bottom axis) intersect the scale of the top axis I find something disturbing:
On the left they coincide, i.e. they intersect the bottom and top axis at the same value. But as I go further to the left they progressivly diverge, i.e. a line that intersects the bottom axis at 24.0 intersects the top axis at 24.1 and the difference gets bigger as the I go further to the right.
The only possible difference between the top and bottom axis may be that I have the top axis with ticks of a different width but that should not influence the linearity of the scale.
I will check further on Monday but if you have any idea what could cause this I would be greatful for any hint. If I move the top axis left/right there is now way to align its values with those of the bottom axis. This is really weired.
Thanks!
fano
I observed something that makes me rather nervious:
I added on a chart the Top-axis and after all series are drawn
I use: tchart1.axes.Top.SetMinMax(tchart1.axis.bottom.Minimum,
tchart1.axis.bottom.Maximum)
to have the same horizontal axis on the top as on the bottom.
When I looked closely at where vertical lines (e.g. like colorbands associated with the bottom axis) intersect the scale of the top axis I find something disturbing:
On the left they coincide, i.e. they intersect the bottom and top axis at the same value. But as I go further to the left they progressivly diverge, i.e. a line that intersects the bottom axis at 24.0 intersects the top axis at 24.1 and the difference gets bigger as the I go further to the right.
The only possible difference between the top and bottom axis may be that I have the top axis with ticks of a different width but that should not influence the linearity of the scale.
I will check further on Monday but if you have any idea what could cause this I would be greatful for any hint. If I move the top axis left/right there is now way to align its values with those of the bottom axis. This is really weired.
Thanks!
fano