tj
9 天以前 d166fa86711d9348ac987ba87715e986a3b1a27b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        >
        <TextView
            android:id="@+id/bar_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="本周包裹物流公司分布 ->"
            android:layout_margin="16dp"
            >
 
        </TextView>
    </LinearLayout>
    <!-- 柱状图容器,内边距16dp -->
    <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"
        android:padding="100dp"
        >
 
        <com.github.mikephil.charting.charts.BarChart
            android:id="@+id/chart_daily_packages"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="50dp"
 
            />
    </androidx.cardview.widget.CardView>
 
    <!-- 热力图容器 -->
    <androidx.cardview.widget.CardView
        android:id="@+id/heatmap_yearly"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="16dp"
        android:layout_marginBottom="16dp"
        android:padding="16dp"
        >
 
<!--        <HorizontalScrollView-->
<!--            android:layout_width="match_parent"-->
<!--            android:layout_height="wrap_content"-->
<!--            android:padding="16dp">-->
 
<!--            <LinearLayout-->
<!--                android:layout_width="wrap_content"-->
<!--                android:layout_height="wrap_content"-->
<!--                android:orientation="horizontal">-->
<!--                &lt;!&ndash; 热力图将在这里动态添加 &ndash;&gt;-->
<!--            </LinearLayout>-->
<!--        </HorizontalScrollView>-->
    </androidx.cardview.widget.CardView>
 
 
<!--    <WebView-->
<!--        android:id="@+id/webView"-->
<!--        android:layout_width="match_parent"-->
<!--        android:layout_height="300dp"-->
<!--        tools:ignore="WebViewLayout" />-->
 
 
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        >
        <TextView
            android:id="@+id/pie_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="本周包裹物流公司分布 ->"
            android:layout_margin="16dp"
            >
        </TextView>
    </LinearLayout>
 
    <!-- 饼图容器 -->
    <androidx.cardview.widget.CardView
        android:id="@+id/chart_courier_card_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="0dp"
        android:layout_marginBottom="0dp">
 
        <com.github.mikephil.charting.charts.PieChart
            android:id="@+id/chart_courier_distribution"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:minHeight="300dp"
            android:padding="0dp" />
    </androidx.cardview.widget.CardView>
 
</LinearLayout>