MaxValue

View as Markdown

Definition

The maximum value used for the automatic scaling of the y axis. This property will only be used when the chart object is set to [isautoscale].

Property Value

A double value.

Syntax

MaxValue

Examples

public override void OnCalculateMinMax()
{
if (DrawingState != DrawingState.Building)
{
//set the maximum value to the chart anchors price
MaxValue = Anchor.Price;
}
}