Price

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Drawing Tools > ChartAnchor >

Price

Previous page Return to chapter overview Next page

Definition

Determines price value the chart anchor is drawn.

 

Property Value

An double value representing a price value

 

Syntax

<ChartAnchor>.Price

 

Examples

ns

public override void OnMouseDown(ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale, Point point)
{
  Print(MyAnchor.Price); // prints the Y axis data point of the chart anchor
  // 1999.25
}