IsTransparent

View as Markdown

Definition

Indicates the bars in the ChartStyle are transparent.

Property Value

A bool which, when true, indicates that the UpBrush, DownBrush, and Stroke.Brush are all set to transparent. Returns false if any of the three are not transparent.

Syntax

IsTransparent

Examples

1protected override void OnStateChange()
2{
3 if (State == State.Configure)
4 {
5 //Print a message if the UpBrush, DownBrush, and Stroke.Brush are all transparent
6 if (IsTransparent)
7 Print("All bars are currently set to transparent");
8 }
9}