@hpcc-js/chart 3.1.0 → 3.2.0
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.js +323 -67
- package/dist/index.js.map +4 -4
- package/package.json +10 -10
- package/src/Axis.ts +4 -4
- package/src/Bubble.ts +18 -13
- package/src/Column.ts +12 -11
- package/src/D3Cloud.ts +13 -13
- package/src/HexBin.ts +15 -10
- package/src/Pie.ts +31 -27
- package/src/Radar.ts +15 -15
- package/src/RadialBar.ts +18 -13
- package/src/Scatter.ts +35 -23
- package/src/StatChart.ts +9 -1
- package/src/WordCloud.ts +55 -50
- package/src/XYAxis.ts +3 -3
- package/src/__package__.ts +2 -2
- package/types/Axis.d.ts +2 -2
- package/types/Bubble.d.ts +13 -15
- package/types/Column.d.ts +8 -7
- package/types/HexBin.d.ts +12 -16
- package/types/Pie.d.ts +23 -34
- package/types/Radar.d.ts +10 -10
- package/types/RadialBar.d.ts +10 -10
- package/types/Scatter.d.ts +28 -48
- package/types/StatChart.d.ts +1 -0
- package/types/WordCloud.d.ts +50 -109
- package/types/XYAxis.d.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/dist/index.css +0 -2
- package/dist/index.css.map +0 -7
package/src/WordCloud.ts
CHANGED
|
@@ -184,67 +184,72 @@ export class WordCloud extends SVGWidget {
|
|
|
184
184
|
this._prevZoom = scale;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
+
}
|
|
188
|
+
WordCloud.prototype._class += " chart_WordCloud";
|
|
189
|
+
WordCloud.prototype.implements(I2DChart.prototype);
|
|
190
|
+
WordCloud.prototype.implements(ITooltip.prototype);
|
|
191
|
+
WordCloud.prototype.mixin(Utility.SimpleSelectionMixin);
|
|
187
192
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
193
|
+
export interface WordCloud {
|
|
194
|
+
|
|
195
|
+
paletteID(): string;
|
|
196
|
+
paletteID(_: string): this;
|
|
197
|
+
useClonedPalette(): boolean;
|
|
198
|
+
useClonedPalette(_: boolean): this;
|
|
199
|
+
fontFamily(): string;
|
|
200
|
+
fontFamily(_: string): this;
|
|
201
|
+
fontSizeFrom(): number;
|
|
202
|
+
fontSizeFrom(_: number): this;
|
|
203
|
+
fontSizeTo(): number;
|
|
204
|
+
fontSizeTo(_: number): this;
|
|
205
|
+
angleFrom(): number;
|
|
206
|
+
angleFrom(_: number): this;
|
|
207
|
+
angleTo(): number;
|
|
208
|
+
angleTo(_: number): this;
|
|
209
|
+
angleCount(): number;
|
|
210
|
+
angleCount(_: number): this;
|
|
211
|
+
padding(): number;
|
|
212
|
+
padding(_: number): this;
|
|
213
|
+
scaleMode(): string;
|
|
214
|
+
scaleMode(_: string): this;
|
|
215
|
+
spiral(): string;
|
|
216
|
+
spiral(_: string): this;
|
|
217
|
+
offsetX(): number;
|
|
218
|
+
offsetX(_: number): this;
|
|
219
|
+
offsetY(): number;
|
|
220
|
+
offsetY(_: number): this;
|
|
221
|
+
zoom(): number;
|
|
222
|
+
zoom(_: number): this;
|
|
223
|
+
zoom_exists(): boolean;
|
|
216
224
|
|
|
217
225
|
// I2DChart
|
|
218
226
|
_palette;
|
|
219
|
-
click
|
|
220
|
-
dblclick
|
|
227
|
+
click(row, column, selected): void;
|
|
228
|
+
dblclick(row, column, selected): void;
|
|
221
229
|
|
|
222
230
|
// ITooltip ---
|
|
223
231
|
tooltip;
|
|
224
|
-
tooltipHTML
|
|
225
|
-
tooltipFormat
|
|
226
|
-
tooltipStyle
|
|
227
|
-
|
|
228
|
-
tooltipValueFormat
|
|
229
|
-
|
|
230
|
-
tooltipSeriesColor
|
|
231
|
-
|
|
232
|
-
tooltipLabelColor
|
|
233
|
-
|
|
234
|
-
tooltipValueColor
|
|
235
|
-
|
|
236
|
-
tooltipTick
|
|
237
|
-
|
|
238
|
-
tooltipOffset
|
|
239
|
-
|
|
232
|
+
tooltipHTML(_?): any;
|
|
233
|
+
tooltipFormat(opts): any;
|
|
234
|
+
tooltipStyle(): string;
|
|
235
|
+
tooltipStyle(_: string): this;
|
|
236
|
+
tooltipValueFormat(): string;
|
|
237
|
+
tooltipValueFormat(_: string): this;
|
|
238
|
+
tooltipSeriesColor(): string;
|
|
239
|
+
tooltipSeriesColor(_: string): this;
|
|
240
|
+
tooltipLabelColor(): string;
|
|
241
|
+
tooltipLabelColor(_: string): this;
|
|
242
|
+
tooltipValueColor(): string;
|
|
243
|
+
tooltipValueColor(_: string): this;
|
|
244
|
+
tooltipTick(): boolean;
|
|
245
|
+
tooltipTick(_: boolean): this;
|
|
246
|
+
tooltipOffset(): number;
|
|
247
|
+
tooltipOffset(_: number): this;
|
|
248
|
+
tooltipOffset_exists(): boolean;
|
|
240
249
|
|
|
241
250
|
// SimpleSelectionMixin
|
|
242
251
|
_selection: Utility.SimpleSelection;
|
|
243
252
|
}
|
|
244
|
-
WordCloud.prototype._class += " chart_WordCloud";
|
|
245
|
-
WordCloud.prototype.implements(I2DChart.prototype);
|
|
246
|
-
WordCloud.prototype.implements(ITooltip.prototype);
|
|
247
|
-
WordCloud.prototype.mixin(Utility.SimpleSelectionMixin);
|
|
248
253
|
|
|
249
254
|
WordCloud.prototype.publish("paletteID", "default", "set", "Color palette for this widget", WordCloud.prototype._palette.switch(), { tags: ["Basic", "Shared"] });
|
|
250
255
|
WordCloud.prototype.publish("useClonedPalette", false, "boolean", "Enable or disable using a cloned palette", null, { tags: ["Intermediate", "Shared"] });
|
package/src/XYAxis.ts
CHANGED
|
@@ -16,7 +16,6 @@ export class XYAxis extends SVGWidget {
|
|
|
16
16
|
protected yBrush;
|
|
17
17
|
protected margin;
|
|
18
18
|
protected focusChart: XYAxis;
|
|
19
|
-
_palette;
|
|
20
19
|
|
|
21
20
|
constructor() {
|
|
22
21
|
super();
|
|
@@ -219,7 +218,7 @@ export class XYAxis extends SVGWidget {
|
|
|
219
218
|
const isHorizontal = this.orientation() === "horizontal";
|
|
220
219
|
const handleTypes = this.use2dSelection() ? [] : isHorizontal ? [{ type: "w" }, { type: "e" }] : [{ type: "n" }, { type: "s" }];
|
|
221
220
|
const handlePath = this.svgBrush.selectAll(".handle--custom").data(handleTypes);
|
|
222
|
-
const s = d3Event()
|
|
221
|
+
const s = d3Event()?.selection;
|
|
223
222
|
if (s == null) {
|
|
224
223
|
handlePath.attr("display", "none");
|
|
225
224
|
} else if (isHorizontal) {
|
|
@@ -571,7 +570,7 @@ export class XYAxis extends SVGWidget {
|
|
|
571
570
|
return masterColumns.indexOf(column);
|
|
572
571
|
}
|
|
573
572
|
|
|
574
|
-
layerData(host
|
|
573
|
+
layerData(host?: XYAxis): any[][] {
|
|
575
574
|
if (arguments.length === 1) {
|
|
576
575
|
const indices = this.layerColumnIndices(host);
|
|
577
576
|
return host.data().map(row => {
|
|
@@ -659,6 +658,7 @@ XYAxis.prototype._class += " chart_XYAxis";
|
|
|
659
658
|
XYAxis.prototype.mixin(Utility.SimpleSelectionMixin);
|
|
660
659
|
|
|
661
660
|
export interface XYAxis {
|
|
661
|
+
_palette;
|
|
662
662
|
orientation(): "horizontal" | "vertical";
|
|
663
663
|
orientation(_: "horizontal" | "vertical"): this;
|
|
664
664
|
orientation_default(_: string);
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/chart";
|
|
2
|
-
export const PKG_VERSION = "3.
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "3.2.0";
|
|
3
|
+
export const BUILD_VERSION = "3.2.0";
|
package/types/Axis.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare class Axis extends SVGWidget {
|
|
|
31
31
|
scalePos(d: any): any;
|
|
32
32
|
bandwidth(): any;
|
|
33
33
|
isHorizontal(): boolean;
|
|
34
|
-
domain(_
|
|
35
|
-
range(_
|
|
34
|
+
domain(_?: any): any;
|
|
35
|
+
range(_?: any): any;
|
|
36
36
|
invert(pos: any): any;
|
|
37
37
|
guideTarget(_: any): this;
|
|
38
38
|
enter(domNode: any, element: any): void;
|
package/types/Bubble.d.ts
CHANGED
|
@@ -10,22 +10,20 @@ export declare class Bubble extends SVGWidget {
|
|
|
10
10
|
enter(domNode: any, element: any): void;
|
|
11
11
|
update(domNode: any, element: any): void;
|
|
12
12
|
exit(domNode: any, element: any): void;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
useClonedPalette:
|
|
18
|
-
|
|
19
|
-
(_: boolean): Bubble;
|
|
20
|
-
};
|
|
13
|
+
}
|
|
14
|
+
export interface Bubble {
|
|
15
|
+
paletteID(): string;
|
|
16
|
+
paletteID(_: string): this;
|
|
17
|
+
useClonedPalette(): boolean;
|
|
18
|
+
useClonedPalette(_: boolean): this;
|
|
21
19
|
_palette: any;
|
|
22
|
-
fillColor
|
|
23
|
-
textColor
|
|
24
|
-
click
|
|
25
|
-
dblclick
|
|
20
|
+
fillColor(row: any[], column: string, value: number): string;
|
|
21
|
+
textColor(row: any[], column: string, value: number): string;
|
|
22
|
+
click(row: any, column: any, selected: any): void;
|
|
23
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
26
24
|
tooltip: any;
|
|
27
|
-
tooltipHTML
|
|
28
|
-
tooltipFormat
|
|
29
|
-
tooltipStyle
|
|
25
|
+
tooltipHTML(_: any): string;
|
|
26
|
+
tooltipFormat(_: any): string;
|
|
27
|
+
tooltipStyle(): "default" | "none" | "series-table";
|
|
30
28
|
_selection: any;
|
|
31
29
|
}
|
package/types/Column.d.ts
CHANGED
|
@@ -19,13 +19,6 @@ export declare class Column extends XYAxis {
|
|
|
19
19
|
valueTextWidth: number;
|
|
20
20
|
};
|
|
21
21
|
innerText(origRow: any, lparam: any, idx: any): string;
|
|
22
|
-
fillColor: (row: any, column: any, value: any, origRow: any) => string;
|
|
23
|
-
textColor: (row: any, column: any, value: any, origRow: any) => string;
|
|
24
|
-
dblclick: (row: any, column: any, selected: any) => void;
|
|
25
|
-
tooltip: any;
|
|
26
|
-
tooltipHTML: (_: any) => string;
|
|
27
|
-
tooltipFormat: (_: any) => string;
|
|
28
|
-
tooltipStyle: () => "default" | "none" | "series-table";
|
|
29
22
|
}
|
|
30
23
|
export interface Column {
|
|
31
24
|
paletteID(): string;
|
|
@@ -65,4 +58,12 @@ export interface Column {
|
|
|
65
58
|
innerTextPadding_exists(): boolean;
|
|
66
59
|
tooltipInnerTextEllipsedOnly(): boolean;
|
|
67
60
|
tooltipInnerTextEllipsedOnly(_: boolean): this;
|
|
61
|
+
fillColor(row: any, column: any, value: any, origRow: any): string;
|
|
62
|
+
textColor(row: any, column: any, value: any, origRow: any): string;
|
|
63
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
64
|
+
tooltip: any;
|
|
65
|
+
tooltipHTML(_: any): string;
|
|
66
|
+
tooltipFormat(_: any): string;
|
|
67
|
+
tooltipStyle(): "default" | "none" | "series-table";
|
|
68
|
+
tooltipStyle(_: "default" | "none" | "series-table"): this;
|
|
68
69
|
}
|
package/types/HexBin.d.ts
CHANGED
|
@@ -13,21 +13,17 @@ export declare class HexBin extends XYAxis {
|
|
|
13
13
|
exit(domNode: any, element: any): void;
|
|
14
14
|
click(row: object[], column: any, selected: any): void;
|
|
15
15
|
dblclick(row: object[], column: any, selected: any): void;
|
|
16
|
+
}
|
|
17
|
+
export interface HexBin {
|
|
16
18
|
tooltip: any;
|
|
17
|
-
tooltipHTML
|
|
18
|
-
tooltipFormat
|
|
19
|
-
tooltipValueFormat
|
|
20
|
-
tooltipValueFormat_default
|
|
21
|
-
paletteID:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
(_: boolean): HexBin;
|
|
28
|
-
};
|
|
29
|
-
binSize: {
|
|
30
|
-
(): number;
|
|
31
|
-
(_: number): HexBin;
|
|
32
|
-
};
|
|
19
|
+
tooltipHTML(_: any): string;
|
|
20
|
+
tooltipFormat(_: any): string;
|
|
21
|
+
tooltipValueFormat(_: any): string;
|
|
22
|
+
tooltipValueFormat_default(_: any): string;
|
|
23
|
+
paletteID(): string;
|
|
24
|
+
paletteID(_: string): this;
|
|
25
|
+
useClonedPalette(): boolean;
|
|
26
|
+
useClonedPalette(_: boolean): this;
|
|
27
|
+
binSize(): number;
|
|
28
|
+
binSize(_: number): this;
|
|
33
29
|
}
|
package/types/Pie.d.ts
CHANGED
|
@@ -37,40 +37,6 @@ export declare class Pie extends SVGWidget {
|
|
|
37
37
|
adjustForOverlap(): void;
|
|
38
38
|
exit(domNode: any, element: any): void;
|
|
39
39
|
updateD3Pie(): void;
|
|
40
|
-
paletteID: (_?: string) => string | Pie;
|
|
41
|
-
useClonedPalette: (_?: boolean) => boolean | Pie;
|
|
42
|
-
outerText: (_?: boolean) => boolean | Pie;
|
|
43
|
-
innerRadius: {
|
|
44
|
-
(): number;
|
|
45
|
-
(_: number): Pie;
|
|
46
|
-
};
|
|
47
|
-
innerRadius_exists: () => boolean;
|
|
48
|
-
_palette: any;
|
|
49
|
-
fillColor: (row: any[], column: string, value: number) => string;
|
|
50
|
-
textColor: (row: any[], column: string, value: number) => string;
|
|
51
|
-
click: (row: any, column: any, selected: any) => void;
|
|
52
|
-
dblclick: (row: any, column: any, selected: any) => void;
|
|
53
|
-
tooltip: any;
|
|
54
|
-
tooltipHTML: (_: any) => string;
|
|
55
|
-
tooltipFormat: (_: any) => string;
|
|
56
|
-
tooltipStyle: () => "default" | "none" | "series-table";
|
|
57
|
-
tooltipTick: {
|
|
58
|
-
(): boolean;
|
|
59
|
-
(_: boolean): Pie;
|
|
60
|
-
};
|
|
61
|
-
tooltipTick_default: {
|
|
62
|
-
(): boolean;
|
|
63
|
-
(_: boolean): Pie;
|
|
64
|
-
};
|
|
65
|
-
tooltipOffset: {
|
|
66
|
-
(): number;
|
|
67
|
-
(_: number): Pie;
|
|
68
|
-
};
|
|
69
|
-
tooltipOffset_default: {
|
|
70
|
-
(): number;
|
|
71
|
-
(_: number): Pie;
|
|
72
|
-
};
|
|
73
|
-
_selection: Utility.SimpleSelection;
|
|
74
40
|
}
|
|
75
41
|
export interface Pie {
|
|
76
42
|
showSeriesValue(): boolean;
|
|
@@ -91,4 +57,27 @@ export interface Pie {
|
|
|
91
57
|
showLabels(_: boolean): this;
|
|
92
58
|
sortDataByValue(): "none" | "ascending" | "descending";
|
|
93
59
|
sortDataByValue(_: "none" | "ascending" | "descending"): this;
|
|
60
|
+
paletteID(_?: string): string | Pie;
|
|
61
|
+
useClonedPalette(_?: boolean): boolean | Pie;
|
|
62
|
+
outerText(_?: boolean): boolean | Pie;
|
|
63
|
+
innerRadius(): number;
|
|
64
|
+
innerRadius_exists(): boolean;
|
|
65
|
+
_palette: any;
|
|
66
|
+
fillColor(row: any[], column: string, value: number): string;
|
|
67
|
+
textColor(row: any[], column: string, value: number): string;
|
|
68
|
+
click(row: any, column: any, selected: any): void;
|
|
69
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
70
|
+
tooltip: any;
|
|
71
|
+
tooltipHTML(_: any): string;
|
|
72
|
+
tooltipFormat(_: any): string;
|
|
73
|
+
tooltipStyle(): "default" | "none" | "series-table";
|
|
74
|
+
tooltipTick(): boolean;
|
|
75
|
+
tooltipTick(_: boolean): Pie;
|
|
76
|
+
tooltipTick_default(): boolean;
|
|
77
|
+
tooltipTick_default(_: boolean): Pie;
|
|
78
|
+
tooltipOffset(): number;
|
|
79
|
+
tooltipOffset(_: number): Pie;
|
|
80
|
+
tooltipOffset_default(): number;
|
|
81
|
+
tooltipOffset_default(_: number): Pie;
|
|
82
|
+
_selection: Utility.SimpleSelection;
|
|
94
83
|
}
|
package/types/Radar.d.ts
CHANGED
|
@@ -11,16 +11,6 @@ export declare class Radar extends SVGWidget {
|
|
|
11
11
|
degrees2radians(d: any): number;
|
|
12
12
|
radians2degrees(r: any): number;
|
|
13
13
|
point_in_polygon(point: any, vs: any): boolean;
|
|
14
|
-
_palette: any;
|
|
15
|
-
fillColor: (row: any, column: any, value: any) => string;
|
|
16
|
-
strokeColor: (row: any, column: any, value: any) => string;
|
|
17
|
-
textColor: (row: any, column: any, value: any) => string;
|
|
18
|
-
click: (row: any, column: any, selected: any) => void;
|
|
19
|
-
dblclick: (row: any, column: any, selected: any) => void;
|
|
20
|
-
tooltip: any;
|
|
21
|
-
tooltipHTML: (_: any) => string;
|
|
22
|
-
tooltipFormat: (_: any) => string;
|
|
23
|
-
_selection: any;
|
|
24
14
|
}
|
|
25
15
|
export interface Radar {
|
|
26
16
|
labelPaddingRatio(): number;
|
|
@@ -43,4 +33,14 @@ export interface Radar {
|
|
|
43
33
|
pointShape(_: string): this;
|
|
44
34
|
pointSize(): number;
|
|
45
35
|
pointSize(_: number): this;
|
|
36
|
+
_palette: any;
|
|
37
|
+
fillColor(row: any, column: any, value: any): string;
|
|
38
|
+
strokeColor(row: any, column: any, value: any): string;
|
|
39
|
+
textColor(row: any, column: any, value: any): string;
|
|
40
|
+
click(row: any, column: any, selected: any): void;
|
|
41
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
42
|
+
tooltip: any;
|
|
43
|
+
tooltipHTML(_: any): string;
|
|
44
|
+
tooltipFormat(_: any): string;
|
|
45
|
+
_selection: any;
|
|
46
46
|
}
|
package/types/RadialBar.d.ts
CHANGED
|
@@ -13,16 +13,6 @@ export declare class RadialBar extends SVGWidget {
|
|
|
13
13
|
update(domNode: any, element: any): void;
|
|
14
14
|
degrees(radians: any): number;
|
|
15
15
|
radians(degrees: any): number;
|
|
16
|
-
_palette: any;
|
|
17
|
-
fillColor: (row: any, column: any, value: any) => string;
|
|
18
|
-
strokeColor: (row: any, column: any, value: any) => string;
|
|
19
|
-
textColor: (row: any, column: any, value: any) => string;
|
|
20
|
-
click: (row: any, column: any, selected: any) => void;
|
|
21
|
-
dblclick: (row: any, column: any, selected: any) => void;
|
|
22
|
-
tooltip: any;
|
|
23
|
-
tooltipHTML: (_: any) => string;
|
|
24
|
-
tooltipFormat: (_: any) => string;
|
|
25
|
-
_selection: any;
|
|
26
16
|
}
|
|
27
17
|
export interface RadialBar {
|
|
28
18
|
paletteID(): string;
|
|
@@ -40,4 +30,14 @@ export interface RadialBar {
|
|
|
40
30
|
transitionDelay(_: number): this;
|
|
41
31
|
transitionDuration(): number;
|
|
42
32
|
transitionDuration(_: number): this;
|
|
33
|
+
_palette: any;
|
|
34
|
+
fillColor(row: any, column: any, value: any): string;
|
|
35
|
+
strokeColor(row: any, column: any, value: any): string;
|
|
36
|
+
textColor(row: any, column: any, value: any): string;
|
|
37
|
+
click(row: any, column: any, selected: any): void;
|
|
38
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
39
|
+
tooltip: any;
|
|
40
|
+
tooltipHTML(_: any): string;
|
|
41
|
+
tooltipFormat(_: any): string;
|
|
42
|
+
_selection: any;
|
|
43
43
|
}
|
package/types/Scatter.d.ts
CHANGED
|
@@ -15,54 +15,6 @@ export declare class Scatter extends XYAxis {
|
|
|
15
15
|
protected _prevPointShape: any;
|
|
16
16
|
layerUpdate(host: XYAxis, element: any, duration?: number): void;
|
|
17
17
|
exit(domNode: any, element: any): void;
|
|
18
|
-
paletteID: {
|
|
19
|
-
(): string;
|
|
20
|
-
(_: string): Scatter;
|
|
21
|
-
};
|
|
22
|
-
useClonedPalette: {
|
|
23
|
-
(): boolean;
|
|
24
|
-
(_: boolean): Scatter;
|
|
25
|
-
};
|
|
26
|
-
pointSizeScale: {
|
|
27
|
-
(): string;
|
|
28
|
-
(_: string): Scatter;
|
|
29
|
-
};
|
|
30
|
-
pointShape: {
|
|
31
|
-
(): string;
|
|
32
|
-
(_: string): Scatter;
|
|
33
|
-
};
|
|
34
|
-
pointSize: {
|
|
35
|
-
(): number;
|
|
36
|
-
(_: number): Scatter;
|
|
37
|
-
};
|
|
38
|
-
interpolate: {
|
|
39
|
-
(): string;
|
|
40
|
-
(_: string): Scatter;
|
|
41
|
-
};
|
|
42
|
-
interpolate_default: {
|
|
43
|
-
(): string;
|
|
44
|
-
(_: string): Scatter;
|
|
45
|
-
};
|
|
46
|
-
interpolateFill: {
|
|
47
|
-
(): boolean;
|
|
48
|
-
(_: boolean): Scatter;
|
|
49
|
-
};
|
|
50
|
-
interpolateFill_default: {
|
|
51
|
-
(): boolean;
|
|
52
|
-
(_: boolean): Scatter;
|
|
53
|
-
};
|
|
54
|
-
interpolateFillOpacity: {
|
|
55
|
-
(): number;
|
|
56
|
-
(_: number): Scatter;
|
|
57
|
-
};
|
|
58
|
-
fillColor: (row: any, column: any, value: any, origRow: any) => string;
|
|
59
|
-
strokeColor: (row: any, column: any, value: any, origRow: any) => string;
|
|
60
|
-
textColor: (row: any, column: any, value: any, origRow: any) => string;
|
|
61
|
-
dblclick: (row: any, column: any, selected: any) => void;
|
|
62
|
-
tooltip: any;
|
|
63
|
-
tooltipHTML: (_: any) => string;
|
|
64
|
-
tooltipFormat: (_: any) => string;
|
|
65
|
-
tooltipStyle: () => "default" | "none" | "series-table";
|
|
66
18
|
}
|
|
67
19
|
export interface Scatter {
|
|
68
20
|
valueAnchor(): string;
|
|
@@ -75,4 +27,32 @@ export interface Scatter {
|
|
|
75
27
|
pointDarken(_: boolean): this;
|
|
76
28
|
interpolateDarken(): boolean;
|
|
77
29
|
interpolateDarken(_: boolean): this;
|
|
30
|
+
paletteID(): string;
|
|
31
|
+
paletteID(_: string): this;
|
|
32
|
+
useClonedPalette(): boolean;
|
|
33
|
+
useClonedPalette(_: boolean): this;
|
|
34
|
+
pointSizeScale(): string;
|
|
35
|
+
pointSizeScale(_: string): this;
|
|
36
|
+
pointShape(): string;
|
|
37
|
+
pointShape(_: string): this;
|
|
38
|
+
pointSize(): number;
|
|
39
|
+
pointSize(_: number): this;
|
|
40
|
+
interpolate(): string;
|
|
41
|
+
interpolate(_: string): this;
|
|
42
|
+
interpolate_default(): string;
|
|
43
|
+
interpolate_default(_: string): this;
|
|
44
|
+
interpolateFill(): boolean;
|
|
45
|
+
interpolateFill(_: boolean): this;
|
|
46
|
+
interpolateFill_default(): boolean;
|
|
47
|
+
interpolateFill_default(_: boolean): this;
|
|
48
|
+
interpolateFillOpacity(): number;
|
|
49
|
+
interpolateFillOpacity(_: number): this;
|
|
50
|
+
fillColor(row: any, column: any, value: any, origRow: any): string;
|
|
51
|
+
strokeColor(row: any, column: any, value: any, origRow: any): string;
|
|
52
|
+
textColor(row: any, column: any, value: any, origRow: any): string;
|
|
53
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
54
|
+
tooltip: any;
|
|
55
|
+
tooltipHTML(_: any): string;
|
|
56
|
+
tooltipFormat(_: any): string;
|
|
57
|
+
tooltipStyle(): "default" | "none" | "series-table";
|
|
78
58
|
}
|
package/types/StatChart.d.ts
CHANGED