@milaboratories/graph-maker 1.1.45 → 1.1.47
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/GraphMaker/constant.d.ts +18 -1
- package/dist/GraphMaker/forms/AxesSettingsForm/BubbleAxesSettingsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/AxesSettingsForm/HistogramAxesSettingsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/BubbleForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/HistogramForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/Bubble.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/histogram/Bins.vue.d.ts +2 -0
- package/dist/GraphMaker/index.vue.d.ts +125 -1
- package/dist/GraphMaker/store.d.ts +45 -0
- package/dist/GraphMaker/types.d.ts +7 -3
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeBubbleSettings.d.ts +95 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts +354 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts +243 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHistogramSettings.d.ts +84 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts +199 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +199 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/conposeDendroSettings.d.ts +4 -0
- package/dist/graph-maker.js +37167 -35096
- package/dist/graph-maker.umd.cjs +1044 -1042
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisTitleMode, DeepPartial, DiscreteLayer, DiscreteLayersTemplate, Frame, HeatmapFrame, HeatmapLayer, HeatmapLayerTemplate, LabelsPosition, LabelsRotation, Layer, LayersTemplate, Scale, ScatterplotLayer, ScatterplotLayersTemplate, TitlePosition } from './types.ts';
|
|
1
|
+
import { AxisTitleMode, DeepPartial, DiscreteLayer, DiscreteLayersTemplate, Frame, HeatmapFrame, HeatmapLayer, HeatmapLayerTemplate, HistogramLayer, HistogramLayerTemplate, LabelsPosition, LabelsRotation, Layer, LayersTemplate, Scale, ScatterplotLayer, ScatterplotLayersTemplate, TitlePosition } from './types.ts';
|
|
2
2
|
import { ChartType } from '@milaboratories/pf-plots';
|
|
3
3
|
import { Component } from 'vue';
|
|
4
4
|
import { DotShape, LineType } from './components/AesSettings/types.ts';
|
|
@@ -18,6 +18,7 @@ export declare function getInitialTemplate(restoredTemplate: LayersTemplate | nu
|
|
|
18
18
|
export declare const DISCRETE_TEMPLATES_MAP: Record<DiscreteLayersTemplate, DiscreteLayer[]>;
|
|
19
19
|
export declare const SCATTERPLOT_TEMPLATES_MAP: Record<ScatterplotLayersTemplate, ScatterplotLayer[]>;
|
|
20
20
|
export declare const HEATMAP_TEMPLATES_MAP: Record<HeatmapLayerTemplate, HeatmapLayer[]>;
|
|
21
|
+
export declare const HISTOGRAM_TEMPLATES_MAP: Record<HistogramLayerTemplate, HistogramLayer[]>;
|
|
21
22
|
export declare const LAYER_TITLES: Record<Layer, string>;
|
|
22
23
|
export type DiscreteStatisticsState = {
|
|
23
24
|
overall: {
|
|
@@ -89,6 +90,17 @@ export declare function isNumberRange(v: number | NumberRange | null | undefined
|
|
|
89
90
|
export declare function isMappedAes(item: FixedOrMappedAes | null | string | number | boolean | unknown): item is MappingLink;
|
|
90
91
|
export declare function isContinuousDataMapping(v: ContinuousDataMapping | number | null | undefined): v is ContinuousDataMapping;
|
|
91
92
|
export type LayersSettings = {
|
|
93
|
+
bubble: {
|
|
94
|
+
minRadius: number;
|
|
95
|
+
maxRadius: number;
|
|
96
|
+
normalizationDirection: 'row' | 'column' | null;
|
|
97
|
+
normalizationMethod: 'standardScaling' | 'meanNormalization';
|
|
98
|
+
strokeColor: null | string;
|
|
99
|
+
};
|
|
100
|
+
bins: {
|
|
101
|
+
fillColor: ColorAes | null;
|
|
102
|
+
opacity: number;
|
|
103
|
+
};
|
|
92
104
|
dendro: {
|
|
93
105
|
dotFill: ColorAes;
|
|
94
106
|
dotShape: DotShapeAes;
|
|
@@ -226,6 +238,7 @@ export type AxesState = {
|
|
|
226
238
|
reverse: boolean;
|
|
227
239
|
facetSharedBy: 'x' | 'y' | 'xy' | 'none';
|
|
228
240
|
facetColumns: number;
|
|
241
|
+
binsCount: number;
|
|
229
242
|
};
|
|
230
243
|
};
|
|
231
244
|
export declare function getInitialAxesSettings(chartType: ChartType, initialAxesSettings?: DeepPartial<AxesState>): AxesState;
|
|
@@ -238,4 +251,8 @@ export declare const STAT_TEST_METHOD: Option[];
|
|
|
238
251
|
export declare const STAT_CORRECTION_METHOD: Option[];
|
|
239
252
|
export declare const FORMAT_P_VALUE_OPTIONS: Option[];
|
|
240
253
|
export type AesType = 'fill' | 'stroke' | 'dotShape' | 'lineType' | 'size';
|
|
254
|
+
export declare const DEFAULT_WIDTH = 600;
|
|
255
|
+
export declare const DEFAULT_HEIGHT = 350;
|
|
256
|
+
export declare const DEFAULT_WIDTH_SMALL = 400;
|
|
257
|
+
export declare const DEFAULT_HEIGHT_SMALL = 250;
|
|
241
258
|
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -159,6 +159,68 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
159
159
|
labelsModifier: {
|
|
160
160
|
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
161
161
|
};
|
|
162
|
+
} | {
|
|
163
|
+
modelValue: {
|
|
164
|
+
required: true;
|
|
165
|
+
type: import('vue').PropType<GraphMakerState>;
|
|
166
|
+
};
|
|
167
|
+
pFrame: {
|
|
168
|
+
type: import('vue').PropType<import('@platforma-sdk/model').PFrameHandle | undefined>;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
chartType: {
|
|
172
|
+
type: import('vue').PropType<"histogram">;
|
|
173
|
+
required: true;
|
|
174
|
+
};
|
|
175
|
+
defaultOptions: {
|
|
176
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"histogram">[]>;
|
|
177
|
+
};
|
|
178
|
+
fixedOptions: {
|
|
179
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"histogram">[]>;
|
|
180
|
+
};
|
|
181
|
+
allowChartDeleting: {
|
|
182
|
+
type: import('vue').PropType<boolean>;
|
|
183
|
+
};
|
|
184
|
+
driver: {
|
|
185
|
+
type: import('vue').PropType<PFrameDriver>;
|
|
186
|
+
};
|
|
187
|
+
tooltipButton: {
|
|
188
|
+
type: import('vue').PropType<string>;
|
|
189
|
+
};
|
|
190
|
+
labelsModifier: {
|
|
191
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
modelValue: {
|
|
195
|
+
required: true;
|
|
196
|
+
type: import('vue').PropType<GraphMakerState>;
|
|
197
|
+
};
|
|
198
|
+
pFrame: {
|
|
199
|
+
type: import('vue').PropType<import('@platforma-sdk/model').PFrameHandle | undefined>;
|
|
200
|
+
required: true;
|
|
201
|
+
};
|
|
202
|
+
chartType: {
|
|
203
|
+
type: import('vue').PropType<"bubble">;
|
|
204
|
+
required: true;
|
|
205
|
+
};
|
|
206
|
+
defaultOptions: {
|
|
207
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"bubble">[]>;
|
|
208
|
+
};
|
|
209
|
+
fixedOptions: {
|
|
210
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"bubble">[]>;
|
|
211
|
+
};
|
|
212
|
+
allowChartDeleting: {
|
|
213
|
+
type: import('vue').PropType<boolean>;
|
|
214
|
+
};
|
|
215
|
+
driver: {
|
|
216
|
+
type: import('vue').PropType<PFrameDriver>;
|
|
217
|
+
};
|
|
218
|
+
tooltipButton: {
|
|
219
|
+
type: import('vue').PropType<string>;
|
|
220
|
+
};
|
|
221
|
+
labelsModifier: {
|
|
222
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
223
|
+
};
|
|
162
224
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
163
225
|
"tooltip-btn-click": (...args: any[]) => void;
|
|
164
226
|
"delete-this-graph": (...args: any[]) => void;
|
|
@@ -317,10 +379,72 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
317
379
|
labelsModifier: {
|
|
318
380
|
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
319
381
|
};
|
|
382
|
+
} | {
|
|
383
|
+
modelValue: {
|
|
384
|
+
required: true;
|
|
385
|
+
type: import('vue').PropType<GraphMakerState>;
|
|
386
|
+
};
|
|
387
|
+
pFrame: {
|
|
388
|
+
type: import('vue').PropType<import('@platforma-sdk/model').PFrameHandle | undefined>;
|
|
389
|
+
required: true;
|
|
390
|
+
};
|
|
391
|
+
chartType: {
|
|
392
|
+
type: import('vue').PropType<"histogram">;
|
|
393
|
+
required: true;
|
|
394
|
+
};
|
|
395
|
+
defaultOptions: {
|
|
396
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"histogram">[]>;
|
|
397
|
+
};
|
|
398
|
+
fixedOptions: {
|
|
399
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"histogram">[]>;
|
|
400
|
+
};
|
|
401
|
+
allowChartDeleting: {
|
|
402
|
+
type: import('vue').PropType<boolean>;
|
|
403
|
+
};
|
|
404
|
+
driver: {
|
|
405
|
+
type: import('vue').PropType<PFrameDriver>;
|
|
406
|
+
};
|
|
407
|
+
tooltipButton: {
|
|
408
|
+
type: import('vue').PropType<string>;
|
|
409
|
+
};
|
|
410
|
+
labelsModifier: {
|
|
411
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
412
|
+
};
|
|
413
|
+
} | {
|
|
414
|
+
modelValue: {
|
|
415
|
+
required: true;
|
|
416
|
+
type: import('vue').PropType<GraphMakerState>;
|
|
417
|
+
};
|
|
418
|
+
pFrame: {
|
|
419
|
+
type: import('vue').PropType<import('@platforma-sdk/model').PFrameHandle | undefined>;
|
|
420
|
+
required: true;
|
|
421
|
+
};
|
|
422
|
+
chartType: {
|
|
423
|
+
type: import('vue').PropType<"bubble">;
|
|
424
|
+
required: true;
|
|
425
|
+
};
|
|
426
|
+
defaultOptions: {
|
|
427
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"bubble">[]>;
|
|
428
|
+
};
|
|
429
|
+
fixedOptions: {
|
|
430
|
+
type: import('vue').PropType<import('./types.ts').PredefinedGraphOption<"bubble">[]>;
|
|
431
|
+
};
|
|
432
|
+
allowChartDeleting: {
|
|
433
|
+
type: import('vue').PropType<boolean>;
|
|
434
|
+
};
|
|
435
|
+
driver: {
|
|
436
|
+
type: import('vue').PropType<PFrameDriver>;
|
|
437
|
+
};
|
|
438
|
+
tooltipButton: {
|
|
439
|
+
type: import('vue').PropType<string>;
|
|
440
|
+
};
|
|
441
|
+
labelsModifier: {
|
|
442
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
443
|
+
};
|
|
320
444
|
}>> & Readonly<{
|
|
321
445
|
"onTooltip-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
322
446
|
"onDelete-this-graph"?: ((...args: any[]) => any) | undefined;
|
|
323
|
-
}>, {} | {} | {} | {} | {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
447
|
+
}>, {} | {} | {} | {} | {} | {} | {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
324
448
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
325
449
|
export default _default;
|
|
326
450
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -14,6 +14,20 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
14
14
|
dividedAxes: Record<string, boolean>;
|
|
15
15
|
};
|
|
16
16
|
layersSettings: {
|
|
17
|
+
bubble: {
|
|
18
|
+
minRadius: number;
|
|
19
|
+
maxRadius: number;
|
|
20
|
+
normalizationDirection: "row" | "column" | null;
|
|
21
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
22
|
+
strokeColor: null | string;
|
|
23
|
+
};
|
|
24
|
+
bins: {
|
|
25
|
+
fillColor: string | {
|
|
26
|
+
type: string;
|
|
27
|
+
value?: string | undefined;
|
|
28
|
+
} | null;
|
|
29
|
+
opacity: number;
|
|
30
|
+
};
|
|
17
31
|
dendro: {
|
|
18
32
|
dotFill: string | {
|
|
19
33
|
type: string;
|
|
@@ -250,6 +264,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
250
264
|
reverse: boolean;
|
|
251
265
|
facetSharedBy: "x" | "y" | "xy" | "none";
|
|
252
266
|
facetColumns: number;
|
|
267
|
+
binsCount: number;
|
|
253
268
|
};
|
|
254
269
|
};
|
|
255
270
|
statisticsSettings: {
|
|
@@ -313,6 +328,20 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
313
328
|
dividedAxes: Record<string, boolean>;
|
|
314
329
|
};
|
|
315
330
|
layersSettings: {
|
|
331
|
+
bubble: {
|
|
332
|
+
minRadius: number;
|
|
333
|
+
maxRadius: number;
|
|
334
|
+
normalizationDirection: "row" | "column" | null;
|
|
335
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
336
|
+
strokeColor: null | string;
|
|
337
|
+
};
|
|
338
|
+
bins: {
|
|
339
|
+
fillColor: string | {
|
|
340
|
+
type: string;
|
|
341
|
+
value?: string | undefined;
|
|
342
|
+
} | null;
|
|
343
|
+
opacity: number;
|
|
344
|
+
};
|
|
316
345
|
dendro: {
|
|
317
346
|
dotFill: string | {
|
|
318
347
|
type: string;
|
|
@@ -549,6 +578,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
549
578
|
reverse: boolean;
|
|
550
579
|
facetSharedBy: "x" | "y" | "xy" | "none";
|
|
551
580
|
facetColumns: number;
|
|
581
|
+
binsCount: number;
|
|
552
582
|
};
|
|
553
583
|
};
|
|
554
584
|
statisticsSettings: {
|
|
@@ -640,6 +670,20 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
640
670
|
dividedAxes: Record<string, boolean>;
|
|
641
671
|
};
|
|
642
672
|
layersSettings: {
|
|
673
|
+
bubble: {
|
|
674
|
+
minRadius: number;
|
|
675
|
+
maxRadius: number;
|
|
676
|
+
normalizationDirection: "row" | "column" | null;
|
|
677
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
678
|
+
strokeColor: null | string;
|
|
679
|
+
};
|
|
680
|
+
bins: {
|
|
681
|
+
fillColor: string | {
|
|
682
|
+
type: string;
|
|
683
|
+
value?: string | undefined;
|
|
684
|
+
} | null;
|
|
685
|
+
opacity: number;
|
|
686
|
+
};
|
|
643
687
|
dendro: {
|
|
644
688
|
dotFill: string | {
|
|
645
689
|
type: string;
|
|
@@ -876,6 +920,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
876
920
|
reverse: boolean;
|
|
877
921
|
facetSharedBy: "x" | "y" | "xy" | "none";
|
|
878
922
|
facetColumns: number;
|
|
923
|
+
binsCount: number;
|
|
879
924
|
};
|
|
880
925
|
};
|
|
881
926
|
statisticsSettings: {
|
|
@@ -34,7 +34,7 @@ export interface GraphMakerPropsTyped<T extends ChartType> {
|
|
|
34
34
|
tooltipButton?: string;
|
|
35
35
|
labelsModifier?: (id: string, label: string) => string;
|
|
36
36
|
}
|
|
37
|
-
export type GraphMakerProps = GraphMakerPropsTyped<'discrete'> | GraphMakerPropsTyped<'scatterplot'> | GraphMakerPropsTyped<'scatterplot-umap'> | GraphMakerPropsTyped<'heatmap'> | GraphMakerPropsTyped<'dendro'>;
|
|
37
|
+
export type GraphMakerProps = GraphMakerPropsTyped<'discrete'> | GraphMakerPropsTyped<'scatterplot'> | GraphMakerPropsTyped<'scatterplot-umap'> | GraphMakerPropsTyped<'heatmap'> | GraphMakerPropsTyped<'dendro'> | GraphMakerPropsTyped<'histogram'> | GraphMakerPropsTyped<'bubble'>;
|
|
38
38
|
export type GraphMakerInputName<T extends ChartType> = InputNamesByChartType[T];
|
|
39
39
|
export type DendroNodeInfo = {
|
|
40
40
|
x: number;
|
|
@@ -61,8 +61,12 @@ export type HeatmapLayer = 'heatmap' | 'heatmapClustered';
|
|
|
61
61
|
export type HeatmapLayerTemplate = HeatmapLayer;
|
|
62
62
|
export type DendroLayer = 'dendro';
|
|
63
63
|
export type DendroLayerTemplate = DendroLayer;
|
|
64
|
-
export type
|
|
65
|
-
export type
|
|
64
|
+
export type HistogramLayer = 'bins';
|
|
65
|
+
export type HistogramLayerTemplate = HistogramLayer;
|
|
66
|
+
export type BubbleLayer = 'bubble';
|
|
67
|
+
export type BubbleLayerTemplate = BubbleLayer;
|
|
68
|
+
export type LayersTemplate = DiscreteLayersTemplate | ScatterplotLayersTemplate | HeatmapLayerTemplate | DendroLayerTemplate | HistogramLayerTemplate | BubbleLayerTemplate;
|
|
69
|
+
export type Layer = DiscreteLayer | ScatterplotLayer | HeatmapLayer | DendroLayer | HistogramLayer | BubbleLayer;
|
|
66
70
|
export type TitlePosition = 'left' | 'right' | 'center';
|
|
67
71
|
export type LabelsPosition = 'top' | 'bottom' | 'left' | 'right' | 'hidden';
|
|
68
72
|
export type LabelsRotation = 'center' | '45deg' | '90deg';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { BubbleSettings } from '@milaboratories/miplots4';
|
|
2
|
+
import { ReactiveState } from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export declare function composeBubbleSettings(settings: BubbleSettings, reactiveState: ReactiveState): {
|
|
5
|
+
type: "bubble";
|
|
6
|
+
title: {
|
|
7
|
+
name: string;
|
|
8
|
+
show?: boolean | undefined;
|
|
9
|
+
position?: "left" | "center" | "right" | undefined;
|
|
10
|
+
};
|
|
11
|
+
valueSize: {
|
|
12
|
+
type: "column";
|
|
13
|
+
value: string;
|
|
14
|
+
label?: string | undefined;
|
|
15
|
+
valueLabels?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
valueColor: {
|
|
18
|
+
type: "column";
|
|
19
|
+
value: string;
|
|
20
|
+
label?: string | undefined;
|
|
21
|
+
valueLabels?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
xColumn: {
|
|
24
|
+
type: "column";
|
|
25
|
+
value: string;
|
|
26
|
+
label?: string | undefined;
|
|
27
|
+
valueLabels?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
yColumn: {
|
|
30
|
+
type: "column";
|
|
31
|
+
value: string;
|
|
32
|
+
label?: string | undefined;
|
|
33
|
+
valueLabels?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
aes?: {
|
|
36
|
+
colorsList?: string[] | undefined;
|
|
37
|
+
minRadius?: number | undefined;
|
|
38
|
+
maxRadius?: number | undefined;
|
|
39
|
+
cellStrokeColor?: string | undefined;
|
|
40
|
+
emptyCellColor?: string | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
size?: {
|
|
43
|
+
width?: number | undefined;
|
|
44
|
+
height?: number | undefined;
|
|
45
|
+
cellSize?: number | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
legend?: {
|
|
48
|
+
show?: boolean | undefined;
|
|
49
|
+
position?: "right" | "inside" | "top" | "bottom" | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
tooltips?: {
|
|
52
|
+
show?: boolean | undefined;
|
|
53
|
+
content?: {
|
|
54
|
+
type: "column";
|
|
55
|
+
value: string;
|
|
56
|
+
label?: string | undefined;
|
|
57
|
+
valueLabels?: string | undefined;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
frame?: {
|
|
61
|
+
type?: "left" | "bottom" | "left-bottom" | "full" | "empty" | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
facetSettings?: {
|
|
64
|
+
nRows?: number | undefined;
|
|
65
|
+
nCols?: number | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
xAxis?: {
|
|
68
|
+
title?: string | undefined;
|
|
69
|
+
position?: "top" | "bottom" | undefined;
|
|
70
|
+
showTicks?: boolean | undefined;
|
|
71
|
+
showTitle?: boolean | undefined;
|
|
72
|
+
showAxisLabels?: boolean | undefined;
|
|
73
|
+
axisLabelsAngle?: 0 | 45 | 90 | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
yAxis?: {
|
|
76
|
+
title?: string | undefined;
|
|
77
|
+
position?: "left" | "right" | undefined;
|
|
78
|
+
showTicks?: boolean | undefined;
|
|
79
|
+
showTitle?: boolean | undefined;
|
|
80
|
+
showAxisLabels?: boolean | undefined;
|
|
81
|
+
axisLabelsAngle?: 0 | 45 | 90 | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
facetBy?: {
|
|
84
|
+
type: "column";
|
|
85
|
+
value: string;
|
|
86
|
+
label?: string | undefined;
|
|
87
|
+
valueLabels?: string | undefined;
|
|
88
|
+
}[] | undefined;
|
|
89
|
+
normalization?: {
|
|
90
|
+
direction: "column" | "row";
|
|
91
|
+
method: "standardScaling" | "meanNormalization";
|
|
92
|
+
colorRange?: number[] | undefined;
|
|
93
|
+
sizeRange?: number[] | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
};
|