我正在使用MPAndroidChart。
我想在图表的背景上放置图片,但是我只知道更改背景颜色。
<com.github.mikephil.charting.charts.BarChart
android:id="@+id/chart"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
我正在使用v2.2.4jar
文件。
谁能帮我?
试试这个:
<com.github.mikephil.charting.charts.BarChart
android:id="@+id/chart"
android:layout_width="match_parent"
android:background="@drawable/your_image"
android:layout_height="match_parent"/>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句