Hide Comments
Hide Comments

Comments (0)

Returns the maximum value for every dimension of the TRSChartValues in the chart. Use the    DimensionCount property to determine the number of dimensions in the chart value collection. This property is part of the metadata that the collection tracks about the chart values.

A chart value, depending on the chart type, can contain 1 or more dimensional values that define the chart value. For example, each chart value in a bar chart contains 1 value (defining the height of the bar), line chart values contains 2 dimensions: X and Y, and shape chart values contain 4 dimensions: X, Y, Width, and Height. See the Values and ValueCount properties of the TRSChartValue item for more information.
 
 

Namespace: RSChartPanel

expandingSyntax

Delphi

public
  property MaxValues[Index: Integer]: TRSChartValueType read GetMaxValue;
 

Parameters

Index

Type: Integer

Property Value

Type: TRSChartValueType

expandingExamples

The following example displays the metadata for a chart in a memo:

Delphi

var
   i: Integer;
 begin
   for i := 0 to Chart1.Values.DimensionCount - 1 do
   begin
     Memo1.Lines.Add('Dimension '+IntToStr(i));
     Memo1.Lines.Add('     Sum of the absolute values: '+FloatToStr(Chart1.Values.AbsSums[i]));
     Memo1.Lines.Add('     Sum of the values: '+FloatToStr(Chart1.Values.Sums[i]));
     Memo1.Lines.Add('     Minimum value: '+FloatToStr(Chart1.Values.MinValues[i]));
     Memo1.Lines.Add('     Maximum value: '+FloatToStr(Chart1.Values.MaxValues[i]));
   end;
 end;

expandingSee Also

Comments (0)

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