- Added callback to allow selection only for specified items
- Performance improvements for charts with a lot of items
- Use chargee_lints instead of defining lint rules in library itself
- Callback when item is pressed in scrollable bar chart
- Added
ScrollableChart
widget to create charts that can scroll horizontally - Added
isStatic
property to chart layers to determine if they should scroll or stay in place in aScrollableChart
- Breaking change: Because grid layers are split up in separate vertical and horizontal layers
ChartGridLayer.all
returns a list of 2 layers now instead of a single layer - Breaking change: Chart selections are no longer based on
ChartItem
, they work purely withx
values now - Breaking change: The property
sticky
ofChartSelectionLayer
is renamed toisSticky
to be consistent with the addedisStatic
property on all layers
- Make font size of labels adjustable through OS accessibility settings
- Include the actual value also in
RoundedYIntervals
when bounds min and max are the same
- Changed rounding in
RoundedYIntervals
when bounds min and max are the same
- Added default value to
RoundedYIntervals
when bounds are flexible
- Draw labels over other chart layers
- Added a layer type to support custom widgets in a chart
- Updated Github action
- Added basic example project
- Updated pubspec.yaml description
- Added code documentation
- Initial release with support for bar, line and area charts