Download Latest Version v3.1.0 source code.tar.gz (1.0 MB)
Email in envelope

Get an email when there's a new version of Vico

Home / v3.1.0
Name Modified Size InfoDownloads / Week
Parent folder
android-sample-debug.apk 2026-04-05 17.3 MB
README.md 2026-04-05 2.5 kB
v3.1.0 source code.tar.gz 2026-04-05 1.0 MB
v3.1.0 source code.zip 2026-04-05 1.4 MB
Totals: 4 Items   19.7 MB 2

Overview

  • breaking changes: none
  • addressed: [#339], [#426], [#647], [#1208], [#1391], [#1396], [#1404]

Common

  1. Added pie charts. See the “Basic pie chart” sample chart (Compose, views) and the API reference (Compose, views) for details. Pie charts are experimental; they’ll remain available, but breaking changes are more likely.
  2. In LineCartesianLayer, deprecated PointConnector and introduced Interpolator. The new interface receives all points, enabling true polyline-level interpolation (e.g., Catmull–Rom splines). Interpolator has three built-in singletons and factory functions: Sharp and cubic, functionally identical to their PointConnector counterparts, and catmullRom. Compared to cubic, catmullRom produces straight line segments instead of steps for collinear points.
  3. In HorizontalAxis and VerticalAxis, added tickPosition (Outside, Cross, or Inside) and lineDrawingOrder (UnderLayers or OverLayers).
  4. In LineCartesianLayer, introduced LineFill.colorScale and AreaFill.colorScale.
  5. Improved VerticalAxis performance.

compose

  1. Updated rememberVicoScrollState to preserve the scroll value when scrollEnabled changes.
  2. Improved TextComponent performance.
  3. Fixed the CartesianValueFormatter implementation instantiated by CartesianValueFormatter.decimal ignoring some properties in equals and hashCode, which led to skipped updates.
  4. In DefaultCartesianMarker, fixed the ValueFormatter implementation instantiated by ValueFormatter.default ignoring some properties in equals and hashCode, which led to skipped updates.

views

  1. In connection with common change 3, added tickPosition (outside, cross, or inside) and lineDrawingOrder (underLayers or overLayers) XML attributes to AxisStyle.
  2. Exposed a read–write ScrollHandler.scrollEnabled property, which enables toggling scroll while preserving the scroll value.
Source: README.md, updated 2026-04-05