Skip to content

Commit 8e7f3ba

Browse files
committed
chore: cleanup
1 parent 3896a53 commit 8e7f3ba

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/charting/components/Description.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Description extends ComponentBase {
2525
super();
2626

2727
// default size
28-
this.mTextSize =8;
28+
this.mTextSize = 8;
2929
}
3030

3131
/**

src/charting/data/DataSet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export abstract class DataSet<T extends Entry> extends BaseDataSet<T> {
5959
this.mValues = values;
6060
}
6161

62-
6362
toString() {
6463
return `${this.constructor.name}[${this.getLabel()}]`;
6564
}
@@ -325,6 +324,7 @@ export abstract class DataSet<T extends Entry> extends BaseDataSet<T> {
325324
let closestYValue = values[closest][yKey];
326325
let closestYIndex = closest;
327326

327+
// eslint-disable-next-line no-constant-condition
328328
while (true) {
329329
closest += 1;
330330
if (closest >= values.length) break;

src/charting/data/LineDataSet.ts

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export enum Mode {
1717
}
1818

1919
export class LineDataSet extends LineRadarDataSet<Entry> implements ILineDataSet {
20-
2120
/**
2221
* Drawing mode for this line dataset
2322
**/
@@ -123,7 +122,6 @@ export class LineDataSet extends LineRadarDataSet<Entry> implements ILineDataSet
123122
return !!this.mFilteredValues;
124123
}
125124

126-
127125
/**
128126
* Returns the drawing mode for this line dataset
129127
*

0 commit comments

Comments
 (0)