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/09/02 10:18:07 UTC

[GitHub] [incubator-echarts] mcmoe commented on issue #11145: Cluster bar chart overlapping with date xaxis

mcmoe commented on issue #11145: Cluster bar chart overlapping with date xaxis
URL: https://github.com/apache/incubator-echarts/issues/11145#issuecomment-527092779
 
 
   You should be able to reproduce this same overlap issue with the reduced config below:
   
   ```js
   option = {
      animation: false,
      dataZoom: [
         {
            "type": "slider",
            "show": true
         }
      ],
       color: ['#003366', '#e5323e'],
       legend: {
           data: ['Forest', 'Desert']
       },
       xAxis: [
           {
               type: 'time'
           }
       ],
       yAxis: [
           {
               type: 'value'
           }
       ],
       series: [
           {
               name: 'Forest',
               type: 'bar',
               barGap: 0,
               data: [["2017-05-26T00:00:00.000Z",320], ["2017-05-25T00:00:00.000Z",340], ["2017-05-24T00:00:00.000Z",310]]
           },
           {
               name: 'Desert',
               type: 'bar',
               data: [["2017-05-26T00:00:00.000Z",240], ["2017-05-25T00:00:00.000Z",320], ["2017-05-24T00:00:00.000Z",315]]
           }
       ]
   };
   ```
   
   ### Preview with comments:
   
   ![echarts-overlap](https://user-images.githubusercontent.com/3058001/64107564-1811c500-cd7b-11e9-938f-b8ad3562bf4e.png)
   

----------------------------------------------------------------
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