MinValue

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Charts > Rendering >

MinValue

Previous page Return to chapter overview Next page

Definition

The minimum 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

MinValue

 

Examples

ns

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