<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<!-- 每日包裹数量柱状图 -->
|
<androidx.cardview.widget.CardView
|
android:layout_width="match_parent"
|
android:layout_height="280dp"
|
android:layout_marginHorizontal="16dp"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="16dp">
|
|
<com.github.mikephil.charting.charts.BarChart
|
android:id="@+id/chart_daily_packages"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="16dp" />
|
</androidx.cardview.widget.CardView>
|
|
<!-- 快递公司占比饼图 -->
|
<androidx.cardview.widget.CardView
|
android:layout_width="match_parent"
|
android:layout_height="280dp"
|
android:layout_marginHorizontal="16dp"
|
android:layout_marginBottom="16dp">
|
|
<com.github.mikephil.charting.charts.PieChart
|
android:id="@+id/chart_courier_distribution"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="16dp" />
|
</androidx.cardview.widget.CardView>
|
</LinearLayout>
|