IsVisible

View as Markdown

Definition

Indicates if the chart scale is viewable on the UI. If the bar series, indicator, or strategy which uses the chart scale is not in view, the chart scale IsVisible property will return false.

Property Value

A bool value, which when true the series used to build the scale is viewable; otherwise false. This property is read-only.

Syntax

\<chartscale\>.IsVisible

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 // do not process render info chart scale is not visible
4 if(!chartScale.IsVisible)
5 return;
6}