BOOL CBCGPChartLegendVisualObject::RemoveLegendEntry | ( | CBCGPChartSeries * | pSeries, |
int | nDataPointIndex = -1 |
||
) |
Removes an entry from legend
Call this method to remove an entry from legend. You can call this method from the OnLegendContentCreatedhandler(). If this method is called from other place, you need to call InvalidateLegendSize().
pSeries | a pointer to related series |
nDataPointIndex | specifies data point index |