-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
I would like to represent the situation where a certain value outpasses 100%. At the moment I am representing this with two sections:
listOf(
DonutSection(
amount = (value - 100).toFloat(),
name = "excess",
color = excessColor
),
DonutSection(
amount = (200 - value).toFloat(),
name = "hundred",
color = valueColor
)
)
But this does not animate nicely if the value gets over the limit, e.g. from 90 to 110.
Ideally I would be able to create one section with value 110, define an color for the excess portion, and see the value animate over the 100% bar.
matejsemancik