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

1public override void OnCalculateMinMax()
2{
3 if (DrawingState != DrawingState.Building)
4 {
5 //set the maximum value to the chart anchors price
6 MaxValue = Anchor.Price;
7 }
8}