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
Bug Description
I need to reduce the width of individual bars in a single bar chart using ngx-charts-bar-vertical. Since there is no direct property to adjust bar width, I added empty bars to the dataset as a workaround (#692 (comment)). However, this causes an issue with the legend, as it displays colors for all bars, including the empty ones, along with empty labels.
Steps to Reproduce the Issue
Use the ngx-charts-bar-vertical component.
Add empty bars to the dataset to reduce the width of the existing bars. For example:
Save the changes and observe the issue with the legend.
Expected Behavior
Provide a property or configuration to exclude empty-value legends, ensuring the chart looks clean and the legend only reflects meaningful data.
Screenshots
ngx-charts Version @swimlane/ngx-charts: ^20.4.1
The text was updated successfully, but these errors were encountered:
Bug Description
I need to reduce the width of individual bars in a single bar chart using
ngx-charts-bar-vertical
. Since there is no direct property to adjust bar width, I added empty bars to the dataset as a workaround (#692 (comment)). However, this causes an issue with the legend, as it displays colors for all bars, including the empty ones, along with empty labels.Steps to Reproduce the Issue
ngx-charts-bar-vertical
component.Expected Behavior
Provide a property or configuration to exclude empty-value legends, ensuring the chart looks clean and the legend only reflects meaningful data.
Screenshots
ngx-charts Version
@swimlane/ngx-charts: ^20.4.1
The text was updated successfully, but these errors were encountered: