Thanks to visit codestin.com
Credit goes to github.com

Skip to content

java.lang.NoSuchMethodError: No interface method startRestartGroup(ILjava/lang/String;)Landroidx/compose/runtime/Composer; in class Landroidx/compose/runtime/Composer; #28

@victor-sorlop

Description

@victor-sorlop

I am having this error when I want to display a Bar Chart. Here it is my code using this repository:

@Composable fun MyBarChartParent() { BarChart( barChartData = BarChartData( bars = listOf(BarChartData.Bar(label = "Bar Label", value = 100f, color = Color.Red)) ), // Optional properties. modifier = Modifier.fillMaxSize(), animation = simpleChartAnimation(), barDrawer = SimpleBarDrawer() ) }

I have just used the sample BarChart code of the ReadME file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions