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 2021/08/10 19:09:12 UTC

[GitHub] [echarts] helgasoft commented on issue #15189: Bar series overflow xAxis when using xAxis.scale = true with several series

helgasoft commented on issue #15189:
URL: https://github.com/apache/echarts/issues/15189#issuecomment-896244515


   @100pah - no, boundaryGap does not help. 
   Looks like bug is related to *number of bars*.  **Four or less bars** with ```scale:true``` will overflow Xaxis.  More than four will display correctly.
   ```js
   option = {
     "xAxis": {"scale": true},
     "yAxis": {},
     "series": [ { "type": "bar" } ],
     "dataset": [{
         "source": [
           ["x", "y"],
           [  25000, 4  ],
           [  35000, 14 ],
           [  45000, 10 ],
           [  55000, 4  ],
   //        [  66000, 1  ]   // un-comment to see difference
         ]
       }]
   }
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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