Skip to content

Commit 423b79a

Browse files
committed
fix: rollback because of crash with circles
1 parent c0abe7b commit 423b79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/charting/utils/ColorTemplate.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export class ColorTemplate {
1111
/**
1212
* an "invalid" color that indicates that no color is set
1313
*/
14-
public static COLOR_NONE = null as any;
14+
public static COLOR_NONE = new Color(-1);
1515

1616
/**
1717
* this "color" is used for the Legend creation and indicates that the next
1818
* form should be skipped
1919
*/
20-
public static COLOR_SKIP = 0x00112234 as any;
20+
public static COLOR_SKIP = new Color(0x00112234);
2121

2222
/**
2323
* THE COLOR THEMES ARE PREDEFINED (predefined color integer arrays), FEEL

0 commit comments

Comments
 (0)