gpt4 book ai didi

dygraphs - Dygraphs中的散点图?

转载 作者:行者123 更新时间:2023-12-04 20:46:24 25 4
gpt4 key购买 nike

如何使用 dygraphs 绘制散点图。数据如下。

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

This is an example of what i need.

这在 Dygraphs 中可能吗?

谢谢
迈克尔

最佳答案

您可以设置 { 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

关于dygraphs - Dygraphs中的散点图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17329875/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com