// 路径配置  其他城市
        require.config({
            paths: {
                echarts: 'http://echarts.baidu.com/build/dist'
            }
        });
        
        // 使用
        require(['echarts', 'echarts/chart/line','echarts/chart/map', ],
            function (ec) {
                // 基于准备好的dom,初始化echarts图表
                var myChart = ec.init(document.getElementById('main')); 
                
     option = {
        grid: {
          y:60,
          y2:100
        },
        tooltip: {
            trigger: 'axis'
        },
        calculable: true,
        xAxis: [{
            type: 'category',
            boundaryGap: false,
            data: ["2019-07","2019-08","2019-09","2019-10","2019-11","2019-12","2010-01","2010-02","2010-03","2010-04","2010-05","2010-06","2010-07","2010-08"],
        }],
        yAxis: [{
            type: 'value',
            axisLabel: {
                formatter: '{value}'
            },
            max:15000+5000//设置最大值
        }],
        series: [{
            name: '房价(单位:元/㎡)',
            type: 'line',
            data: [13863,14260,14650,14869,15035,15260,15862,14905,14035,13895,14314,13260,13320,13428],
            markPoint: {
                data: [{
                    type: 'max',
                    name: '最高价格'
                },
                {
                    type: 'min',
                    name: '最低价格'
                }]
            },
        }]
    };
    // 为echarts对象加载数据
    myChart.setOption(option);
});    
document.getElementById('tj').innerHTML = '{$CATEGORYS[$catid][catname]}新房均价:13428元/㎡环比上月:↑0.14%';