答案 0 :(得分:0)
尝试使用DevExpress Components Sample diagram
答案 1 :(得分:0)
我设法找到了使用oxyplot的解决方案,我这样做了。
var grafica = new PlotModel { LegendPosition = LegendPosition.TopRight };
var functionSeries1 = new FunctionSeries { Title = "Clase de Exactitud" };
functionSeries1.Points.Add(new DataPoint(0, 1.2));
functionSeries1.Points.Add(new DataPoint(3, 1.2));
functionSeries1.Points.Add(new DataPoint(8, 1.2));
functionSeries1.Points.Add(new DataPoint(12, 1.2));
functionSeries1.Points.Add(new DataPoint(20, 1.2));
functionSeries1.Points.Add(new DataPoint(29.99, 1.2));
grafica.Series.Add(functionSeries1);