@bino-bi/bn-template-engine 1.0.0-next.49 → 1.0.0-next.50
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.
|
@@ -13,6 +13,28 @@
|
|
|
13
13
|
"order": {
|
|
14
14
|
"$ref": "#/definitions/StackOrder",
|
|
15
15
|
"description": "Order of the segments in a stack. Default: `dataset`."
|
|
16
|
+
},
|
|
17
|
+
"notation": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"none",
|
|
21
|
+
"scenario"
|
|
22
|
+
],
|
|
23
|
+
"description": "`bn-chart-time`: `scenario` gives a segment the look of its scenario. Default: `none`."
|
|
24
|
+
},
|
|
25
|
+
"legend": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"left",
|
|
29
|
+
"right",
|
|
30
|
+
"both",
|
|
31
|
+
"none"
|
|
32
|
+
],
|
|
33
|
+
"description": "`bn-chart-time`: where the series names stand. Default: `left`."
|
|
34
|
+
},
|
|
35
|
+
"percentMark": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"description": "`bn-chart-time`, mode `relative`: plain shares and one `100%` mark. Default: `false`."
|
|
16
38
|
}
|
|
17
39
|
},
|
|
18
40
|
"required": [
|
package/dist/types/schemas.d.ts
CHANGED
|
@@ -45,6 +45,12 @@ export interface Stack {
|
|
|
45
45
|
mode?: StackMode;
|
|
46
46
|
/** Order of the segments in a stack. Default: `dataset`. */
|
|
47
47
|
order?: StackOrder;
|
|
48
|
+
/** `bn-chart-time`: `scenario` gives a segment the look of its scenario. Default: `none`. */
|
|
49
|
+
notation?: "none" | "scenario";
|
|
50
|
+
/** `bn-chart-time`: where the series names stand. Default: `left`. */
|
|
51
|
+
legend?: "left" | "right" | "both" | "none";
|
|
52
|
+
/** `bn-chart-time`, mode `relative`: plain shares and one `100%` mark. Default: `false`. */
|
|
53
|
+
percentMark?: boolean;
|
|
48
54
|
}
|
|
49
55
|
/** The `x` and `y` attribute of `bn-chart-scatter` and `bn-chart-bubble`, in its JSON form. */
|
|
50
56
|
export type Axis = AxisConfig;
|
package/package.json
CHANGED