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 2019/10/14 12:28:49 UTC

[GitHub] [incubator-echarts] Ovilia opened a new issue #11396: Bar chart data not rendered when the first data is object

Ovilia opened a new issue #11396: Bar chart data not rendered when the first data is object
URL: https://github.com/apache/incubator-echarts/issues/11396
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   ```js
   // var firstData = 0; // OK
   // var firstData = '-'; // OK
   // var firstData = 100; // OK
   var firstData = [20, "2019-08-01"]; // not OK
   
   option = {
       "yAxis": [{
           "type": "value",
           // "show": false
       }],
       "xAxis": [{
           "type": "category",
           "data": ['1', '2', '3']
       }],
       "series": [{
           "type": "bar",
           "data": [firstData, [50, "2019-08-02"], [150, "2019-08-03"]],
           "encode": {
               "y": 0
           }
       }]
   }
   ```
   
   ### What is expected?
   Chart data be rendered with `var firstData = [20, "2019-08-01"];`
   
   ### What is actually happening?
   No data, but the axis range is calculated.
   
   <!-- 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


With regards,
Apache Git Services

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