Customizable ETS line chart

Add-ons
2026-07-26 04:31 3 次浏览 • 0 次下载 0KB
Customizable ETS line chart

Last updated: 2019-10-11 01:06:40

Usage

css

Everything is displayed on the page. The width can be adjusted to fit the screen and adapt the chart accordingly.

html

1
2
3
4
5
6
7
8
<div class="main">
<div id="layer04" class="layer" data-ydata="48, 52, 45, 46, 89, 120, 110,100,88,96,88,45,78,67,89,103,104,56,45,104">
<div id="layer04_left" class="layer04-panel">
<div id="layer04_left_label" class="layer04-panel-label">Daily Average Line Chart Trend</div>
<div id="layer04_left_chart" class="layer04-panel-chart"></div>
</div>
</div>
</div>

js

1
2
3
$(function(){
renderLayer04Left();
});

Include Files

1
2
3
<script src="jquery-3.1.0.min.js"></script>
<script src="echarts_4.1.0.rc2_echarts.min.js"></script>
<script src="monitor.js"></script>

Finally: The code is thoroughly commented, and all settings can be adjusted in monitor.js. If you need to add other properties, please refer to the official ECharts documentation:

星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare