Problem - Restoring Bottom Axis
Posted: Thu Apr 06, 2006 6:25 am
Problem: We are not able to restore the user defined values in the point graph (especially for the bottom axis).
Step 1 : We plot a point graph.
Step 2: We modify the bottom axis(minimum, maximum) to user defined value.
Step 3 : We save the axis values and plot another graph (a line graph or bar graph etc)
Step 4 : We come nack to the same(Step 1) point graph again, here we restore the bottom axis values which was saved in Step 3.
Here however it assigns the values but when the graph is plotted it takes the automatic values.
The following lines are used to restore the user defined values:
tChart2.Axes.Bottom.AutoMaximum = false;
tChart2.Axes.Bottom.Maximum = SavedValue ;
tChart2.Refresh();
Help me in solving this problem
Step 1 : We plot a point graph.
Step 2: We modify the bottom axis(minimum, maximum) to user defined value.
Step 3 : We save the axis values and plot another graph (a line graph or bar graph etc)
Step 4 : We come nack to the same(Step 1) point graph again, here we restore the bottom axis values which was saved in Step 3.
Here however it assigns the values but when the graph is plotted it takes the automatic values.
The following lines are used to restore the user defined values:
tChart2.Axes.Bottom.AutoMaximum = false;
tChart2.Axes.Bottom.Maximum = SavedValue ;
tChart2.Refresh();
Help me in solving this problem