- 🚀 Upgrade to Compose Multiplatform 1.7.1
- Fixes line drawing when only two points in
LineChart
: When a curved line only has two points, usepath.quadraticTo()
, otherwise usepath.cubicTo()
. - Use KMPKit instead of kmp-common.
- 🚀 Upgrade to Kotlin 2.0.21 & Gradle 8.5.2
- 🚀 Upgrade to Compose Multiplatform 1.7.0
- Grid X & Y axes now have their own individual padding
LineChart
: Ensure first and last values on the X axis are within the axis bounds
- Updated project configuration to use Gradle version catalog.
[BREAKING]
DonutChart
has been moved to a new package: com.tweener.charts.type.donut.[BREAKING]
Segment
class has been moved to a new package: com.tweener.charts.type.donut.model.- New chart added:
LineChart
to display plotted points connected with a straight or curved line. - Fixes a bug where
DonutChart
's segments were not properly updated DonutChart
's segments now have a selected property which allows pre-selection of a segment during composition.- Added a new property to
DonutChart
to allow customization of the StrokeCap.
- kmp-charts now official support Kotlin 2.0! 🎉
DonutChart
- Each segment now has an ID to better identify which segment has been clicked by the user.DonutChart
- Each segment can now be enabled/disabled to whether or not respond to click events.
The first official release of kmp-charts.
- DonutChart