IsYAxisDisplayedLeft

<< Click to Display Table of Contents >>

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

IsYAxisDisplayedLeft

Previous page Return to chapter overview Next page

Definition

Indicates the y-axis displays (in any chart panel) to the left side of the chart.

 

Property Value

A boolean value. When True, indicates that the y-axis displays to the left of the chart canvas; otherwise False.

 

Syntax

<ChartControl>.IsYAxisDisplayedLeft

 

Examples

ns

protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
  // Print the value of IsYAxisDisplayedLeft
  Print("Y-Axis visible to the left of the chart canvas? " + chartControl.IsYAxisDisplayedLeft);
}

 

 

Based on the image below, IsYAxisDisplayedLeft confirms that the y-axis displays to the left of the chart canvas.

 

ChartControl_isYAxisDisplayedLeft