f-loris commented on issue #9899: Space between bars.
URL: 
https://github.com/apache/incubator-echarts/issues/9899#issuecomment-545316507
 
 
   I think there are some pretty common scenarios which exactly require this 
feature. 
   Here some examples when thinking about displaying car sales in a bar chart: 
   - Displaying the number of sold cars per manufacturer and year. There will 
be manufacturers which don't have car sales in every year since they didn't 
exist at that time or already went bankrupt. So you don't want that the space 
is preserved for them since there are some fluctuations over the years and 
otherwise the chart would look really scattered and not very readable.
   
   - Displaying the number of sold cars per manufacturer and model. Obviously, 
each manufacturer has a different number of models and each model is unique per 
manufacturer.
   
   Please note, these are just hypothetical scenarios and the amount of data 
displayed in a single chart might be too big, but you can easily adjust it by 
only displaying the top 10 per series. I'm also aware, that in some cases 
stacked bars might be a valid workaround, but often they are not serving the 
purpose. These examples should just show that it is pretty common to have 
varying categories over multiple series. 
   
   In general, I think it is a highly beneficial feature to have the option to 
configure to don't preserve space for bars which don't have any data.

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


With regards,
Apache Git Services

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

Reply via email to