Where is IDataPoint in the latest version of Oxyplot?

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

AvanDiepen wrote at 2014-05-07 11:53:

Where is IDataPoint in the latest version of Oxyplot?
When I install the latest version of Oxyplot (OxyPlot-2014.1.297.1) I'm seeing the error:
Error 4 The type or namespace name 'IDataPoint' could not be found...
How can I solve this error?

Code:
private List<IDataPoint> listScheefstand { get; set; }

FishySwede wrote at 2014-05-08 08:48:

I had a similar issue. I believe the IDataPoint interface was removed to address performance issues. Switching to the DataPoint class should solve the issue.

Try:
private List<DataPoint> listScheefstand { get; set; }
instead.

If you're using a ScatterSeries you should probably use ScatterPoint instead.


Note that I'm just a user of OxyPlot, not a contributor. Perhaps a contributor can verify or correct this.

AvanDiepen wrote at 2014-05-08 08:52:

Thanks a lot FishySwede. That solved the problem, now I can use the latest version of Oxyplot.dll

objo wrote at 2014-05-08 08:56:

@FishySwede: your answer is correct! Thanks for contributing in the discussions forum!

FishySwede wrote at 2014-05-08 10:20:

Glad I could help :)