Skip to content

Commit 9767ebf

Browse files
committed
fix: reset values colors
1 parent 115935f commit 9767ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charting/data/BaseDataSet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export abstract class BaseDataSet<T extends Entry> implements IDataSet<T> {
281281
}
282282

283283
public setValueTextColor(color) {
284-
this.resetColors();
284+
this.mValueColors = [];
285285
this.mValueColors.push(color);
286286
}
287287

0 commit comments

Comments
 (0)