更新日历样式

This commit is contained in:
czz
2025-07-11 16:48:25 +08:00
parent 092267ae3a
commit de5bacb553
11 changed files with 271 additions and 89 deletions

View File

@@ -46,11 +46,12 @@ class LineView extends StatelessWidget {
bottom: bottomPadding.rpx,
),
child: EasyChartView(
key: Key(DateTime.now().toString()),
size: Size(b.maxWidth, 220.rpx),
drawer: ChartDrawer(
xAxis: ChartAxis(
intent: 44,
entintent: 15,
intent: 28,
entintent: 9,
labels: xLabels,
count: xCount,
),
@@ -177,7 +178,7 @@ class LineView extends StatelessWidget {
remainHeight,
Paint()
..color =
stringToColor(remainColor).withOpacity(0.8),
stringToColor(remainColor).withOpacity(0.5),
);
}
// 若已满,不绘制灰色段、也不显示文字(不做任何处理)