Hi All,
After updating to new version of oxyplot, I am getting below error. Could you please help me to resolve this. Attached sample code.
__<package id="OxyPlot.Core" version="2014.1.245.1" targetFramework="net40" />
<package id="OxyPlot.Wpf" version="2014.1.245.1" targetFramework="net40" />__
Object reference not set to an instance of an object.
at OxyPlot.PlotElement.get_ActualFont() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotElement.cs:line 106
at OxyPlot.Axes.Axis.Measure(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Axes\Axis.cs:line 985
at OxyPlot.PlotModel.MaxSizeOfPositionTier(IRenderContext rc, IEnumerable1 axesOfPositionTier) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 174
at OxyPlot.PlotModel.AdjustAxesPositions(IRenderContext rc, IList1 parallelAxes) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 249
at OxyPlot.PlotModel.AdjustPlotMargins(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 212
at OxyPlot.PlotModel.Render(IRenderContext rc, Double width, Double height) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 76
at OxyPlot.Wpf.Plot.UpdateVisuals() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 1119
at OxyPlot.Wpf.Plot.ArrangeOverride(Size arrangeBounds) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 564
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
Comments: Latest version 2014.1.259.1 fixes the issue.
After updating to new version of oxyplot, I am getting below error. Could you please help me to resolve this. Attached sample code.
__<package id="OxyPlot.Core" version="2014.1.245.1" targetFramework="net40" />
<package id="OxyPlot.Wpf" version="2014.1.245.1" targetFramework="net40" />__
Object reference not set to an instance of an object.
at OxyPlot.PlotElement.get_ActualFont() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotElement.cs:line 106
at OxyPlot.Axes.Axis.Measure(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Axes\Axis.cs:line 985
at OxyPlot.PlotModel.MaxSizeOfPositionTier(IRenderContext rc, IEnumerable1 axesOfPositionTier) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 174
at OxyPlot.PlotModel.AdjustAxesPositions(IRenderContext rc, IList1 parallelAxes) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 249
at OxyPlot.PlotModel.AdjustPlotMargins(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 212
at OxyPlot.PlotModel.Render(IRenderContext rc, Double width, Double height) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 76
at OxyPlot.Wpf.Plot.UpdateVisuals() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 1119
at OxyPlot.Wpf.Plot.ArrangeOverride(Size arrangeBounds) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 564
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
Comments: Latest version 2014.1.259.1 fixes the issue.