UI fixes and league
This commit is contained in:
@@ -200,7 +200,7 @@ class _ChartPainter extends CustomPainter {
|
||||
// Gridlines + y labels in each axis series' colour
|
||||
final grid = Paint()
|
||||
..color = gridColor
|
||||
..strokeWidth = 1;
|
||||
..strokeWidth = 0.6;
|
||||
for (final f in [0.0, 0.5, 1.0]) {
|
||||
final y = plot.bottom - plot.height * f;
|
||||
canvas.drawLine(Offset(axis, y), Offset(size.width - axis, y), grid);
|
||||
@@ -232,7 +232,7 @@ class _ChartPainter extends CustomPainter {
|
||||
path,
|
||||
Paint()
|
||||
..color = s.color
|
||||
..strokeWidth = 2
|
||||
..strokeWidth = 1.2
|
||||
..style = PaintingStyle.stroke
|
||||
..strokeJoin = StrokeJoin.round,
|
||||
);
|
||||
@@ -240,8 +240,8 @@ class _ChartPainter extends CustomPainter {
|
||||
for (int i = 0; i < n; i++) {
|
||||
final isSel = i == selected;
|
||||
final p = Offset(xAt(i), yAt(s.values[i], r));
|
||||
canvas.drawCircle(p, isSel ? 6 : 4.5, Paint()..color = surfaceColor);
|
||||
canvas.drawCircle(p, isSel ? 4.5 : 3.5, Paint()..color = s.color);
|
||||
canvas.drawCircle(p, isSel ? 5 : 2.8, Paint()..color = surfaceColor);
|
||||
canvas.drawCircle(p, isSel ? 3.8 : 2, Paint()..color = s.color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user