These are chat archives for oxyplot/oxyplot

3rd
Apr 2015
groupgrip
@groupgrip
Apr 03 2015 10:11
I developing the chart on WP8.1 using oxyplot.windowsuniversal and oxyplot.core 2015.1.721 from nuget. I derived PlotModel, TimeSpanAxes, LinearAxis and HorizontalAndVerticalAxisRenderer. I use PlotView to binding my chart from my ViewModel. The problem is when I bind my custom model to PlotView.Model it raised an error >>>
"Error: Converter failed to convert value of type 'Core.Oxyplot.CustomPlotModel, Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' to type 'PlotModel'; BindingExpression: Path='Plot' DataItem='Core.ViewModels.LiveChartViewModel, Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'OxyPlot.WindowsUniversal.PlotView' (Name='null'); target property is 'Model' (type 'PlotModel'). "
Stefan Schweiger
@stefan-schweiger
Apr 03 2015 11:54
I was trying to find a solution for #424 and I am wondering why ActualMaximum gets set to ViewMaximum or Maximum if one of those is set? Because if you really need one of those two just use the actual value and ActualMaximum should always be the the real maximum value for this axis
Stefan Schweiger
@stefan-schweiger
Apr 03 2015 11:59
if this has a reason, I would probably just go with introducing a property called something like LockMaximum and return this.CalculateActualMaximum(); for AbsoluteMaximum if it's set to true. does anyone see a problem with this handling?
wmacoder
@wmacoder
Apr 03 2015 12:33
Any comments @MerlinDuChaos ? Any comment on developing feature?