第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

代碼
提交代碼
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <title>Echarts Example</title> </head> <body> <div id="main" style="width: 600px; height: 400px;"></div> <script src="//cdn.bootcss.com/echarts/4.5.0/echarts.js"></script> <script type="text/javascript"> const myChart = echarts.init(document.getElementById('main')); const option = { toolbox: { feature: { magicType: { type: ['line', 'bar', 'stack', 'tiled'], option: { // 類型切換時(shí),下述配置項(xiàng)將被merge到對(duì)應(yīng)類型的圖表 series 中 line: { smooth: true }, bar: { label: { show: true } }, stack: { label: { show: true, color: 'red' } }, }, seriesIndex: { line: [0], }, }, }, }, xAxis: { type: 'category', boundaryGap: false, data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'], }, yAxis: { type: 'value', axisLabel: { formatter: '{value} °C', }, }, series: [ { name: '最高氣溫', type: 'line', data: [11, 11, 15, 13, 12, 13, 10], }, { name: '最低氣溫', type: 'line', data: [1, -2, 2, 5, 3, 2, 0], }, ], }; myChart.setOption(option); </script> </body> </html>
運(yùn)行結(jié)果