hi-manshu/Charty

The path is displayed when you create a LineChart with a single point

AlexZhukovich opened this issue · 1 comments

The path is displayed when you create a LineChart with a single point.

Incorrect state:

Source code:

LineChart(
    modifier = Modifier
        .fillMaxWidth()
        .height(300.dp),
    color = colors.first(),
    lineData = listOf(
        LineData(10F, 35F)
    )
)

Expected state:

Hey Thanks for this. Will check the PR today