@opendata-ai/openchart-core 6.24.1 → 6.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/types/layout.ts +2 -0
- package/src/types/spec.ts +2 -0
package/package.json
CHANGED
package/src/types/layout.ts
CHANGED
|
@@ -505,6 +505,8 @@ export interface ResolvedLabel {
|
|
|
505
505
|
};
|
|
506
506
|
/** Background color behind the label text. */
|
|
507
507
|
background?: string;
|
|
508
|
+
/** Whether to show the paint-order stroke halo. Default true. */
|
|
509
|
+
halo?: boolean;
|
|
508
510
|
}
|
|
509
511
|
|
|
510
512
|
// ---------------------------------------------------------------------------
|
package/src/types/spec.ts
CHANGED
|
@@ -563,6 +563,8 @@ export interface TextAnnotation extends AnnotationBase {
|
|
|
563
563
|
};
|
|
564
564
|
/** Background color behind the text. Useful for readability over chart lines. */
|
|
565
565
|
background?: string;
|
|
566
|
+
/** Whether to show the paint-order stroke halo behind text. Default true. Set false for white text on colored backgrounds. */
|
|
567
|
+
halo?: boolean;
|
|
566
568
|
}
|
|
567
569
|
|
|
568
570
|
/**
|