Android - 如何在Android中显示BarGraph [英] Android - How to display BarGraph in Android
问题描述
是否可以在android?中显示条形图
,例如使用条形图显示两组数据
。
是否有任何这样的库?,希望你能帮助我,谢谢
是否可以在android中显示条形图?
是的,这是可能的。
就像使用条形图显示两组数据一样。
是的,对于条形图使用MPAndroidChart库。
检查
如何使用这个库在Android Studio中: b 将以下内容添加到您的build.gradle: is it possible to display a is it possible to display a Bar Graph in android? Yes, it is possible. like displaying two sets of data using a Bar Graph. is there any
libraries for this? Yes, use MPAndroidChart library for Bar Graph. check link of MPAndroidChart. You can generate BarGraph as in below image How to use this library in Android Studio: Add the following to your build.gradle:
这篇关于Android - 如何在Android中显示BarGraph的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ b
存储库{
maven {urlhttps://jitpack.io}
}
依赖关系{
编译'com.github.PhilJay:MPA ndroidChart:v2.2.0'
}
Bar Graph
in android?, like displaying two sets of data using a Bar Graph
.
is there any libraries for this?, hope you can help me, thanks
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.PhilJay:MPAndroidChart:v2.2.0'
}