对数轴示例

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            option = {
    title: {
        text: '对数轴示例',
        left: 'center'
    },
    tooltip: {
        trigger: 'axis',
    },
    legend: {
        left: 'left',
        data: ['2的指数', '3的指数']
    },
    xAxis: {
        type: 'category',
        name: 'x',
        splitLine: {
            show: false
        },
        data: ['一', '二', '三', '四', '五', '六', '七', '八', '九']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    yAxis: {
        type: 'log',
        name: 'y',
        logBase: 10
    },
    series: [{
            name: '3的指数',
            type: 'bar',
            stack: 'a',
            data: [1, 3, 9, 27, 81, 247, 741, 2223, 6669]
        },
        {
            name: '2的指数',
            type: 'bar',
            stack: 'a',
            data: [1, 2, 4, 8, 16, 32, 64, 128, 256]
        },

    ]
};