BOOL CBCGPChartDataPoint::m_bIncludeLabelToLegend |
Specifies whether to include data point label to the legend.
This property is TRUE by default, but CBCGPChartSeries::m_bIncludeDataPointLabelsToLegend controls whether data point labels should appear in the legend, or not. When you turn it to TRUE, all data points are automatically displayed in the legend.
If you wish to show individual data points in the legend, loop over existing data points and set m_bIncludeLabelToLegend to FALSE for those data points that should be excluded.