【问题标题】:In WPF I can create scatterplots? [closed]在 WPF 中我可以创建散点图吗? [关闭]
【发布时间】:2016-06-08 22:55:24
【问题描述】:

我可以在 wpf 中创建散点图 ??我失败了,我想创建一个图像(图像是在 Exel 中创建的)

【问题讨论】:

标签: c# .net wpf charts scatter-plot


【解决方案1】:

尝试使用 DevExpress 组件Sample diagram

【讨论】:

  • 您好,我收到了但没有散点图。
【解决方案2】:

我设法用 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);

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-08-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-28
    • 2014-09-10
    • 2013-01-01
    • 1970-01-01
    相关资源
    最近更新 更多