group_5.html 2.0 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Awesome go-echarts</title>
  6. <script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
  7. <script src="https://go-echarts.github.io/go-echarts-assets/assets/themes/westeros.js"></script>
  8. </head>
  9. <body>
  10. <div class="container">
  11. <div class="item" id="jYEhyCmIPIpP" style="width:900px;height:500px;"></div>
  12. </div>
  13. <script type="text/javascript">
  14. "use strict";
  15. let goecharts_jYEhyCmIPIpP = echarts.init(document.getElementById('jYEhyCmIPIpP'), "westeros");
  16. let option_jYEhyCmIPIpP = {"legend":{"show":false},"series":[{"name":"Category A","type":"line","step":true,"connectNulls":true,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":57,"XAxisIndex":0,"YAxisIndex":0},{"value":63,"XAxisIndex":0,"YAxisIndex":0},{"value":76,"XAxisIndex":0,"YAxisIndex":0},{"value":69,"XAxisIndex":0,"YAxisIndex":0},{"value":67,"XAxisIndex":0,"YAxisIndex":0},{"value":87,"XAxisIndex":0,"YAxisIndex":0},{"value":73,"XAxisIndex":0,"YAxisIndex":0},{"value":59,"XAxisIndex":0,"YAxisIndex":0},{"value":57,"XAxisIndex":0,"YAxisIndex":0},{"value":61,"XAxisIndex":0,"YAxisIndex":0},{"value":60,"XAxisIndex":0,"YAxisIndex":0},{"value":53,"XAxisIndex":0,"YAxisIndex":0},{"value":70,"XAxisIndex":0,"YAxisIndex":0},{"value":61,"XAxisIndex":0,"YAxisIndex":0},{"value":71,"XAxisIndex":0,"YAxisIndex":0},{"value":71,"XAxisIndex":0,"YAxisIndex":0},{"value":62,"XAxisIndex":0,"YAxisIndex":0},{"value":54,"XAxisIndex":0,"YAxisIndex":0},{"value":56,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"group_id=5","subtext":"group_id=5,group size=182"},"tooltip":{"show":false},"xAxis":[{"data":["57","63","76","69","67","87","73","59","57","61","60","53","70","61","71","71","62","54","56"]}],"yAxis":[{}]};
  17. goecharts_jYEhyCmIPIpP.setOption(option_jYEhyCmIPIpP);
  18. </script>
  19. <style>
  20. .container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
  21. .item {margin: auto;}
  22. </style>
  23. </body>
  24. </html>