chart: Add negative values and a value axis to `BarChart` (#2736)
## Summary Enhance the `BarChart` component to provide better visualization and support for positive and negative values. ## Changes - Add support for positive and negative bar values around a zero baseline - Add configurable Y-axis with value labels - Add configurable number of Y-axis ticks - Improve grid rendering for positive and negative ranges - Improve category label positioning ## Motivation These improvements make the bar chart more suitable for analytics dashboards, especially for charts displaying variations, growth rates, and other metrics that can contain both positive and negative values. ## Testing - Tested with positive values - Tested with negative values - Tested with mixed positive and negative values - Verified Y-axis labels and grid rendering --------- Co-authored-by: Floyd Wang <gassnake999@gmail.com>
M
Mohamed Affes committed
aff8f09ac2550bbc7da8df1d159b1e7db9d74b1f
Parent: 7a9ac17
Committed by GitHub <noreply@github.com>
on 8/18/2026, 8:12:46 AM