Skip to content

Commit ea85f52

Browse files
committed
add back fixedMinY and link bug
1 parent b6d8bb2 commit ea85f52

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/devtools_app/lib/src/shared/charts/chart_trace.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class PaintCharacteristics {
3434
this.concentricCenterDiameter = 1,
3535
this.width = 1,
3636
this.height = 1,
37+
this.fixedMinY,
3738
this.fixedMaxY,
3839
});
3940

@@ -47,9 +48,15 @@ class PaintCharacteristics {
4748
this.concentricCenterDiameter = 1,
4849
this.width = 1,
4950
this.height = 1,
51+
this.fixedMinY,
5052
this.fixedMaxY,
5153
});
5254

55+
/// If specified Y scale is computed and min value is fixed.
56+
/// Will assert if new data point is less than min specified.
57+
// ignore: unused-code, TODO(https://github.com/flutter/devtools/issues/9910) seems like a bug.
58+
double? fixedMinY;
59+
5360
/// If specified Y scale is computed and max value is fixed.
5461
/// Will assert if new data point is more than max specified.
5562
double? fixedMaxY;

0 commit comments

Comments
 (0)