Restricting zoom or Label-drawing if zoomed in very deep
Posted: Wed Dec 08, 2010 11:53 pm
Hi!
I'm using TChart 7.12 with D2007 and have set Bottom axis Label format to 0 (I do not need fractionals). If I zoom in everything works well until a certain zoom level is reached (zooming in further and further). At some point (if the distance between two consecutive points doesn't fit in the current view?) the grid "jumps" to multible labels each one with the same value (so one moment you see a "1" on the left-side and a "2" on the right-side of the chart and next moment the complete axis is filled with "2"'s).
I would like to either restrict zooming to go beyond that point or prevent the chart from drawing the same lable multiple times!
I'm using TChart 7.12 with D2007 and have set Bottom axis Label format to 0 (I do not need fractionals). If I zoom in everything works well until a certain zoom level is reached (zooming in further and further). At some point (if the distance between two consecutive points doesn't fit in the current view?) the grid "jumps" to multible labels each one with the same value (so one moment you see a "1" on the left-side and a "2" on the right-side of the chart and next moment the complete axis is filled with "2"'s).
I would like to either restrict zooming to go beyond that point or prevent the chart from drawing the same lable multiple times!