Closed YKW93 closed 6 months ago
How to Remove LineCart Start End Value Padding
Below is my code When I use compose vico I get padding? gaps? at the beginning and end and I want to get rid of them, how can I do that?
The result I want is the first image below.
val list = listOf( FloatEntry(0f, 1f), FloatEntry(1f, 0f), FloatEntry(2f, 1f) ) Chart( chart = lineChart(lines = chartLines), model = ChartEntryModelProducer(list).requireModel(), chartScrollSpec = rememberChartScrollSpec(isScrollEnabled = false), modifier = modifier .fillMaxWidth() .height(102.dp) )
vico library
MPAndroidChart
Latest stable version
14
using vico 1.13.1 version
How to reproduce
How to Remove LineCart Start End Value Padding
Below is my code When I use compose vico I get padding? gaps? at the beginning and end and I want to get rid of them, how can I do that?
The result I want is the first image below.
Observed behavior
vico library
Expected behavior
MPAndroidChart
Vico version(s)
Latest stable version
Android version(s)
14
Additional information
using vico 1.13.1 version