ChartPanels

View as Markdown

Definition

Holds a collection of ChartPanel objects containing information about the panels active on the chart.

Property Value

An ObservableCollection of ChartPanel objects

Syntax

\<chartcontrol\>.ChartPanels

Examples

Based on the image below, there are three ChartPanel objects in the ChartPanels collection, as seen by ChartPanels.Count in the code above.

ChartControl_ChartPanels

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 // Print the number of panels currently displayed on the chart
4 Print(String.Format("There are {0} panels on the chart", chartControl.ChartPanels.Count));
5}