DisplayInDataBox

View as Markdown

Definition

Determines if plot(s) display in the chart data box.

Property Value

This property returns true if the indicator plot(s) values display in the chart data box; otherwise, false. Default set to true.

This property should ONLY be set from the OnStateChange() method during State.SetDefaults or State.Configure.

Syntax

DisplayInDataBox

Examples

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 DisplayInDataBox = false;
6 AddPlot(Brushes.Orange, "SMA");
7 }
8}