简体   繁体   English

里程表车速表jquery插件

[英]Odometer Speedometer jquery plugin

Is there any plugin who give's the chart type = ODOMETER?有没有提供图表类型= ODOMETER的插件?

incrideble how is so hard to find this, even highchart's that i'm using ( very good chart library ) dont have a odometer, dont know why.难以置信怎么很难找到这个,即使是我正在使用的highchart(非常好的图表库)也没有里程表,不知道为什么。

i found some "speedometer", Demo but wont help-me.我找到了一些“速度计”,演示但不会帮助我。

anyone know any plugin or something like who work with odometer's?有人知道使用里程表的任何插件或类似的东西吗?

Thanks.谢谢。

Google Charts 谷歌图表

Super easy to use and well documented.超级易于使用且有据可查。


 google.charts.load('current', {'packages':['gauge']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Label', 'Value'], ['Memory', 80], ['CPU', 55], ['Network', 68] ]); var options = { width: 400, height: 120, redFrom: 90, redTo: 100, yellowFrom:75, yellowTo: 90, minorTicks: 5 }; var chart = new google.visualization.Gauge(document.getElementById('chart_div')); chart.draw(data, options); setInterval(function() { data.setValue(0, 1, 40 + Math.round(60 * Math.random())); chart.draw(data, options); }, 13000); setInterval(function() { data.setValue(1, 1, 40 + Math.round(60 * Math.random())); chart.draw(data, options); }, 5000); setInterval(function() { data.setValue(2, 1, 60 + Math.round(20 * Math.random())); chart.draw(data, options); }, 26000); }
 <script src="https://www.gstatic.com/charts/loader.js"></script> <div id="chart_div" style="width: 400px; height: 120px;"></div>

Let this question up-to-date.让这个问题保持最新。 New features from highcharts , i was looking for this, and now they have available: highcharts的新功能,我一直在寻找这个,现在它们可用:

Highcharts gauge-speedometer Highcharts仪表-车速表

jquery speedometer plugin is available. jquery 速度计插件可用。

https://github.com/rmanivannan/speedometer-jquery-plugin https://github.com/rmanivannan/speedometer-jquery-plugin

may be this could help可能这会有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM