IsYAxisDisplayedLeft

View as Markdown

Definition

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

Property Value

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

Syntax

ChartPanel.IsYAxisDisplayedLeft

Examples

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

Based on the image below, IsYAxisDisplayedLeft confirms that the y-axis displays to the left. In this image, the property would be set to true when applied to either chart panel.

ChartPanel_IsYAxisDisplayedLeft