Releases: patrykandpatrick/vico
v1.16.0
This release has the same content as version 1.16.0-beta.1
. The following compares versions 1.16.0
and 1.15.0
.
Overview
core
- An issue where overlaps between persistent
Marker
s were handled unpredictably has been resolved. The order in which persistentMarker
s are drawn now reflects that frompersistentMarkers
. - Concurrency-related fixes have been made to
ChartEntryModelProducer
andComposedChartEntryModelProducer
. - An issue where
ShapeComponent.draw
could fail to rewind thePath
betweenShape.draw
calls has been resolved.
v1.16.0-beta.1
v2.0.0-beta.3
Overview
- breaking changes: minor
- addressed: #794, #902
- external contributors: @cristianboicu01
core
ShapeComponent
andLineComponent
now useFill
.color
has been replaced byfill
;strokeColor
, bystrokeFill
.- In
CartesianMarker
,draw
has been split intodrawUnderLayers
anddrawOverLayers
. To migrate and preserve the same behavior, replaceoverride draw(/* ... */)
withoverride drawOverLayers(/* ... */)
. TextComponent
has a newlineHeightSp
constructor parameter.- Fixes and improvements related to color extraction for
CartesianMarker
s have been made across allCartesianLayer
s. - In
CacheStore
, an issue where cached values could fail to be retrieved has been addressed. - In
BaseAxis.Size
,TextWidth
is now calledText
. This is more precise—forHorizontalAxis
, the the text height is used.
compose
- In connection with
core
change 1, inrememberShapeComponent
andrememberLineComponent
,color
has been replaced byfill
, andstrokeColor
has been replaced bystrokeFill
. As mentioned in subsection 6.1.2 of the guide,Fill
creation in Compose is performed via thefill
factory function. - In connection with
core
change 3,rememberTextComponent
has a newlineHeight
parameter. - Compose
BaseAxis.Size
factory functions—BaseAxis.Size.auto
,BaseAxis.Size.exact
, and so on—have been added.
views
- Those
CartesianChartView
XML attributes that are more closely related toCartesianChart
have been extracted to a dedicated attribute set:CartesianChartStyle
. This is used with the newchartStyle
attribute ofCartesianChartView
. The extracted attributes are as follows:axisStyle
,*AxisStyle
,*LayerStyle
,*LayerPadding
, andshow*Axis
. - In connection with
core
change 3, theTextComponentStyle
XML attribute set has a newandroid:lineHeight
attribute. - The
color
XML attribute has been removed in favor ofandroid:color
. Replaceapp:color
withandroid:color
. - In
CartesianChartView
, thesetModel
function has been replaced by amodel
property.
v2.0.0-beta.2
This release includes bug fixes and API enhancements. Read the release notes.
v1.16.0-alpha.1
This release resolves an issue where overlaps between persistent Marker
s were handled unpredictably. Read the release notes.
v2.0.0-beta.1
This release includes bug fixes and API enhancements. Read the release notes.
v2.0.0-alpha.28
This release includes bug fixes, Legend
updates, and API enhancements. Read the release notes.
v2.0.0-alpha.27
This release includes bug fixes and continues the API cleanup. Read the release notes.
v2.0.0-alpha.26
This release includes updates to LineCartesianLayer
’s split line styling. Read the release notes.
v2.0.0-alpha.25
This release resolves a TextComponent
bug that caused color
and typeface
to be ignored. Read the release notes.