Skip to content

Feature request: Overdraw #97

@mtotschnig

Description

@mtotschnig

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
  )
)

grafik

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions