在 WPF 中我可以创建散点图吗?
In WPF I can create scatterplots?
我可以在 wpf 中创建散点图 ??我失败了,我想创建一个图像(图像是在 Exel 中创建的)
尝试使用 DevExpress 组件Sample diagram
我设法用 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);
我可以在 wpf 中创建散点图 ??我失败了,我想创建一个图像(图像是在 Exel 中创建的)
尝试使用 DevExpress 组件Sample diagram
我设法用 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);