susiwen8 commented on issue #13146:
URL: 
https://github.com/apache/incubator-echarts/issues/13146#issuecomment-676417400


   ```js
   
   
    // 基于准备好的dom,初始化echarts实例
   
   
    // 基于准备好的dom,初始化echarts实例
    var myChart = echarts.init(document.getElementById('main'));
   
    var option = {
        xAxis: {
            type: 'time',
            min: 1588270000000,
            max: 1588300000000,
        },
        yAxis: {
            type: 'log',
            logBase: 2,
            min: 'dataMin',
            max: 'dataMax',
        },
        series: [
            {
                type: 'scatter',
                name: 'Error',
                itemStyle: {
                    color: 'red',
                },
                data: [
                    [1588286609000, 55.939322435],
                ],
            },
            {
                type: 'scatter',
                name: 'Throughput',
                itemStyle: {
                    color: 'blue',
                },
                data: [
                    [1588286609000, 54],
                ],
            },
        ],
    };
    
    myChart.setOption(option);
    
            // 使用刚指定的配置项和数据显示图表。
          //  myChart.setOption(option);
   ```
   
   I was using this option


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to