cx 25.4.0 → 25.4.1
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/manifest.js +615 -615
- package/package.json +1 -1
- package/src/charts/Legend.d.ts +45 -45
package/package.json
CHANGED
package/src/charts/Legend.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import * as Cx from "../core";
|
|
2
|
-
|
|
3
|
-
interface LegendProps extends Cx.HtmlElementProps {
|
|
4
|
-
/** Name of the legend. Default is `legend`. */
|
|
5
|
-
name?: string;
|
|
6
|
-
|
|
7
|
-
/** Base CSS class to be applied to the element. Defaults to `legend`. */
|
|
8
|
-
baseClass?: string;
|
|
9
|
-
|
|
10
|
-
/** Switch to vertical mode. */
|
|
11
|
-
vertical?: boolean;
|
|
12
|
-
|
|
13
|
-
/** Size of the svg shape container in pixels. Default value is 20. */
|
|
14
|
-
svgSize?: number;
|
|
15
|
-
|
|
16
|
-
/** Shape size in pixels. Default value is 18. */
|
|
17
|
-
shapeSize?: number;
|
|
18
|
-
|
|
19
|
-
/** Default shape that will be applied to the all legend items. */
|
|
20
|
-
shape?: Cx.StringProp;
|
|
21
|
-
|
|
22
|
-
/** CSS style that will be applied to the legend entry. */
|
|
23
|
-
entryStyle
|
|
24
|
-
|
|
25
|
-
/** CSS class that will be applied to the legend entry. */
|
|
26
|
-
entryClass
|
|
27
|
-
|
|
28
|
-
/** CSS style that will be applied to the legend entry value segment. */
|
|
29
|
-
valueStyle
|
|
30
|
-
|
|
31
|
-
/** CSS class that will be applied to the legend entry value segment. */
|
|
32
|
-
valueClass
|
|
33
|
-
|
|
34
|
-
/** Set to true to show values. Mostly used for PieChart legends. */
|
|
35
|
-
showValues
|
|
36
|
-
|
|
37
|
-
/** Format used for values, i.e. n;2 or currency. The default value is s.*/
|
|
38
|
-
valueFormat
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export class Legend extends Cx.Widget<LegendProps> {
|
|
42
|
-
static Scope(): any;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export class LegendScope extends Cx.Widget<Cx.PureContainerProps> {}
|
|
1
|
+
import * as Cx from "../core";
|
|
2
|
+
|
|
3
|
+
interface LegendProps extends Cx.HtmlElementProps {
|
|
4
|
+
/** Name of the legend. Default is `legend`. */
|
|
5
|
+
name?: string;
|
|
6
|
+
|
|
7
|
+
/** Base CSS class to be applied to the element. Defaults to `legend`. */
|
|
8
|
+
baseClass?: string;
|
|
9
|
+
|
|
10
|
+
/** Switch to vertical mode. */
|
|
11
|
+
vertical?: boolean;
|
|
12
|
+
|
|
13
|
+
/** Size of the svg shape container in pixels. Default value is 20. */
|
|
14
|
+
svgSize?: number;
|
|
15
|
+
|
|
16
|
+
/** Shape size in pixels. Default value is 18. */
|
|
17
|
+
shapeSize?: number;
|
|
18
|
+
|
|
19
|
+
/** Default shape that will be applied to the all legend items. */
|
|
20
|
+
shape?: Cx.StringProp;
|
|
21
|
+
|
|
22
|
+
/** CSS style that will be applied to the legend entry. */
|
|
23
|
+
entryStyle?: Cx.StyleProp;
|
|
24
|
+
|
|
25
|
+
/** CSS class that will be applied to the legend entry. */
|
|
26
|
+
entryClass?: Cx.ClassProp;
|
|
27
|
+
|
|
28
|
+
/** CSS style that will be applied to the legend entry value segment. */
|
|
29
|
+
valueStyle?: Cx.StyleProp;
|
|
30
|
+
|
|
31
|
+
/** CSS class that will be applied to the legend entry value segment. */
|
|
32
|
+
valueClass?: Cx.ClassProp;
|
|
33
|
+
|
|
34
|
+
/** Set to true to show values. Mostly used for PieChart legends. */
|
|
35
|
+
showValues?: Cx.BooleanProp;
|
|
36
|
+
|
|
37
|
+
/** Format used for values, i.e. n;2 or currency. The default value is s.*/
|
|
38
|
+
valueFormat?: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export class Legend extends Cx.Widget<LegendProps> {
|
|
42
|
+
static Scope(): any;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class LegendScope extends Cx.Widget<Cx.PureContainerProps> {}
|