We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c2595c commit 3234332Copy full SHA for 3234332
src/charting/data/DataSet.ts
@@ -70,12 +70,11 @@ export abstract class DataSet<T extends Entry> extends BaseDataSet<T> {
70
}
71
72
calcMinMax() {
73
- if (this.mValues == null || this.mValues.length === 0) return;
74
-
75
this.mYMax = -Infinity;
76
this.mYMin = Infinity;
77
this.mXMax = -Infinity;
78
this.mXMin = Infinity;
+ if (this.mValues == null || this.mValues.length === 0) return;
79
80
for (let index = 0, e: T; index < this.mValues.length; index++) {
81
e = this.mValues[index];
0 commit comments