I've noticed an issue with the display of data when axis min/max's are not set to automatic.
I have added two custom axis to my chart with start and end positions of 100,50 and 50,0 respectively. When the page loads for the first time the axes min and max's are set to automatic (i.e. the scales automatically adjust to the min and max series values - see image1 - the blue series min is 120).
I have provided the end user with the ability to customize the axes min and max's, i.e. to allow them specify a min and/or max value to which to scale the axis. When the chart is redrawn I get data overlapping between the two series - see image2 - this is what happens when the blue axis min is set to 160. Note the blue series is now overlapping the red series.
To change the scale I set the blue axis Automatic property to false and then set the axis Minimum property to the desired value e.g. 160, for example:
Code: Select all
axis.AutomaticMinimum = False
axis.Minimum = 160
I’m using version 3.5.3371.26405 (i.e. framework 2.0 build 25th March).
Regards,
Norman