Thanks for Oxyplot!
I had this bug (OxyPlot paint Exception : XAxis not defined ) in my code. If I scale the plot with mouse it goes away but I can always see it when something is newly plotted. I did add axes to my Model.
Here's the code
I had this bug (OxyPlot paint Exception : XAxis not defined ) in my code. If I scale the plot with mouse it goes away but I can always see it when something is newly plotted. I did add axes to my Model.
Here's the code
newPlot.DrawGraph(graphMain);// this calls DrawGraph function
public void DrawGraph(OxyPlot.WindowsForms.PlotView iptGraph)
{
var tmp=new OxyPlot.Series.LineSeries();
tmp.StrokeThickness= 0.4;
for (int i = 0; i < _resampledPoints.Count(); i++)
{
tmp.Points.Add(_resampledPoints[i]);
}
iptGraph.Model.Series.Add(tmp);
}
Thanks a lot!