Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSChartPanel > Classes > TRSChartValues > Methods

TRSChartValues.GetValueDimMaximum(TRSChartValue,Integer) Method

Scroll Prev Top Next More

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: RSChartPanel



Type: TRSChartValue


Type: Integer

Return Value

Type: TRSChartValueType

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb