@xplortech/apollo-data 0.0.4 → 0.0.6
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/README.md +15 -91
- package/dist/apollo-data/apollo-data.esm.js +1 -1
- package/dist/apollo-data/p-25841a73.entry.js +1 -0
- package/dist/apollo-data/p-2nuV5Vny.js +1 -0
- package/dist/apollo-data/p-839050b7.entry.js +1 -0
- package/dist/apollo-data/p-C2k3WBpi.js +11 -0
- package/dist/apollo-data/p-D64asVrg.js +2 -0
- package/dist/apollo-data/p-e2c3a317.entry.js +1 -0
- package/dist/cjs/apollo-data-bar-chart.cjs.entry.js +315 -0
- package/dist/{esm/apollo-data-bar-chart_2.entry.js → cjs/apollo-data-base-COGMOEqL.js} +9 -724
- package/dist/cjs/apollo-data-donut-chart.cjs.entry.js +408 -0
- package/dist/cjs/apollo-data-heat-map_4.cjs.entry.js +883 -0
- package/dist/cjs/apollo-data.cjs.js +3 -3
- package/dist/cjs/constants-B3weDEpc.js +5 -0
- package/dist/cjs/{index-Cl7HgRm0.js → index-Bd5risOy.js} +116 -63
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/apollo-data-base.js +4 -8
- package/dist/collection/collection-manifest.json +7 -2
- package/dist/collection/components/apollo-data-bar/apollo-data-bar.js +8 -7
- package/dist/collection/components/apollo-data-bar/apollo-data-bar.stories.js +122 -0
- package/dist/collection/components/apollo-data-donut/apollo-data-donut.js +1 -1
- package/dist/collection/components/apollo-data-donut/apollo-data-donut.stories.js +132 -0
- package/dist/collection/components/apollo-data-heat-map/apollo-data-heat-map.js +208 -0
- package/dist/collection/components/apollo-data-heat-map/apollo-data-heat-map.stories.js +137 -0
- package/dist/collection/components/apollo-data-line/apollo-data-line.js +348 -0
- package/dist/collection/components/apollo-data-line/apollo-data-line.stories.js +122 -0
- package/dist/collection/components/apollo-data-scatter/apollo-data-scatter.js +329 -0
- package/dist/collection/components/apollo-data-scatter/apollo-data-scatter.stories.js +147 -0
- package/dist/collection/components/apollo-data-world-map/apollo-data-world-map.js +294 -0
- package/dist/collection/components/apollo-data-world-map/apollo-data-world-map.stories.js +126 -0
- package/dist/collection/examples/apollo-data-heat-map.examples.js +131 -0
- package/dist/collection/examples/apollo-data-line.examples.js +91 -0
- package/dist/collection/examples/apollo-data-scatter.examples.js +94 -0
- package/dist/collection/examples/apollo-data-world-map.examples.js +45 -0
- package/dist/collection/examples/index.js +3 -0
- package/dist/collection/utils/code-generator.js +1 -1
- package/dist/components/apollo-data-bar-chart.js +1 -1
- package/dist/components/apollo-data-donut-chart.js +1 -1
- package/dist/components/apollo-data-heat-map.d.ts +11 -0
- package/dist/components/apollo-data-heat-map.js +1 -0
- package/dist/components/apollo-data-line-chart.d.ts +11 -0
- package/dist/components/apollo-data-line-chart.js +1 -0
- package/dist/components/apollo-data-scatter-chart.d.ts +11 -0
- package/dist/components/apollo-data-scatter-chart.js +1 -0
- package/dist/components/apollo-data-world-map-chart.d.ts +11 -0
- package/dist/components/apollo-data-world-map-chart.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-2nuV5Vny.js +1 -0
- package/dist/components/p-CfbMSXKd.js +11 -0
- package/dist/components/p-gcjU8DVr.js +1 -0
- package/dist/esm/apollo-data-bar-chart.entry.js +313 -0
- package/dist/{cjs/apollo-data-bar-chart_2.cjs.entry.js → esm/apollo-data-base-C2k3WBpi.js} +8 -728
- package/dist/esm/apollo-data-donut-chart.entry.js +406 -0
- package/dist/esm/apollo-data-heat-map_4.entry.js +878 -0
- package/dist/esm/apollo-data.js +4 -4
- package/dist/esm/constants-2nuV5Vny.js +3 -0
- package/dist/esm/{index-Bb2nY-Tf.js → index-D64asVrg.js} +116 -63
- package/dist/esm/loader.js +3 -3
- package/dist/types/apollo-data-base.d.ts +2 -2
- package/dist/types/components/apollo-data-bar/apollo-data-bar.stories.d.ts +5 -0
- package/dist/types/components/apollo-data-donut/apollo-data-donut.stories.d.ts +5 -0
- package/dist/types/components/apollo-data-heat-map/apollo-data-heat-map.d.ts +140 -0
- package/dist/types/components/apollo-data-heat-map/apollo-data-heat-map.stories.d.ts +5 -0
- package/dist/types/components/apollo-data-line/apollo-data-line.d.ts +244 -0
- package/dist/types/components/apollo-data-line/apollo-data-line.stories.d.ts +5 -0
- package/dist/types/components/apollo-data-scatter/apollo-data-scatter.d.ts +327 -0
- package/dist/types/components/apollo-data-scatter/apollo-data-scatter.stories.d.ts +5 -0
- package/dist/types/components/apollo-data-world-map/apollo-data-world-map.d.ts +281 -0
- package/dist/types/components/apollo-data-world-map/apollo-data-world-map.stories.d.ts +5 -0
- package/dist/types/components.d.ts +210 -4
- package/dist/types/examples/apollo-data-heat-map.examples.d.ts +11 -0
- package/dist/types/examples/apollo-data-line.examples.d.ts +12 -0
- package/dist/types/examples/apollo-data-scatter.examples.d.ts +11 -0
- package/dist/types/examples/apollo-data-world-map.examples.d.ts +11 -0
- package/dist/types/examples/index.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +23 -2
- package/dist/types/utils/code-generator.d.ts +1 -3
- package/package.json +8 -8
- package/src/examples/apollo-data-bar.examples.ts +157 -157
- package/src/examples/apollo-data-heat-map.examples.ts +147 -0
- package/src/examples/apollo-data-line.examples.ts +103 -0
- package/src/examples/apollo-data-scatter.examples.ts +109 -0
- package/src/examples/apollo-data-world-map.examples.ts +57 -0
- package/src/examples/index.ts +4 -1
- package/dist/apollo-data/p-Bb2nY-Tf.js +0 -2
- package/dist/apollo-data/p-e6584598.entry.js +0 -11
- package/dist/components/p-7XF5Cax8.js +0 -11
- package/dist/components/p-Dws5s-Xe.js +0 -1
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import { ApolloBase } from '../../apollo-data-base';
|
|
3
|
+
export interface LineDataItem {
|
|
4
|
+
category: string;
|
|
5
|
+
xValue: number;
|
|
6
|
+
yValue: number;
|
|
7
|
+
xLabel?: string;
|
|
8
|
+
yLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
export type LinePointStyle = 'circle' | 'square' | 'diamond' | 'cross' | 'triangle' | 'triangle-up' | 'triangle-down' | 'triangle-right' | 'triangle-left';
|
|
11
|
+
/** Stroke dash pattern for the lines: 'solid' | 'dashed' | 'dotted'. */
|
|
12
|
+
export type LineLineStyle = 'solid' | 'dashed' | 'dotted';
|
|
13
|
+
export interface LineSpec {
|
|
14
|
+
colorSet?: string[];
|
|
15
|
+
tooltipPrefix?: string;
|
|
16
|
+
currencySymbol?: string;
|
|
17
|
+
yAxisTitle?: string;
|
|
18
|
+
xAxisTitle?: string;
|
|
19
|
+
/** Shape of the data points. Defaults to 'circle'. */
|
|
20
|
+
pointStyle?: LinePointStyle;
|
|
21
|
+
/** Stroke style of the lines. Defaults to 'solid'. */
|
|
22
|
+
lineStyle?: LineLineStyle;
|
|
23
|
+
}
|
|
24
|
+
export declare class ApolloDataLineChart extends ApolloBase<LineDataItem[], LineSpec> implements ComponentInterface {
|
|
25
|
+
el: HTMLElement;
|
|
26
|
+
adData: string | LineDataItem[];
|
|
27
|
+
adSpec: string | LineSpec;
|
|
28
|
+
private static tooltipStylesInjected;
|
|
29
|
+
componentDidLoad(): void;
|
|
30
|
+
componentDidRender(): Promise<void>;
|
|
31
|
+
private injectTooltipStyles;
|
|
32
|
+
protected getViewData(data: LineDataItem[], spec?: LineSpec): Promise<{
|
|
33
|
+
$schema: string;
|
|
34
|
+
config: {
|
|
35
|
+
text: {
|
|
36
|
+
fill: string;
|
|
37
|
+
font: string;
|
|
38
|
+
labelFontSize: number;
|
|
39
|
+
labelFontWeight: number;
|
|
40
|
+
};
|
|
41
|
+
axis: {
|
|
42
|
+
labelColor: string;
|
|
43
|
+
titleColor: string;
|
|
44
|
+
labelFont: string;
|
|
45
|
+
titleFont: string;
|
|
46
|
+
titleFontWeight: number;
|
|
47
|
+
};
|
|
48
|
+
legend: {
|
|
49
|
+
labelColor: string;
|
|
50
|
+
titleColor: string;
|
|
51
|
+
labelFont: string;
|
|
52
|
+
titleFont: string;
|
|
53
|
+
labelFontSize: number;
|
|
54
|
+
labelLimit: number;
|
|
55
|
+
};
|
|
56
|
+
title: {
|
|
57
|
+
color: string;
|
|
58
|
+
font: string;
|
|
59
|
+
labelFontSize: number;
|
|
60
|
+
labelFontWeight: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
height: number;
|
|
64
|
+
autosize: {
|
|
65
|
+
type: string;
|
|
66
|
+
contains: string;
|
|
67
|
+
resize: boolean;
|
|
68
|
+
};
|
|
69
|
+
signals: {
|
|
70
|
+
name: string;
|
|
71
|
+
update: string;
|
|
72
|
+
}[];
|
|
73
|
+
width: {
|
|
74
|
+
signal: string;
|
|
75
|
+
};
|
|
76
|
+
data: any[];
|
|
77
|
+
scales: ({
|
|
78
|
+
name: string;
|
|
79
|
+
type: string;
|
|
80
|
+
domain: number[];
|
|
81
|
+
range: string;
|
|
82
|
+
padding: number;
|
|
83
|
+
nice?: undefined;
|
|
84
|
+
zero?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
name: string;
|
|
87
|
+
type: string;
|
|
88
|
+
domain: {
|
|
89
|
+
data: string;
|
|
90
|
+
field: string;
|
|
91
|
+
};
|
|
92
|
+
range: {
|
|
93
|
+
data: string;
|
|
94
|
+
field: string;
|
|
95
|
+
};
|
|
96
|
+
padding?: undefined;
|
|
97
|
+
nice?: undefined;
|
|
98
|
+
zero?: undefined;
|
|
99
|
+
} | {
|
|
100
|
+
name: string;
|
|
101
|
+
type: string;
|
|
102
|
+
domain: {
|
|
103
|
+
data: string;
|
|
104
|
+
field: string;
|
|
105
|
+
};
|
|
106
|
+
nice: boolean;
|
|
107
|
+
zero: boolean;
|
|
108
|
+
range: string;
|
|
109
|
+
padding?: undefined;
|
|
110
|
+
} | {
|
|
111
|
+
name: string;
|
|
112
|
+
type: string;
|
|
113
|
+
domain: string[];
|
|
114
|
+
range: string[];
|
|
115
|
+
padding?: undefined;
|
|
116
|
+
nice?: undefined;
|
|
117
|
+
zero?: undefined;
|
|
118
|
+
})[];
|
|
119
|
+
axes: ({
|
|
120
|
+
orient: string;
|
|
121
|
+
scale: string;
|
|
122
|
+
title: string;
|
|
123
|
+
labelPadding: number;
|
|
124
|
+
titlePadding: number;
|
|
125
|
+
labelAngle: number;
|
|
126
|
+
labelAlign: string;
|
|
127
|
+
labelBaseline: string;
|
|
128
|
+
tickSize: number;
|
|
129
|
+
labelFontSize: number;
|
|
130
|
+
titleFontSize: number;
|
|
131
|
+
ticks: boolean;
|
|
132
|
+
domain: boolean;
|
|
133
|
+
encode: {
|
|
134
|
+
labels: {
|
|
135
|
+
update: {
|
|
136
|
+
text: {
|
|
137
|
+
signal: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
format?: undefined;
|
|
143
|
+
grid?: undefined;
|
|
144
|
+
tickCount?: undefined;
|
|
145
|
+
tickBand?: undefined;
|
|
146
|
+
} | {
|
|
147
|
+
orient: string;
|
|
148
|
+
scale: string;
|
|
149
|
+
title: string;
|
|
150
|
+
format: string;
|
|
151
|
+
grid: boolean;
|
|
152
|
+
tickCount: number;
|
|
153
|
+
labelFontSize: number;
|
|
154
|
+
titleFontSize: number;
|
|
155
|
+
ticks: boolean;
|
|
156
|
+
domain: boolean;
|
|
157
|
+
tickBand: string;
|
|
158
|
+
labelPadding: number;
|
|
159
|
+
titlePadding?: undefined;
|
|
160
|
+
labelAngle?: undefined;
|
|
161
|
+
labelAlign?: undefined;
|
|
162
|
+
labelBaseline?: undefined;
|
|
163
|
+
tickSize?: undefined;
|
|
164
|
+
encode?: undefined;
|
|
165
|
+
})[];
|
|
166
|
+
legends: {
|
|
167
|
+
stroke: string;
|
|
168
|
+
orient: string;
|
|
169
|
+
direction: string;
|
|
170
|
+
columns: {
|
|
171
|
+
signal: string;
|
|
172
|
+
};
|
|
173
|
+
title: any;
|
|
174
|
+
symbolType: string;
|
|
175
|
+
symbolStrokeWidth: number;
|
|
176
|
+
rowPadding: number;
|
|
177
|
+
symbolOffset: number;
|
|
178
|
+
symbolSize: number;
|
|
179
|
+
labelOffset: number;
|
|
180
|
+
labelLimit: number;
|
|
181
|
+
}[];
|
|
182
|
+
marks: ({
|
|
183
|
+
type: string;
|
|
184
|
+
from: {
|
|
185
|
+
data: string;
|
|
186
|
+
};
|
|
187
|
+
encode: {
|
|
188
|
+
enter: {
|
|
189
|
+
strokeDash?: {
|
|
190
|
+
value: number[];
|
|
191
|
+
};
|
|
192
|
+
x: {
|
|
193
|
+
scale: string;
|
|
194
|
+
field: string;
|
|
195
|
+
};
|
|
196
|
+
y: {
|
|
197
|
+
scale: string;
|
|
198
|
+
field: string;
|
|
199
|
+
};
|
|
200
|
+
stroke: {
|
|
201
|
+
value: string;
|
|
202
|
+
};
|
|
203
|
+
strokeWidth: {
|
|
204
|
+
value: number;
|
|
205
|
+
};
|
|
206
|
+
interpolate: {
|
|
207
|
+
value: string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
} | {
|
|
212
|
+
type: string;
|
|
213
|
+
from: {
|
|
214
|
+
data: string;
|
|
215
|
+
};
|
|
216
|
+
encode: {
|
|
217
|
+
enter: {
|
|
218
|
+
x: {
|
|
219
|
+
scale: string;
|
|
220
|
+
field: string;
|
|
221
|
+
};
|
|
222
|
+
y: {
|
|
223
|
+
scale: string;
|
|
224
|
+
field: string;
|
|
225
|
+
};
|
|
226
|
+
fill: {
|
|
227
|
+
scale: string;
|
|
228
|
+
field: string;
|
|
229
|
+
};
|
|
230
|
+
size: {
|
|
231
|
+
value: number;
|
|
232
|
+
};
|
|
233
|
+
shape: {
|
|
234
|
+
value: LinePointStyle;
|
|
235
|
+
};
|
|
236
|
+
tooltip: {
|
|
237
|
+
signal: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
})[];
|
|
242
|
+
}>;
|
|
243
|
+
render(): any;
|
|
244
|
+
}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import { ApolloBase } from '../../apollo-data-base';
|
|
3
|
+
export interface PointStyle {
|
|
4
|
+
shape?: 'circle' | 'square' | 'triangle';
|
|
5
|
+
opacity?: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ScatterDataItem {
|
|
10
|
+
category: string;
|
|
11
|
+
xValue: number;
|
|
12
|
+
yValue: number;
|
|
13
|
+
pointStyle?: PointStyle;
|
|
14
|
+
}
|
|
15
|
+
export interface ScatterSpec {
|
|
16
|
+
yAxisTitle?: string;
|
|
17
|
+
xAxisTitle?: string;
|
|
18
|
+
defaultPointStyle?: PointStyle;
|
|
19
|
+
pointStyle?: PointStyle;
|
|
20
|
+
categoryPointStyleMap?: Record<string, PointStyle>;
|
|
21
|
+
tooltip?: 'auto' | 'none';
|
|
22
|
+
}
|
|
23
|
+
export declare class ApolloDataScatterChart extends ApolloBase<ScatterDataItem[], ScatterSpec> implements ComponentInterface {
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
/**
|
|
26
|
+
* Represents a single data point in the scatter chart.
|
|
27
|
+
* @property {string} category - Category or group name associated with the data point.
|
|
28
|
+
* This can be used for legend grouping or category-based styling.
|
|
29
|
+
* @property {number} xValue - Numeric value plotted along the X-axis.
|
|
30
|
+
* @property {number} yValue - Numeric value plotted along the Y-axis.
|
|
31
|
+
* @property {PointStyle} [pointStyle] - Optional style override for this specific data point.
|
|
32
|
+
* If provided, it takes precedence over default or category-level styles.
|
|
33
|
+
*/
|
|
34
|
+
adData: string | ScatterDataItem[];
|
|
35
|
+
/**
|
|
36
|
+
* Optional specification object for customizing the scatter chart configuration.
|
|
37
|
+
* @property {string} [yAxisTitle] - Label displayed for the Y-axis.
|
|
38
|
+
* @property {string} [xAxisTitle] - Label displayed for the X-axis.
|
|
39
|
+
* @property {PointStyle} [defaultPointStyle] - Default styling applied to all scatter points (e.g., size, color, shape, opacity).
|
|
40
|
+
* @property {PointStyle} [pointStyle] - Global point style override applied to all data points.
|
|
41
|
+
* @property {{ [categoryName: string]: PointStyle }} [categoryPointStyleMap] -
|
|
42
|
+
* A mapping object that allows custom point styles per category name.
|
|
43
|
+
* Each key represents a category, and its value defines the corresponding PointStyle.
|
|
44
|
+
* @property {'auto' | 'none'} [tooltip] - Controls tooltip behavior.
|
|
45
|
+
* 'auto' enables default tooltip rendering, while 'none' disables tooltips.
|
|
46
|
+
*/
|
|
47
|
+
adSpec: string | ScatterSpec;
|
|
48
|
+
componentDidRender(): Promise<void>;
|
|
49
|
+
private DEFAULT_POINT_STYLE;
|
|
50
|
+
protected getViewData(data: ScatterDataItem[], spec?: ScatterSpec): Promise<{
|
|
51
|
+
$schema: string;
|
|
52
|
+
description: string;
|
|
53
|
+
width: number;
|
|
54
|
+
height: number;
|
|
55
|
+
padding: number;
|
|
56
|
+
autosize: {
|
|
57
|
+
type: string;
|
|
58
|
+
resize: boolean;
|
|
59
|
+
};
|
|
60
|
+
signals: ({
|
|
61
|
+
name: string;
|
|
62
|
+
value: number;
|
|
63
|
+
update?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
name: string;
|
|
66
|
+
update: string;
|
|
67
|
+
value?: undefined;
|
|
68
|
+
})[];
|
|
69
|
+
data: ({
|
|
70
|
+
name: string;
|
|
71
|
+
values: {
|
|
72
|
+
category: string;
|
|
73
|
+
xValue: number;
|
|
74
|
+
yValue: number;
|
|
75
|
+
color: string;
|
|
76
|
+
shape: "square" | "circle" | "triangle";
|
|
77
|
+
opacity: number;
|
|
78
|
+
}[];
|
|
79
|
+
source?: undefined;
|
|
80
|
+
transform?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
name: string;
|
|
83
|
+
source: string;
|
|
84
|
+
transform: ({
|
|
85
|
+
type: string;
|
|
86
|
+
expr: string;
|
|
87
|
+
} | {
|
|
88
|
+
type: string;
|
|
89
|
+
expr?: undefined;
|
|
90
|
+
})[];
|
|
91
|
+
values?: undefined;
|
|
92
|
+
})[];
|
|
93
|
+
scales: {
|
|
94
|
+
name: string;
|
|
95
|
+
type: string;
|
|
96
|
+
range: (number | {
|
|
97
|
+
signal: string;
|
|
98
|
+
})[];
|
|
99
|
+
nice: boolean;
|
|
100
|
+
domain: {
|
|
101
|
+
data: string;
|
|
102
|
+
field: string;
|
|
103
|
+
};
|
|
104
|
+
}[];
|
|
105
|
+
axes: {
|
|
106
|
+
orient: string;
|
|
107
|
+
scale: string;
|
|
108
|
+
offset: number;
|
|
109
|
+
format: string;
|
|
110
|
+
title: string;
|
|
111
|
+
}[];
|
|
112
|
+
marks: ({
|
|
113
|
+
type: string;
|
|
114
|
+
from: {
|
|
115
|
+
data: string;
|
|
116
|
+
};
|
|
117
|
+
encode: {
|
|
118
|
+
enter: {
|
|
119
|
+
size: {
|
|
120
|
+
value: number;
|
|
121
|
+
};
|
|
122
|
+
tooltip: {
|
|
123
|
+
field: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
update: {
|
|
127
|
+
x: {
|
|
128
|
+
scale: string;
|
|
129
|
+
field: string;
|
|
130
|
+
signal?: undefined;
|
|
131
|
+
offset?: undefined;
|
|
132
|
+
};
|
|
133
|
+
y: {
|
|
134
|
+
scale: string;
|
|
135
|
+
field: string;
|
|
136
|
+
signal?: undefined;
|
|
137
|
+
offset?: undefined;
|
|
138
|
+
};
|
|
139
|
+
fill: {
|
|
140
|
+
field: string;
|
|
141
|
+
value?: undefined;
|
|
142
|
+
};
|
|
143
|
+
fillOpacity: {
|
|
144
|
+
field: string;
|
|
145
|
+
value?: undefined;
|
|
146
|
+
};
|
|
147
|
+
shape: {
|
|
148
|
+
field: string;
|
|
149
|
+
};
|
|
150
|
+
zindex: {
|
|
151
|
+
value: number;
|
|
152
|
+
};
|
|
153
|
+
text?: undefined;
|
|
154
|
+
align?: undefined;
|
|
155
|
+
baseline?: undefined;
|
|
156
|
+
fontSize?: undefined;
|
|
157
|
+
};
|
|
158
|
+
hover: {
|
|
159
|
+
fill: {
|
|
160
|
+
value: string;
|
|
161
|
+
};
|
|
162
|
+
fillOpacity: {
|
|
163
|
+
value: number;
|
|
164
|
+
};
|
|
165
|
+
zindex: {
|
|
166
|
+
value: number;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
interactive?: undefined;
|
|
171
|
+
} | {
|
|
172
|
+
type: string;
|
|
173
|
+
from: {
|
|
174
|
+
data: string;
|
|
175
|
+
};
|
|
176
|
+
encode: {
|
|
177
|
+
enter: {
|
|
178
|
+
size: {
|
|
179
|
+
value: number;
|
|
180
|
+
};
|
|
181
|
+
tooltip: {
|
|
182
|
+
field: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
update: {
|
|
186
|
+
x: {
|
|
187
|
+
scale: string;
|
|
188
|
+
field: string;
|
|
189
|
+
signal?: undefined;
|
|
190
|
+
offset?: undefined;
|
|
191
|
+
};
|
|
192
|
+
y: {
|
|
193
|
+
signal: string;
|
|
194
|
+
scale?: undefined;
|
|
195
|
+
field?: undefined;
|
|
196
|
+
offset?: undefined;
|
|
197
|
+
};
|
|
198
|
+
fill: {
|
|
199
|
+
value: string;
|
|
200
|
+
field?: undefined;
|
|
201
|
+
};
|
|
202
|
+
fillOpacity: {
|
|
203
|
+
value: number;
|
|
204
|
+
field?: undefined;
|
|
205
|
+
};
|
|
206
|
+
shape?: undefined;
|
|
207
|
+
zindex?: undefined;
|
|
208
|
+
text?: undefined;
|
|
209
|
+
align?: undefined;
|
|
210
|
+
baseline?: undefined;
|
|
211
|
+
fontSize?: undefined;
|
|
212
|
+
};
|
|
213
|
+
hover: {
|
|
214
|
+
fill: {
|
|
215
|
+
value: string;
|
|
216
|
+
};
|
|
217
|
+
fillOpacity: {
|
|
218
|
+
value: number;
|
|
219
|
+
};
|
|
220
|
+
zindex?: undefined;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
interactive?: undefined;
|
|
224
|
+
} | {
|
|
225
|
+
type: string;
|
|
226
|
+
from: {
|
|
227
|
+
data: string;
|
|
228
|
+
};
|
|
229
|
+
encode: {
|
|
230
|
+
enter: {
|
|
231
|
+
size: {
|
|
232
|
+
value: number;
|
|
233
|
+
};
|
|
234
|
+
tooltip: {
|
|
235
|
+
field: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
update: {
|
|
239
|
+
x: {
|
|
240
|
+
signal: string;
|
|
241
|
+
scale?: undefined;
|
|
242
|
+
field?: undefined;
|
|
243
|
+
offset?: undefined;
|
|
244
|
+
};
|
|
245
|
+
y: {
|
|
246
|
+
scale: string;
|
|
247
|
+
field: string;
|
|
248
|
+
signal?: undefined;
|
|
249
|
+
offset?: undefined;
|
|
250
|
+
};
|
|
251
|
+
fill: {
|
|
252
|
+
value: string;
|
|
253
|
+
field?: undefined;
|
|
254
|
+
};
|
|
255
|
+
fillOpacity: {
|
|
256
|
+
value: number;
|
|
257
|
+
field?: undefined;
|
|
258
|
+
};
|
|
259
|
+
zindex: {
|
|
260
|
+
value: number;
|
|
261
|
+
};
|
|
262
|
+
shape?: undefined;
|
|
263
|
+
text?: undefined;
|
|
264
|
+
align?: undefined;
|
|
265
|
+
baseline?: undefined;
|
|
266
|
+
fontSize?: undefined;
|
|
267
|
+
};
|
|
268
|
+
hover: {
|
|
269
|
+
fill: {
|
|
270
|
+
value: string;
|
|
271
|
+
};
|
|
272
|
+
fillOpacity: {
|
|
273
|
+
value: number;
|
|
274
|
+
};
|
|
275
|
+
zindex: {
|
|
276
|
+
value: number;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
interactive?: undefined;
|
|
281
|
+
} | {
|
|
282
|
+
type: string;
|
|
283
|
+
interactive: boolean;
|
|
284
|
+
from: {
|
|
285
|
+
data: string;
|
|
286
|
+
};
|
|
287
|
+
encode: {
|
|
288
|
+
update: {
|
|
289
|
+
x: {
|
|
290
|
+
signal: string;
|
|
291
|
+
offset: number;
|
|
292
|
+
scale?: undefined;
|
|
293
|
+
field?: undefined;
|
|
294
|
+
};
|
|
295
|
+
y: {
|
|
296
|
+
signal: string;
|
|
297
|
+
offset: number;
|
|
298
|
+
scale?: undefined;
|
|
299
|
+
field?: undefined;
|
|
300
|
+
};
|
|
301
|
+
text: {
|
|
302
|
+
signal: string;
|
|
303
|
+
};
|
|
304
|
+
align: {
|
|
305
|
+
value: string;
|
|
306
|
+
};
|
|
307
|
+
baseline: {
|
|
308
|
+
value: string;
|
|
309
|
+
};
|
|
310
|
+
fill: {
|
|
311
|
+
value: string;
|
|
312
|
+
field?: undefined;
|
|
313
|
+
};
|
|
314
|
+
fontSize: {
|
|
315
|
+
value: number;
|
|
316
|
+
};
|
|
317
|
+
fillOpacity?: undefined;
|
|
318
|
+
shape?: undefined;
|
|
319
|
+
zindex?: undefined;
|
|
320
|
+
};
|
|
321
|
+
enter?: undefined;
|
|
322
|
+
hover?: undefined;
|
|
323
|
+
};
|
|
324
|
+
})[];
|
|
325
|
+
}>;
|
|
326
|
+
render(): any;
|
|
327
|
+
}
|