IsStayInDrawMode

<< Click to Display Table of Contents >>

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

IsStayInDrawMode

Previous page Return to chapter overview Next page

Definition

Indicates Stay in Draw Mode is currently enabled on the chart.

 

Property Value

A bool value. When True, indicates that Stay in Draw Mode is enabled on the chart; otherwise False.

 

Syntax

<ChartControl>.IsStayInDrawMode

 

Examples

ns

protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
  // Print a message if Stay in Draw Mode is enabled
  if(chartControl.IsStayInDrawMode);
      Print("Stay in Draw Mode is currently enabled");
}