New
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.