IsYAxisDisplayedRight

View as Markdown

Definition

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

Property Value

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

Syntax

\<chartcontrol\>.IsYAxisDisplayedRight

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 // Print the value of IsYAxisDisplayedRight
4 Print("Y-Axis visible to the right of the chart canvas? " + chartControl.IsYAxisDisplayedRight);
5}

Based on the image below, IsYAxisDisplayedRight confirms that the y-axis is not displayed to the right of the chart canvas.

ChartControl_IsYAxisDisplayedRight