使用 JavaScript 或 Coldfusion 基于 4 或 5 个坐标点绘制和填充区域
感谢您查看我的问题。我正在尝试创建一个图表来显示适合容器的宽度/高度范围。图表将始终以下面显示的两种方式之一形成:
https://i.sstatic.net/ jIrO3.jpg
或
https://i.sstatic.net/XGyU0.jpg
我知道 x/y 坐标物体的红色角。总会有 4 或 5 分。我还需要填充点之间的区域。我无法使用 Coldfusion 的 CFCHART 完成这项工作,并且还没有找到使用 JavaScript 的方法。有谁知道如何做到这一点?预先感谢您的帮助!
Thanks for taking a look at my question. I'm trying to create a graph that will show the range of widths/heights that will fit within a container. The graphs will always be shaped in one of the two ways show below:
https://i.sstatic.net/jIrO3.jpg
or
https://i.sstatic.net/XGyU0.jpg
I know the x/y coordinates of the red corners of the object. There will always be either 4 or 5 points. I need to fill the area between the points as well. I was not able to make this work with Coldfusion's CFCHART, and haven't found a way with JavaScript. Does anyone know how this can be done? Thanks in advance for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会推荐它与Raphael。该库允许使用矢量图形在网页上绘制各种形状。
I would recommend to it with Raphael. This library allows drawing of various shapes on the web pages using vector graphic.
您尝试过 Google Charts API 吗?
Have you tried the Google Charts API?