Skip to content

Releases: patrykandpatrick/vico

v2.0.0-beta.3

23 Nov 12:01
dc28e5e
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

Overview

core

  1. ShapeComponent and LineComponent now use Fill. color has been replaced by fill; strokeColor, by strokeFill.
  2. In CartesianMarker, draw has been split into drawUnderLayers and drawOverLayers. To migrate and preserve the same behavior, replace override draw(/* ... */) with override drawOverLayers(/* ... */).
  3. TextComponent has a new lineHeightSp constructor parameter.
  4. Fixes and improvements related to color extraction for CartesianMarkers have been made across all CartesianLayers.
  5. In CacheStore, an issue where cached values could fail to be retrieved has been addressed.
  6. In BaseAxis.Size, TextWidth is now called Text. This is more precise—for HorizontalAxis, the the text height is used.

compose

  1. In connection with core change 1, in rememberShapeComponent and rememberLineComponent, color has been replaced by fill, and strokeColor has been replaced by strokeFill. As mentioned in subsection 6.1.2 of the guide, Fill creation in Compose is performed via the fill factory function.
  2. In connection with core change 3, rememberTextComponent has a new lineHeight parameter.
  3. Compose BaseAxis.Size factory functions—BaseAxis.Size.auto, BaseAxis.Size.exact, and so on—have been added.

views

  1. Those CartesianChartView XML attributes that are more closely related to CartesianChart have been extracted to a dedicated attribute set: CartesianChartStyle. This is used with the new chartStyle attribute of CartesianChartView. The extracted attributes are as follows: axisStyle, *AxisStyle, *LayerStyle, *LayerPadding, and show*Axis.
  2. In connection with core change 3, the TextComponentStyle XML attribute set has a new android:lineHeight attribute.
  3. The color XML attribute has been removed in favor of android:color. Replace app:color with android:color.
  4. In CartesianChartView, the setModel function has been replaced by a model property.

v2.0.0-beta.2

18 Oct 09:20
b505264
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

This release includes bug fixes and API enhancements. Read the release notes.

v1.16.0-alpha.1

13 Oct 09:39
d6faab0
Compare
Choose a tag to compare
v1.16.0-alpha.1 Pre-release
Pre-release

This release resolves an issue where overlaps between persistent Markers were handled unpredictably. Read the release notes.

v2.0.0-beta.1

18 Sep 15:49
325d4c6
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

This release includes bug fixes and API enhancements. Read the release notes.

v2.0.0-alpha.28

12 Aug 11:39
4abbcd1
Compare
Choose a tag to compare
v2.0.0-alpha.28 Pre-release
Pre-release

This release includes bug fixes, Legend updates, and API enhancements. Read the release notes.

v2.0.0-alpha.27

02 Aug 17:19
2c85095
Compare
Choose a tag to compare
v2.0.0-alpha.27 Pre-release
Pre-release

This release includes bug fixes and continues the API cleanup. Read the release notes.

v2.0.0-alpha.26

28 Jul 16:06
34a5105
Compare
Choose a tag to compare
v2.0.0-alpha.26 Pre-release
Pre-release

This release includes updates to LineCartesianLayer’s split line styling. Read the release notes.

v2.0.0-alpha.25

22 Jul 08:06
e99153b
Compare
Choose a tag to compare
v2.0.0-alpha.25 Pre-release
Pre-release

This release resolves a TextComponent bug that caused color and typeface to be ignored. Read the release notes.

v2.0.0-alpha.24

18 Jul 13:48
b9f0383
Compare
Choose a tag to compare
v2.0.0-alpha.24 Pre-release
Pre-release

This release updates the API to use Double for CartesianChart data and continues the API cleanup. Read the release notes.

v2.0.0-alpha.23

14 Jul 10:40
5cc2586
Compare
Choose a tag to compare
v2.0.0-alpha.23 Pre-release
Pre-release

This release introduces new LineCartesianLayer features, improvements for persistent CartesianMarkers, API enhancements, and more. Read the release notes.