I cannot display that 0 < x < 1 % in charts_flutter or pie_chart

Hello, I’m Japanese application engineer. First of all, I’m sorry that I am not good at English.

final List<SubscriberSeries>[ ]data = [
          year: "data-1",
          subscribers: 34.0,
          barColor: charts.ColorUtil.fromDartColor(Color(0xff3BD694))),
          year: "data-2",
          subscribers: 0.2,
          barColor: charts.ColorUtil.fromDartColor(Color(0xffFACE6B))),
          year: "data-3",
          subscribers: 65.8,
          barColor: charts.ColorUtil.fromDartColor(Color(0xffF46D8C))),

Anyway, I want to know how to display 0 < x < 1 in charts_flutter and pie_charts. For example, I can always display that 65.8% and 34.0% but 0.2% cannot be done in my code. Please tell me about this problem. How do I fix that.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer