Panel

View as Markdown

Definition

A zero-based index value that represents the ChartPanel where the ChartBars reside.

This is NOT the same as the PanelUI property displays on the Chart’s Data Series menu. A ChartBars.Panel value of 0 represents the first panel on the chart.

Property Value

An int indicating the panel of the ChartBars.

Syntax

Bars.Panel

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 Print("ChartBars reside on panel index: " + ChartBars.Panel);
4 // Output: ChartBars reside on panel index: 0
5}