DisplayName

<< Click to Display Table of Contents >>

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

DisplayName

Previous page Return to chapter overview Next page

Definition

Sets the display name prefix used for all properties for a chart anchor.

 

Property Value

A string value that is used to identify the name for a corresponding anchor.  Default value is null.

 

Syntax

<ChartAnchor>.DisplayName

 

Examples

ns


protected override void OnStateChange()
{
  if (State == State.SetDefaults)
  {        
      MyAnchor = new ChartAnchor();
      MyAnchor.DisplayName = "MyChartAnchor";
  }  
}