Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

Created Unassigned: XYAxisSeries.EnsureAxes is not called for all series [10226]

$
0
0
XYAxisSeries.EnsureAxes is not called for all series. Therefore one gets an exception in XYAxisSeris.VerifyAxes which is called when the series is rendered. For us that happens when the user selects to view a group of plots which have already been rendered once.
The problem seems connected to the fact that PlotModel.InvalidatePlot() will do nothing if the PlotView is null.
Our workaround is to always call
((IPlotModel)PlotModel).Update(false);
before
PlotModel.InvalidatePlot(true);
but this seems unnatural.


Viewing all articles
Browse latest Browse all 2061

Trending Articles