You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var plotModel = new PlotModel { Title = "OxyPlot Demo" };
48
+
49
+
plotModel.Axes.Add(new LinearAxis { Position = AxisPosition.Bottom });
50
+
plotModel.Axes.Add(new LinearAxis { Position = AxisPosition.Left, Maximum = 10, Minimum = 0 });
51
+
52
+
var series1 = new LineSeries
53
+
{
54
+
MarkerType = MarkerType.Circle,
55
+
MarkerSize = 4,
56
+
MarkerStroke = OxyColors.White
57
+
};
58
+
59
+
series1.Points.Add(new DataPoint(0.0, 6.0));
60
+
series1.Points.Add(new DataPoint(1.4, 2.1));
61
+
series1.Points.Add(new DataPoint(2.0, 4.2));
62
+
series1.Points.Add(new DataPoint(3.3, 2.3));
63
+
series1.Points.Add(new DataPoint(4.7, 7.4));
64
+
series1.Points.Add(new DataPoint(6.0, 6.2));
65
+
series1.Points.Add(new DataPoint(8.9, 8.9));
66
+
67
+
plotModel.Series.Add(series1);
68
+
69
+
return plotModel;
70
+
}
21
71
22
72
References
23
73
----------
24
74
25
-
The source code can be found in the `HelloWorld\\AndroidApp1 <https://github.com/oxyplot/documentation-examples/tree/master/HelloWorld/AndroidApp1>`_ folder in the `documentation-examples <https://github.com/oxyplot/documentation-examples>`_ repository.
75
+
The source code can be found in the `HelloWorld\\AndroidApp1 <https://github.com/oxyplot/documentation-examples/tree/master/HelloWorld/AndroidApp1>`_ folder in the `documentation-examples <https://github.com/oxyplot/documentation-examples>`_ repository.
0 commit comments