Skip to content

v2.0.0-beta.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@patrykandpatrickbot patrykandpatrickbot released this 01 Jan 19:32
· 109 commits to master since this release
2b367ee

Overview

  • breaking changes: minor

core

  1. LineCartesianLayer.PointConnector.Sharp, which uses line segments, has been introduced. LineCartesianLayer.PointConnector.cubic thus no longer permits setting curvature to zero.
  2. Some defaults have been updated:
    • The default color palette has been refreshed.
    • In ColumnCartesianLayer, columns now have sharp corners by default.
    • In LineCartesianLayer, lines are now sharp by default. Also, Line.areaFill is set to null. To recreate the previous default LineCartesianLayer.AreaFill, use LineCartesianLayer.AreaFill.single or LineCartesianLayer.AreaFill.double and ShaderProvider.verticalGradient.

compose

  1. The defaults have been updated in accordance with core change 2. The color palettes produced by rememberM2MaterialTheme and rememberM3MaterialTheme remain unchanged.
  2. rememberLayeredComponent has been removed; use the LayeredComponent constructor.

views

  1. An issue where the verticalAxisVerticalLabelPosition XML attribute of the AxisStyle attribute set was misinterpreted has been resolved.
  2. The defaults have been updated in accordance with change 2. In connection with this, the gradientTopColor, gradientBottomColor, positiveGradientTopColor, positiveGradientBottomColor, negativeGradientTopColor, and negativeGradientBottomColor XML attributes of the LineStyle attribute set have been removed. For a gradient LineCartesianLayer.AreaFill, use AreaFill.single or AreaFill.double and ShaderProvider.verticalGradient.