Count

View as Markdown

Definition

The total number of ChartBars in the charts primary data series.

Property Value

An int value representing the total number of bars.

Syntax

ChartBars.Count

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 if(ChartBars != null)
4 {
5 Print("ChartBars contain " + ChartBars.Count + " bars");
6 //Output: ChartBars contain 73 bars
7 }
8}