更新日历样式
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
// 若已满,不绘制灰色段、也不显示文字(不做任何处理)
|
||||
|
||||
Reference in New Issue
Block a user