12345678910111213141516171819202122232425262728 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Awesome go-echarts</title>
- <script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
- <script src="https://go-echarts.github.io/go-echarts-assets/assets/themes/westeros.js"></script>
- </head>
- <body>
- <div class="container">
- <div class="item" id="vOAtWETmnOiF" style="width:900px;height:500px;"></div>
- </div>
- <script type="text/javascript">
- "use strict";
- let goecharts_vOAtWETmnOiF = echarts.init(document.getElementById('vOAtWETmnOiF'), "westeros");
- let option_vOAtWETmnOiF = {"legend":{"show":false},"series":[{"name":"Category A","type":"line","step":true,"connectNulls":true,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":90,"XAxisIndex":0,"YAxisIndex":0},{"value":22,"XAxisIndex":0,"YAxisIndex":0},{"value":8,"XAxisIndex":0,"YAxisIndex":0},{"value":2,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":0,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"Category B","type":"line","step":true,"connectNulls":true,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":383,"XAxisIndex":0,"YAxisIndex":0},{"value":90,"XAxisIndex":0,"YAxisIndex":0},{"value":22,"XAxisIndex":0,"YAxisIndex":0},{"value":8,"XAxisIndex":0,"YAxisIndex":0},{"value":2,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0},{"value":1,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"group_id=36","subtext":"k_val=16;delay_limitation=5;Group_Active_Threshold=30"},"tooltip":{"show":false},"xAxis":[{"data":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]}],"yAxis":[{}]};
- goecharts_vOAtWETmnOiF.setOption(option_vOAtWETmnOiF);
- </script>
- <style>
- .container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
- .item {margin: auto;}
- </style>
- </body>
- </html>
|