You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/08/18 19:50:51 UTC

[GitHub] [incubator-echarts] namannehra opened a new issue #13146: Item missing in scatter chart

namannehra opened a new issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146


   ### Version
   4.8.0
   
   ### Reproduction link
   [https://jsfiddle.net/f0ampunx/](https://jsfiddle.net/f0ampunx/)
   
   ### Steps to reproduce
   Look at the chart. 2 items should be rendering. 1 red and 1 blue. Red item is not rendering.
   
   ### What is expected?
   2 items render. 1 red and 1 blue.
   
   ### What is actually happening?
   Red item is not rendering.
   
   ---
   Removing `type: 'log'` fixes the issue. Removing `max: 'dataMax'` also fixes the issue.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] susiwen8 closed issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
susiwen8 closed issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] namannehra commented on issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
namannehra commented on issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146#issuecomment-676402935


   Not working with 5.0.0-alpha.2
   
   https://jsfiddle.net/tno245vd/7/
   https://jsfiddle.net/cLvx6p19/3/


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] susiwen8 commented on issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146#issuecomment-676393080


   Fix in 5.0, please try it


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] namannehra commented on issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
namannehra commented on issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146#issuecomment-676236303


   https://jsfiddle.net/dcugq34e/
   This also doesn't render properly and is fixed by removing `"type": "log"`


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] namannehra commented on issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
namannehra commented on issue #13146:
URL: https://github.com/apache/incubator-echarts/issues/13146#issuecomment-676474220


   Ok. I'll open another issue the other example


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] susiwen8 commented on issue #13146: Item missing in scatter chart

Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org



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