<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                >#### 折線結合餅圖 ~~~ option = { color: ['#00c6c4', '#ff9c00', '#1b85FF', '#ff1b1b', '#7a32ff'], backgroundColor: "#0f375f", title: [{ text: '折線結合餅圖', left: 'center', top: '10', textStyle: { fontSize: 16, fontWeight: 'bolder', color: '#fff', padding: [10, 0] } }], toolbox: { feature: { saveAsImage: {} } }, tooltip: { //提示框組件 backgroundColor: 'rgba(73, 84, 123, .9)', borderColor: 'rgba(73, 84, 123, .9)', padding: 10, textStyle: { color: '#fff', }, formatter: function (params, ticket, callback) { if (!Array.isArray(params)) { // 非數組,是一個對象 // 單個圖表為餅圖數據 const { data, name, marker, percent, dimensionNames } = params; let index = params.encode.value[0]; return name + '<br />' + marker + ' ' + dimensionNames[index] + ':' + data[index] + `(${percent}%)`; } let showHtm = ``; for (let i = 0; i < params.length; i++) { const { data, marker, seriesName } = params[i]; let value = data[params[i].encode.y[0]]; showHtm += marker + ' ' + seriesName + ':' + value + '<br>'; } showHtm = params[0].axisValue + '<br>' + showHtm; return showHtm; }, }, legend: { //圖例組件 x: 'center', bottom: '10', right: '200', itemGap: 20, itemWidth: 8, itemHeight: 8, icon: 'circle', textStyle: { color: '#fff', //字體顏色 }, tooltip: { show: true, } }, grid: [{ left: '40', top: '50', bottom: '10', height: 210, width: '90%', containLabel: true, tooltip: { trigger: 'axis', }, }, { top: '300', bottom: '10', height: 210, width: '90%', containLabel: true, tooltip: { trigger: 'item', formatter: 'hello', }, }, ], xAxis: { //X軸 type: 'category', boundaryGap: false, axisLabel: { //坐標軸刻度標簽 textStyle: { color: '#ABB0CC', }, }, axisLine: { //x軸 show: true, lineStyle: { color: 'rgba(230, 230, 230, 0.18)', }, }, axisTick: { //x軸刻度線 show: false, }, }, yAxis: { type: 'value', axisLabel: { textStyle: { color: '#ABB0CC', }, formatter: '{value}', }, nameTextStyle: { color: '#93A6BB', }, splitLine: { //網格線 show: true, lineStyle: { type: 'dashed', color: 'rgba(230, 230, 230, 0.18)', }, }, axisLine: { //y軸 show: false, lineStyle: { color: '#ABB0CC', }, }, axisTick: { //y軸刻度線 show: false, }, }, dataset: { sourceHeader: true, source: [ [ 'metrics', '00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', ], ['交調數據', 56, 123, 34, 68, 130, 45, 67, 190, 31, 80, 211, 234, 78], ['Link數據', 156, 223, 134, 38, 30, 34, 68, 130, 45, 67, 190, 256, 300], ['交通數據流', 96, 63, 134, 168, 400, 230, 223, 134, 38, 30, 34, 68, 341], ['氣象', 456, 223, 234, 268, 30, 63, 134, 168, 400, 230, 223, 134, 38], ], }, series: [{ name: '交調數據', type: 'line', smooth: true, seriesLayoutBy: 'row', }, { name: 'Link數據', type: 'line', smooth: true, seriesLayoutBy: 'row', }, { name: '交通數據流', type: 'line', smooth: true, seriesLayoutBy: 'row', }, { name: '氣象', type: 'line', smooth: true, seriesLayoutBy: 'row', }, { type: 'pie', id: 'pie-chart', radius: ['20%', '40%'], center: ['50%', '70%'], label: { show: true, formatter: '{b}\n {@00:00} ({d})', }, labelLine: { show: true, }, encode: { itemName: 'metrics', value: '00:00', }, }, ], }; myChart.on('updateAxisPointer', function (event) { var xAxisInfo = event.axesInfo[0]; if (xAxisInfo) { var dimension = xAxisInfo.value + 1; myChart.setOption({ series: { id: 'pie-chart', encode: { value: dimension, tooltip: dimension, }, label: { formatter: '{b}: {@[' + dimension + ']} ({d}%)', }, }, }); } }); ~~~ >#### 效果圖 ![](https://img.kancloud.cn/5f/42/5f425085f0abb22cae6803c2eaa1e327_800x600.png) <hr>
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看