Releases: KoalaPlot/koalaplot-core
Releases · KoalaPlot/koalaplot-core
v0.11.2
v0.11.1
v0.11.0
Added
- CategoryAxisOffset to have more control over CategoryAxisModel's positioning of categories
relative to the origin. - AxisContent and GridStyle to shorten the function signature of XYGraph.
- Support for cubic Bezier curves in line, area, and stacked area plots.
- Heatmap plots
Changed
- Deprecated XYGraph overload that does not use AxisContent and GridStyle.
- Update dependencies: Compose 1.10.0, AGP 9.0.0, Kotlin 2.3.0
- Deprecated Composable functions that did not comply with Compose coding standards, and implemented
compliant replacements. - Renamed ConstantLine to HorizontalLine for area plot baselines.
- XYGraph pointer input callback replaced with a pointer event handler and a scope for converting
pointer coordinates (pixels) to graph AxisModel coordinates.
Fixed
- Incorrect padding on y-axis labels for XYPlot overload that uses a String producer for axis labels
instead of a Composable. - XYGraph pointer tracking would throw an exception if the pointer event had a position outside the
bounds of the component.
v0.10.4
v0.10.3
v0.10.2
v0.10.1
v0.10.0
Added
Changed
- Update dependencies: Compose to 1.9.2, Kotlin to 2.2.21, agp to 8.13.0, android compile sdk to 36
- VerticalBarPosition renamed to BarPosition
- DefaultVerticalBarPosition renamed to DefaultBarPosition
- DefaultVerticalBar renamed to DefaultBar
- VerticalBarPlotGroupedPointEntry renamed to BarPlotGroupedPointEntry and changed names of member values
- Deprecated HoverableElementArea and its associated hoverableElement Modifier. Use ToolTipArea or ToolTipBox instead.
v0.9.1
v0.9.0
Added
- Support for StartAnimationUseCase in bar-chart (GroupedVerticalBarPlot)
- Ability to disable the consumption of gesture events
- Pan fling behavior for Android and iOS platforms (#106)
Changed
- Move the logic of enabling/disabling pan and zoom to the gesture handler
- A separate object has been created for the gesture configuration GestureConfig
- Removing the gesture logic "pastTouchSlop", in practice it turned out to be inconsistent when capturing panning
from the parent container - Upgrade Gradle and detekt versions
- Update dependencies: Kotlin, Coroutines, Compose
Fixed
- Discrete panning in X and Y axes (#104)
- Fix an error in the logic of setting the initial zoom direction,
which is why the orthogonal axis of the first touch movement was not reset