-
Legend functionality has been overhauled. The many Legend prefix properties have been removed from PlotModel. See #644.
The same legend properties that previously appeared in PlotModel are supported in a new Legend class, along with additional functionality. The PlotModel.Legends collection allows the inclusion of multiple legends on one plot.
Hidden series are now shown in the legend by default, and visibility can be toggled by clicking on the legend entry. This new behaviour can be disabled by setting Legend.ShowInvisibleSeries = false. See #1763
-
The OxyPlot.Wpf.Plot class and its associated components have been moved to OxyPlot.Contrib.Wpf library. A release of this library will be made soon to go with the 2.1 release. The codebase - which allows plot models to be defined in XAML as an alternative to using a PlotModel bound to a PlotView - will no longer be supported as part of the main library, but continues to function for the time being. In future, and issues with these components should be directed to the OxyPlot-Contrib repository, where we will continue to welcome community code submissions. See #1399.
In order to make existing code work, it will be necessary to add a reference to the OxyPlot.Contrib.Wpf nuget package (once it is released), and XAML namespace references will changed to "http://oxyplot.org/wpf/contrib". This changes does not affect code using the PlotView component, which remains in OxyPlot.WPF.
-
OxyPlot.Wpf has been split into OxyPlot.Wpf and OxyPlot.Wpf.Shared. The former depends on the latter, and is essential for all functionality.
-
Various events on plot elements have been marked as obsolete. It is better to customise the PlotController to seperate that logic from the plot elements themselves, and to avoid issues with conflicting events. See #111.
These events will not be removed in the near future, and you can continue to use them for the time being where necessary.
-
ColumnSeries has been removed. You should replace any usage of ColumnSeries with BarSeries. See #1402.
-
CandleStickAndVolumeSeries is obsolete. Consider combining seperate CandleStickSeries and VolumeSeries. See #1661.
-
ErrorColumnSeries has been renamed to ErrorBarSeries for consistency. See #1402.
-
OxyPlot.PdfExporter and OxyPlot.Pdf.PdfExporter are obsolete. Consider the new OxyPlot.SkiaSharp.PdfExporter as an alternative. See #1527.
-
Exporter APIs have been simplified and made more consistent. Use PlotModel.Background to change the background color of export graphics.
-
Reporting functionality has been moved to the OxyPlot.Reporting package. The code resides in the Oxyplot-Reporting repository. See #1403.
-
Various RenderingExtensions methods have been removed. See #1661.
-
The default color palette for color axes has been changed from 'Jet' to 'Viridis'. See #1505.
-
Axis.DesiredSize is replaced with Axis.DesiredMargin. See #1562