Bars

View as Markdown

Definition

Represents the data returned from the historical data repository in relation to the primary ChartBars object configured on the chart. See also Bars.

Property Value

A Bars object

Syntax

ChartBars.Bars

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 if(ChartBars != null && ChartBars.Bars != null)
4 {
5 Print("The configured bars period type represented on the chart is" + ChartBars.Bars.BarsPeriod.BarsPeriodType);
6 }
7}