Hide Comments
Hide Comments

Comments (0)

Specifies the maximum value for the range of the axis. The    Minimum and    Maximum properties specify the full range of the axis, regardless of whether the axis is zoomed or not. The    ZoomMinimum and    ZoomMaximum properties return the zoomed range of the axis - when the axis is not zoomed, these properties equal the minimum and maximum properties.

Use the Maximum property to set the full maximum range of the axis. Alternatively, you can include axAutomaticMaximum in the    Options property and the axis will automatically calculate the maximum value based on the chart values ( RSChartPanel.TRSChartValues class). Setting the Maximum property manually causes the axis to remove the axAutomaticMaximum member from the Options set.

Namespace: RSChartPanel



  property Maximum: TRSChartValueType read FMaximum write SetMaximum;

Property Value

Type: TRSChartValueType


The following code sets the Minimum and Maximum range before addings some points to a chart:


   i: Integer;
   // set range from 0 to 100 and 0 to 1
   RSPointChart1.HorizontalAxis.Minimum := 0;
   RSPointChart1.HorizontalAxis.Maximum := 100;
   RSPointChart1.VerticalAxis.Minimum := 0;
   RSPointChart1.VerticalAxis.Maximum := 1;
    // now add 10 points
   for i := 0 to 9 do
     RSPointChart1.Values.Add(Random(100), Random);

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb