【问题标题】:Scatter type graph in Dygraphs?Dygraphs中的散点图?
【发布时间】:2013-06-26 20:30:33
【问题描述】:

如何使用 dygraphs 绘制散点图。数据将在以下行。

X 轴可能有 5-20 个值(类别) Y 值可能是 x 轴上每个值 1-10 个值

This is an example of what i need.

这在 Dygraphs 中可行吗?

谢谢 迈克尔

【问题讨论】:

    标签: dygraphs


    【解决方案1】:

    您可以在选项中设置{ strokeWidth: 0.0 } 来模拟散点图(参见http://dygraphs.com/options.html#strokeWidth)。您还需要积分:{ drawPoints: true}

    这些演示可能具有指导意义:

    http://dygraphs.com/tests/linear-regression.html

    http://dygraphs.com/tests/linear-regression-addseries.html

    【讨论】:

      猜你喜欢
      • 2019-02-08
      • 1970-01-01
      • 2021-12-17
      • 2016-04-07
      • 2019-10-24
      • 2013-02-12
      • 2013-12-17
      • 1970-01-01
      • 2022-06-30
      相关资源
      最近更新 更多