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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to