Hide Comments
Hide Comments

TRSPathChartValues.GetValueDimMaximum(TRSChartValue,Integer) Method

Comments (0)

Returns the maximum value for the dimension. This may be modified by other values. For example, the shape value modifies the X value by adding the width value. This method is called by the  CalculateMetaData method.

alert_noteNotes to Inheritors

Override this method if you need to return a maximum value for a dimension that is depends on other factors than just the value in TRSChartValue.Values[Dimension]. For example, the TRSCandleStickChartValues class overrides this method for the Y dimension because the Y dimension is bounded by the High Dimension and Low Dimension, not the Close value.

You will probably also need to override the      SetMetaData method to set the new maximum.

Namespace: FMX.RS.Charts

expandingSyntax

Delphi

protected
  function GetValueDimMaximum(Value: TRSChartValue;
  Dimension: Integer): Double; override;
 

Parameters

Value

Type: TRSChartValue

Dimension

Type: Integer

Return Value

Type: Double

Overrides

TRSChartValues.GetValueDimMaximum(TRSChartValue,Integer)
 

expandingSee Also

Comments (0)

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