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

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