Skip to content

crash with the RadarChartDemo #14

Description

@ddfire

copy pasted the RadarChart Demo and it just crash

java.lang.IllegalArgumentException: maxWidth must be >= than minWidth,
maxHeight must be >= than minHeight,
minWidth and minHeight must be >= 0
at androidx.compose.ui.unit.InlineClassHelperKt.throwIllegalArgumentException(InlineClassHelper.kt:30)
at androidx.compose.ui.unit.ConstraintsKt.Constraints(Constraints.kt:638)
at androidx.compose.ui.text.TextPainterKt.textLayoutConstraints-v_w8tDc(TextPainter.kt:387)
at androidx.compose.ui.text.TextPainterKt.drawText-TPWCCtM(TextPainter.kt:226)
at androidx.compose.ui.text.TextPainterKt.drawText-TPWCCtM$default(TextPainter.kt:208)
at network.chaintech.cmpcharts.ui.radarchart.RadarChartKt.drawOuterLabelsAndScale(RadarChart.kt:263)
at network.chaintech.cmpcharts.ui.radarchart.RadarChartKt.RadarChart$lambda$2$lambda$1(RadarChart.kt:54)
at network.chaintech.cmpcharts.ui.radarchart.RadarChartKt.$r8$lambda$Of-zM0yK0BmYQsgjCUbXs5hfh0o(Unknown Source:0)
at network.chaintech.cmpcharts.ui.radarchart.RadarChartKt$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at androidx.compose.ui.draw.DrawBackgroundModifier.draw(DrawModifier.kt:126)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions