Chart

Lollipop

Web not supportediOS not supportedAndroid supported

Compare categories with a stem and dot.

Android
android-lollipop chart rendered on Android

drawLollipop on a Compose Canvas · View source

Use it as a lighter alternative to bars. Android only.

Configuration

Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.

NameTypeDefaultDescription
data*ChartDatum[]Values to compare.
orientation"horizontal" | "vertical"Direction of the stems.
axisChartAxes{ x: true, y: true }Show or hide each axis.
xAxisNativeChartAxisOptionsHorizontal scale, domain, ticks, grid, and labels.
yAxisNativeChartAxisOptionsVertical scale, domain, ticks, grid, and labels.
heightnumber240 web / 320 nativeChart height in pixels or native points.
isLoadingbooleanfalseShows the built-in placeholder while data loads.
themeChartThemeColors and typography for this chart.