AutoScaleDisplayLimits Method Example

The following example changes the display limits for all pens in the Chart, Chart1 based on the range of the data currently in the pens' data array

Chart1.AutoScaleDisplayLimits