Problems after update (v231 -> v300)

May 12, 2014 at 12:15 PM
Edited May 12, 2014 at 12:28 PM
Hello All,

I originally loaded OxyPlot version 231 for my project.
After experiencing difficulties with the context menu, I saw that a number of fixes should remedy my problems - so I installed version 300.
This broke PlotModel.refresh(), but I saw I should replace this with PlotModel.Invalidate().

1) Now the code which tracked mouse movement (from the example) no longer works. If I'm reading my error messages correctly, the event argument attribute "ChangedButton" does not exist any more. Where can I find the changed code (or the changed code example)?
    PlotModel.MouseMove  += (s, e) =>
            if (e.ChangedButton == OxyMouseButton.Left && !double.IsNaN(startx))

2) The earlier sample used references to OxyPlot, OxyPlot.wpf and OxyPlot.xps. The binaries I downloaded included Oxyplot.dll and OxyPlot.wpf.dll but NOT OxyPlot.xps.dll Does OxyPlot.xps (and the dll) still exist or do I need to rebuild or something?

Thanks a lot
May 12, 2014 at 6:58 PM
The first question I can't answer but the answer on the second is:
You can use OxyPlot.xps.dll from version, I think that nothing changed in this dll, success.
May 12, 2014 at 7:45 PM
1) Yes, the API has been changed - you need to use the MouseDown event to get the button that is clicked.
2) Thanks for the notice. I have included OxyPlot.Xps in the "slimmed down" Release download again. It should be available from next build. But I recommend using the NuGet downloads:
Marked as answer by WannaInfo on 5/23/2014 at 3:52 AM
May 23, 2014 at 11:52 AM
Sorry it took so long to reply. Thanks - using nuget repaired lots of things. And the modifications due to API changes were minor.
When These modifications happen, are they listed somewhere? I havn't found a list, but then maybe I'm looking in the wrong places.

And not to forget - this is a very nice graph package. The plots look really good!
Are any 3D Graphs planned in the future - for instance surface diagrams?
May 23, 2014 at 11:49 PM
The changes are listed at
I have been thinking about including the revision history (hg log) in the packages.

Sorry, support for 3D graphs is not planned. This is strictly a 2D library.