You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really like an option to hide nil bars. Perhaps this is an unconventional use case, but I am trying to show intensity of a variable over time on a bar chart.
I could also achieve this if it were possible to style individual bars and fully customize the legend, however it doesn't appear to be possible to assign colors to bars within a single dataset either.
This results in wonky spacing because it draws the nil datapoints for each set. But I only want to draw one set per label.
Additionally there is no way to assign a color to each bar without assigning separate datasets.
Would it be possible to add support for hiding empty bars and their spacing?
Apologies if I'm missing something. I thought for sure it could be done with the library in it's current state since it is very capable, but I've spent a good amount of time tinkering with this and can't figure it out with existing methods.
Thank you for the response @Watson1978. Is there any interest in this feature? I could potentially make a PR.
It seems like an option g.collapse_empty_columns defaulting to false would be potentially useful, although I could see a separate class being warranted if you expect that to be a major deviation from current behavior.
Description
I would really like an option to hide nil bars. Perhaps this is an unconventional use case, but I am trying to show intensity of a variable over time on a bar chart.
I could also achieve this if it were possible to style individual bars and fully customize the legend, however it doesn't appear to be possible to assign colors to bars within a single dataset either.
Steps to Reproduce
This results in wonky spacing because it draws the nil datapoints for each set. But I only want to draw one set per label.
Additionally there is no way to assign a color to each bar without assigning separate datasets.
Would it be possible to add support for hiding empty bars and their spacing?
Apologies if I'm missing something. I thought for sure it could be done with the library in it's current state since it is very capable, but I've spent a good amount of time tinkering with this and can't figure it out with existing methods.
System Configuration
The text was updated successfully, but these errors were encountered: