Profile Picture

How to select Chart-Serie by Name or ID

Posted By joern kunze 13 Years Ago
Author
Message
joern kunze
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 86, Visits: 221
Hi Experts,
Is there a way to get an existing point-series of a chart by name or ID (and check in the first place, if a series with that name does exist at all)?

I get the name / id within e.g. a mouse move event:
... ((NSeriesBase)hitTestResult.Object.ParentNode).Name;
... ((NSeriesBase)hitTestResult.Object.ParentNode).Id;

Now I want to remember just the name / id in case I have to change series properties later.
I am looking now for a way to retrieve the serie by name (or ID) something like:
if( _NevronChart.Chart[0].DoesSeriesExist(m_sNameOfSeries) {
NPointSeries series = _NevronChart.Chart[0].GetSeries(m_sNameOfSeries)....
}

Thanks for your help,
Joern









Similar Topics


Reading This Topic