RefreshPlot Removed

Oystein Bjorke vor 6 Jahren 0
This discussion was imported from CodePlex

kevkon3 wrote at 2014-04-28 22:36:

After upgrading to the latest oxyplot, we noticed that RefreshPlot() was no longer available, causing our code to not compile. We found it tough to figure out how to fix the problem, but I finally tracked down the commit ( where the changed occurred and noticed that we should now use InvalidPlot() instead.

Did we miss something in the changelog or documentation that points this out?

Either way, it would have been nice to mark the function as Obsolete and point us to the InvalidatePlot() method.

I am mainly posting this so that users who google the problem might get pointed to this discussion.

objo wrote at 2014-04-29 09:06:

Yes, I agree we should have marked this as obsolete and waited a few weeks or months before removing it. We should try to do this for future breaking changes. It is also important to describe breaking changes in the changelog. Note that I want this library to continue to evolve and expect there will be more major refactorizations and breaking code changes.