IsYAxisDisplayedRight

View as Markdown

Definition

Indicates the y-axis is visible on the right side of the chart panel.

Property Value

A bool indicating the y-axis is visible to the right

Syntax

ChartPanel.IsYAxisDisplayedRight

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2
3{
4
5 base.OnRender(chartControl, chartScale);
6
7 // Print a message if the y-axis is visible on the right
8
9 if (ChartPanel.IsYAxisDisplayedRight)
10
11 Print("The y-axis is visible on the right");
12
13}

Based on the image below, IsYAxisDisplayedRight confirms that the y-axis is not displayed on the right. The property would be set to false when applied in either chart panel in this instance.

ChartPanel_IsYAxisDisplayedRight