<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"> $(function () {


    // è¿™ä¸‹é¢æ˜¯å›¾è¡¨çš„ï¼Œç™¾åº¦è‡ªå¸¦çš„
    var dom = document.getElementById("container");
    var myChart = echarts.init(dom);
    var app = {};
    option = null;
    option = {
        title: {
            text: 'æœ€è¿‘15å¤©ä»·æ&nbsp;¼èµ°åŠ¿å›¾'
        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['å¹³å‡ä»·æ&nbsp;¼']
        },
        grid: {
            left: '3%',
            right: '4%',
            bottom: '3%',
            containLabel: true
        },
        toolbox: {
            feature: {
                saveAsImage: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: false,
            data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            name: 'å¹³å‡ä»·æ&nbsp;¼',
            type: 'line',
            stack: 'å¹³å‡ä»·æ&nbsp;¼',
            // ä¿®æ”¹çº¿æ¡é¢œè‰²å’Œåœ†ç‚¹çš„é¢œè‰²
            itemStyle: {
                normal: {
                    color:'blue', 
                    lineStyle: {
                        color: 'blue'
                    }
                }
            },
            data: data //è¿™ä¸ªæ˜¯æ•°æ®
        }]
    };;
    if (option &amp;&amp; typeof option === "object") {
        myChart.setOption(option, true);
    }

      })</pre></body></html>