CBCGPChartSeries* CBCGPChartSeries::SetChartType | ( | BCGPChartCategory | chartCategory, |
BCGPChartType | chartType = BCGP_CT_SIMPLE , |
||
BOOL | bAdjustLayout = FALSE , |
||
BOOL | bRedraw = FALSE |
||
) |
Sets new series category and type.
This method can be used to convert a series from one category to another and / or set its new type (stacked, ranged etc).
Currently some series (like Stock series) can't be converted to other series.
chartCategory can be one of the following enumerated values:
chartType can be one of the following values:
chartCategory | New chart category. |
chartType | New chart type. |
bAdjustLayout | Invalidates the chart layout. |
bRedraw | Redraws the chart. |