[英]How to create a floating graph with time on y axis?
I need to create one graph with its x-axis should be 我需要创建一个图,其x轴应为
0,1,2..10 0,1,2..10
y-axis should be out current time + next 10 times with an interval of five minites. y轴应该是当前时间+接下来的10次,间隔为5分钟。 like this 像这样
array = [1.45, 1.50, 1.55, 2.00, 2.05, 2.10, 2.15, 2.20, 2.25, 2.30]; 数组= [1.45、1.50、1.55、2.00、2.05、2.10、2.15、2.20、2.25、2.30];
Any body can help me with some sample codes. 任何机构都可以通过一些示例代码帮助我。
Thanks 谢谢
如果您想使用简单的JavaScript图形解决方案,请查看Highcharts
You should also have a look at Google Charts . 您还应该看看Google图表 。 Look at the line graph examples . 查看折线图示例 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.