Group: Forum Members
Last Active: 11 Years Ago
Posts: 43,
Visits: 1
|
Hello. I need to add a value to NLineSeries at specified index. I use line.XValues.Insert(int index, object value) and line.Values.Insert(int index, object value). But I have a problem with indexed collections related with series (MarkerStyles, Tags etc). They didn't shift corresponding values index change. The same problem with removing at specified index. Is it possible to syncronize indexed collections with data points? I.e. I want to bind (for example) the concrete marker style to concrete data point not depending on data point index in series. At this moment I see only one decision: shift values of each indexed collection in cycle (line.MarkerStyles[i] = line.MarkerStyles[i + 1]; ). But it is not optimally. Could you give me some advice?
|