Setting Minimum and Maximum Values
Posted: Wed Sep 14, 2011 8:31 am
Hi,
I am manually setting the minimum and maximum x and y scales for a point chart.
Points1.Chart.Axes.Right.AutomaticMaximum = False
Points1.Chart.Axes.Bottom.AutomaticMaximum = False
Points1.Chart.Axes.Left.AutomaticMaximum = False
Points1.Chart.Axes.Top.AutomaticMaximum = False
Points1.Chart.Axes.Right.AutomaticMinimum = False
Points1.Chart.Axes.Bottom.AutomaticMinimum = False
Points1.Chart.Axes.Left.AutomaticMinimum = False
Points1.Chart.Axes.Top.AutomaticMinimum = False
Points1.Chart.Axes.Top.Maximum = XMax
Points1.Chart.Axes.Top.Minimum = XMin
Points1.Chart.Axes.Left.Maximum = YMax
Points1.Chart.Axes.Left.Minimum = YMin
Points1.Chart.Axes.Right.Maximum = YMax
Points1.Chart.Axes.Right.Minimum = YMin
The chart calculates an offset for each axes. The result is offset x and y scales. Is there some way to overcome this?
I want the scale to plot exactly how I specify.
I did have this working previously, but something must have changed when I upgraded the tchart.
I am manually setting the minimum and maximum x and y scales for a point chart.
Points1.Chart.Axes.Right.AutomaticMaximum = False
Points1.Chart.Axes.Bottom.AutomaticMaximum = False
Points1.Chart.Axes.Left.AutomaticMaximum = False
Points1.Chart.Axes.Top.AutomaticMaximum = False
Points1.Chart.Axes.Right.AutomaticMinimum = False
Points1.Chart.Axes.Bottom.AutomaticMinimum = False
Points1.Chart.Axes.Left.AutomaticMinimum = False
Points1.Chart.Axes.Top.AutomaticMinimum = False
Points1.Chart.Axes.Top.Maximum = XMax
Points1.Chart.Axes.Top.Minimum = XMin
Points1.Chart.Axes.Left.Maximum = YMax
Points1.Chart.Axes.Left.Minimum = YMin
Points1.Chart.Axes.Right.Maximum = YMax
Points1.Chart.Axes.Right.Minimum = YMin
The chart calculates an offset for each axes. The result is offset x and y scales. Is there some way to overcome this?
I want the scale to plot exactly how I specify.
I did have this working previously, but something must have changed when I upgraded the tchart.