google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.8k stars 1.2k forks source link

how to hide measurefn? #722

Open adibpwd opened 2 years ago

adibpwd commented 2 years ago

hide measure fn

how to hide or remove the number beside that how? I don't need it, but it's required, how about that?

bkbonner commented 2 years ago

You didn't provide the code you're using to render the chart, but I suspect this will help you:

child: BarChart(
                  series,
                  animate: true,
                  primaryMeasureAxis: NumericAxisSpec(
                      showAxisLine: true, renderSpec: NoneRenderSpec()),
                )
bkbonner commented 2 years ago

p.s. there's an entire set of examples in the repo: https://github.com/google/charts/tree/master/charts_flutter/example/lib/axes

For your scenario, look at hidden_ticks_and_labels_axis.dart

adibpwd commented 2 years ago

Thanks for the answer, I'm not using this package anymore, maybe later if I use this package again, I'll try.

bkbonner commented 2 years ago

You're welcome. 🙂 I am new to this package, experimenting with it and learning the API. Hopefully the Q&A helps someone else. Did you end up going with another charting package?

On Fri, Jan 14, 2022, 12:47 AM g0coders @.***> wrote:

Thanks for the answer, I'm not using this package anymore, maybe later if I use this package again, I'll try.

— Reply to this email directly, view it on GitHub https://github.com/google/charts/issues/722#issuecomment-1012794446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDA6P2IGH4YSWPOBMFVKTUV62F7ANCNFSM5K2NR4OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

adibpwd commented 2 years ago

Terima kasih kembali. 🙂. Saya baru mengenal paket ini, bereksperimen dengannya dan mempelajari API. Semoga Q&A membantu orang lain. Apakah Anda akhirnya pergi dengan paket charting lain? … On Fri, Jan 14, 2022, 12:47 AM g0coders @.> wrote: Thanks for the answer, I'm not using this package anymore, maybe later if I use this package again, I'll try. — Reply to this email directly, view it on GitHub <#722 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDA6P2IGH4YSWPOBMFVKTUV62F7ANCNFSM5K2NR4OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

Yes, I used another package, but I forgot the name