Chart Series

Fully implemented BCGControlBar Pro (MFC)

Fully implemented BCGSuite (MFC)

Not available BCGControlBar for .NET

Series formatting includes the following customizable elements, which can be applied to the whole Series or to each Data Point individually:

  • Fill color
  • Line color
  • Line width and stroke style

Several ways to create a series:

  • Automatically. A Series of current chart type is created automatically when you add data to Chart or are trying to access a series by index.
  • Explicitly with operator "new". In this way you can also control the order of series being added to the Chart control.

Stacked, Full Stacked and Range types can be specified at the runtime and do not require recreation of series and data, or applying new formatting.

Include Data Point Labels to Legend

This option can be turned on and off dynamically at the runtime and allows inclusion of individual Data Point values (with customized content) to the Legend.

Series can be shown or hidden dynamically at the runtime. Different series types can be displayed simultaneously on the same plot area.

Custom Data Point Format:

Custom Data Point Format:

Data Points in Legend

Data Points in Legend

Sample code:

CBCGPChartVisualObject chart;
CBCGPChartSeries* pSeries1 = chart.CreateSeries(_T("Series 1"));


int nDataPointIndex = 3;
pSeries1->SetSeriesLineColor(CBCGPBrush(CBCGPColor::Red), nDataPointIndex);
pSeries1->SetSeriesLineWidth(4, nDataPointIndex);
pSeries1->SetSeriesLineDashStyle(CBCGPStrokeStyle::BCGP_DASH_STYLE_DOT, nDataPointIndex);