core
CartesianChart
CartesianChartModelProducer
CartesianLayer
CandlestickCartesianLayer
ColumnCartesianLayer
LineCartesianLayer
Axis
CartesianValueFormatter
CartesianMarker
Decoration
Component
Fill
Shape
Legend
compose
VicoTheme
views
Use the XML attributes to create HorizontalAxis and VerticalAxis instances:
HorizontalAxis
VerticalAxis
<com.patrykandpatrick.vico.views.cartesian.CartesianChartView android:id="@+id/cartesian_chart_view" app:showStartAxis="true" app:showTopAxis="true" app:showEndAxis="true" app:showBottomAxis="true" ... />
Alternatively, use VerticalAxis.start, HorizontalAxis.top, VerticalAxis.end, and HorizontalAxis.bottom:
VerticalAxis.start
HorizontalAxis.top
VerticalAxis.end
HorizontalAxis.bottom
cartesianChartView.chart = CartesianChart( startAxis = VerticalAxis.start(/* ... */), topAxis = HorizontalAxis.top(/* ... */), endAxis = VerticalAxis.end(/* ... */), bottomAxis = HorizontalAxis.bottom(/* ... */), // ... )