Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.2.0 - 2025-06-26#
Initial release.
Added#
- Deployed online documentation: https://flet-dev.github.io/flet-charts/
- New Chart control:
ScatterChart
BarChart#
- New property:
tooltip - New enum:
BarChartTooltipDirection - In
BarChartRod: new propertytooltip
LineChart#
- New property:
tooltip - In
LineChartDataPoint: new propertytooltip(now accepts aLineChartDataPointTooltipinstance)
Changed#
All chart controls have been refactored to use @ft.control dataclass-style definition
BarChart#
- Renamed properties:
bar_groups→groupsgroups_space→spacinganimate→animationon_chart_event→on_event
- Tooltip configuration has been redesigned:
- Removed properties:
tooltip_bgcolor,tooltip_rounded_radius,tooltip_margin,tooltip_padding,tooltip_max_content_width,tooltip_rotate_angle,tooltip_horizontal_offset,tooltip_border_side,tooltip_fit_inside_horizontally,tooltip_fit_inside_vertically,tooltip_direction - use the new
tooltipproperty of typeBarChartTooltip
- Removed properties:
- In
BarChartGroup:- Renamed properties:
bar_rods→rodsbars_space→spacing
- In
BarChartRod:- Renamed properties:
rod_stack_items→stack_itemsbg_color→bgcolorbg_gradient→background_gradient
LineChart#
- Renamed properties:
animate→animationon_chart_event→on_event
LineChartTooltip configuration has been redesigned:- Removed properties:
tooltip_bgcolor,tooltip_rounded_radius,tooltip_margin,tooltip_padding,tooltip_max_content_width,tooltip_rotate_angle,tooltip_horizontal_offset,tooltip_border_side,tooltip_fit_inside_horizontally,tooltip_fit_inside_vertically,tooltip_show_on_top_of_chart_box_area - use the new
tooltipproperty of typeLineChartTooltip
- Removed properties:
- In
LineChartData:- Renamed properties:
data_points→points,stroke_cap_round→rounded_stroke_cap - Removed properties:
above_line_bgcolor,below_line_bgcolor - Renamed property:
selected_below_line
- Renamed properties:
- In
LineChartDataPoint:- Removed properties:
tooltip_align,tooltip_style- usetooltipproperty instead which is now of typeLineChartDataPointTooltip
- Removed properties:
PieChart#
- Renamed properties:
animate→animationon_chart_event→on_event