This example details how to change the names for series created automatically, based on the specified series template.
To accomplish this, handle the ChartControl.CustomDrawSeries (or, WebChartControl.CustomDrawSeries) event in the following way.
Question Comments
Added By: GHM Jansen at: 7/18/2014 12:52:44 AM
Hello,
I dont't think this example does what the header says. Is this example incomplete or am I missing something?
What I'm looking for is a way to change the name of the autocreated series and to display this name in the pointlabel. The customize-series is working well but not the autocreated series. It keeps displaying the auto-created name.
Thanks in advance,
Geert.
Added By: John (DevExpress Support) at: 7/18/2014 1:56:10 AMThe cause of this behavior is that the ChartControl.CustomDrawSeries event does not change series names in point labels and Crosshair popup. To achieve this goal, handle the ChartControl.CustomDrawSeriesPoint and ChartControl.CustomDrawCrosshair events to provide your custom text for these elements.