eurostat-map 4.4.5 → 4.6.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/README.md +33 -4
- package/build/215.eurostatmap.min.js +1 -1
- package/build/215.eurostatmap.min.js.map +1 -1
- package/build/eurostatmap.js +20424 -16231
- package/build/eurostatmap.min.js +2 -2
- package/build/eurostatmap.min.js.map +1 -1
- package/build/package.json +1 -1
- package/build/types/core/GridCartogramSettings.d.ts +33 -0
- package/build/types/core/MapConfig.d.ts +13 -2
- package/build/types/core/MapInstance.d.ts +80 -4
- package/build/types/core/encoding/EncodingConfig.d.ts +31 -0
- package/build/types/core/layer/Layer.d.ts +31 -0
- package/build/types/core/layer/LayerConfig.d.ts +19 -0
- package/build/types/core/layer/LayerRole.d.ts +1 -0
- package/build/types/core/locations.d.ts +44 -16
- package/build/types/core/stat/StatConfig.d.ts +7 -0
- package/build/types/index.d.ts +38 -33
- package/build/types/layers/CategoricalMap.d.ts +21 -0
- package/build/types/layers/CategoricalMapConfig.d.ts +11 -0
- package/build/types/layers/MapType.d.ts +34 -0
- package/build/types/layers/choropleth/BivariateChoroplethConfig.d.ts +27 -0
- package/build/types/layers/choropleth/BivariateChoroplethMap.d.ts +39 -0
- package/build/types/layers/choropleth/ChoroplethConfig.d.ts +39 -0
- package/build/types/layers/choropleth/ChoroplethMap.d.ts +48 -0
- package/build/types/layers/choropleth/TrivariateChoroplethConfig.d.ts +41 -0
- package/build/types/layers/choropleth/TrivariateChoroplethMap.d.ts +18 -0
- package/build/types/layers/choropleth/ValueByAlphaConfig.d.ts +8 -0
- package/build/types/layers/choropleth/ValueByAlphaMap.d.ts +9 -0
- package/build/types/layers/composition/CompositionStatConfig.d.ts +59 -0
- package/build/types/layers/composition/bar/BarMap.d.ts +97 -0
- package/build/types/layers/composition/bar/BarMapConfig.d.ts +76 -0
- package/build/types/layers/composition/coxcomb/CoxcombMap.d.ts +75 -0
- package/build/types/layers/composition/coxcomb/CoxcombMapConfig.d.ts +47 -0
- package/build/types/layers/composition/coxcomb/CoxcombStatConfig.d.ts +13 -0
- package/build/types/layers/composition/pie/PieMap.d.ts +84 -0
- package/build/types/layers/composition/pie/PieMapConfig.d.ts +50 -0
- package/build/types/layers/composition/stripe/StripeMap.d.ts +80 -0
- package/build/types/layers/composition/stripe/StripeMapConfig.d.ts +45 -0
- package/build/types/layers/composition/waffle/WaffleMap.d.ts +124 -0
- package/build/types/layers/composition/waffle/WaffleMapConfig.d.ts +58 -0
- package/build/types/layers/flow/FlowMap.d.ts +218 -0
- package/build/types/layers/flow/FlowMapConfig.d.ts +220 -0
- package/build/types/layers/proportional-symbol/ProportionalSymbolConfig.d.ts +47 -0
- package/build/types/layers/proportional-symbol/ProportionalSymbolMap.d.ts +94 -0
- package/build/types/layers/proportional-symbol/mushroom/MushroomMap.d.ts +67 -0
- package/build/types/layers/proportional-symbol/mushroom/MushroomMapConfig.d.ts +39 -0
- package/build/types/layers/spark/SparkMap.d.ts +56 -0
- package/build/types/layers/spark/SparkMapConfig.d.ts +75 -0
- package/build/types/layers/spark/SparkStatConfig.d.ts +33 -0
- package/build/types/legend/LegendConfig.d.ts +3 -0
- package/build/types/legend/choropleth/BivariateLegendConfig.d.ts +79 -0
- package/build/types/legend/choropleth/legend-choropleth-bivariate.d.ts +2 -2
- package/build/types/legend/choropleth/legend-choropleth-trivariate.d.ts +2 -2
- package/build/types/legend/choropleth/legend-choropleth.d.ts +2 -2
- package/build/types/legend/composition/legend-bar-chart.d.ts +2 -2
- package/build/types/legend/flow/legend-flow.d.ts +2 -2
- package/build/types/legend/legend-categorical.d.ts +2 -2
- package/build/types/legend/legend-continuous.d.ts +2 -2
- package/build/types/legend/legend-discrete.d.ts +2 -2
- package/build/types/legend/legend.d.ts +13 -13
- package/build/types/legend/proportional-symbol/ProportionalSymbolsLegendConfig.d.ts +6 -0
- package/build/types/legend/proportional-symbol/legend-proportional-symbols.d.ts +2 -2
- package/build/types/map-types/CategoricalMapConfig.d.ts +11 -11
- package/build/types/map-types/choropleth/map-choropleth-bivariate.d.ts +4 -4
- package/build/types/map-types/choropleth/map-choropleth-trivariate.d.ts +4 -4
- package/build/types/map-types/choropleth/map-value-by-alpha.d.ts +4 -4
- package/build/types/map-types/composition/CompositionStatConfig.d.ts +7 -0
- package/build/types/map-types/composition/bar/BarMap.d.ts +97 -79
- package/build/types/map-types/composition/bar/BarMapConfig.d.ts +76 -54
- package/build/types/map-types/composition/coxcomb/CoxcombMap.d.ts +29 -0
- package/build/types/map-types/composition/coxcomb/CoxcombMapConfig.d.ts +15 -0
- package/build/types/map-types/composition/map-spark.d.ts +5 -5
- package/build/types/map-types/composition/map-stripe.d.ts +5 -5
- package/build/types/map-types/composition/pie/PieMap.d.ts +1 -5
- package/build/types/map-types/composition/stripe/StripeMap.d.ts +19 -2
- package/build/types/map-types/composition/stripe/StripeMapConfig.d.ts +11 -0
- package/build/types/map-types/composition/waffle/WaffleMap.d.ts +1 -0
- package/build/types/map-types/flow/FlowMap.d.ts +121 -0
- package/build/types/map-types/flow/FlowMapConfig.d.ts +62 -0
- package/build/types/map-types/flow/map-flow.d.ts +5 -5
- package/build/types/map-types/proportional-symbol/ProportionalSymbolConfig.d.ts +30 -0
- package/build/types/map-types/proportional-symbol/ProportionalSymbolMap.d.ts +4 -0
- package/build/types/map-types/proportional-symbol/mushroom/MushroomMap.d.ts +37 -0
- package/build/types/map-types/proportional-symbol/mushroom/MushroomMapConfig.d.ts +19 -0
- package/build/types/map-types/spark/SparkMap.d.ts +4 -0
- package/build/types/map-types/spark/SparkMapConfig.d.ts +32 -0
- package/package.json +3 -2
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { MapInstance } from '../../../core/MapInstance'
|
|
2
|
+
import type { CompositionStatConfig } from '../CompositionStatConfig'
|
|
3
|
+
import type { StripeCompositionLegendConfig } from '../../../legend/composition/StripeCompositionLegendConfig'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Stripe map type.
|
|
7
|
+
*/
|
|
8
|
+
export interface StripeMap extends MapInstance {
|
|
9
|
+
legend(): StripeCompositionLegendConfig | false
|
|
10
|
+
legend(config: StripeCompositionLegendConfig | false): this
|
|
11
|
+
|
|
12
|
+
stripeSettings(): {
|
|
13
|
+
width: number
|
|
14
|
+
orientation: number
|
|
15
|
+
otherColor: string
|
|
16
|
+
otherText: string
|
|
17
|
+
}
|
|
18
|
+
stripeSettings(v: { width?: number; orientation?: number; otherColor?: string; otherText?: string }): this
|
|
19
|
+
|
|
20
|
+
/** @deprecated Use stripeSettings({ width }) */
|
|
21
|
+
stripeWidth(): number
|
|
22
|
+
/** @deprecated Use stripeSettings({ width }) */
|
|
23
|
+
stripeWidth(v: number): this
|
|
24
|
+
|
|
25
|
+
/** @deprecated Use stripeSettings({ orientation }) */
|
|
26
|
+
stripeOrientation(): number
|
|
27
|
+
/** @deprecated Use stripeSettings({ orientation }) */
|
|
28
|
+
stripeOrientation(v: number): this
|
|
29
|
+
|
|
30
|
+
catColors(): any
|
|
31
|
+
catColors(v: any): this
|
|
32
|
+
|
|
33
|
+
catLabels(): any
|
|
34
|
+
catLabels(v: any): this
|
|
35
|
+
|
|
36
|
+
/** @deprecated Use stripeSettings({ otherColor }) */
|
|
37
|
+
stripeOtherColor(): string
|
|
38
|
+
/** @deprecated Use stripeSettings({ otherColor }) */
|
|
39
|
+
stripeOtherColor(v: string): this
|
|
40
|
+
|
|
41
|
+
/** @deprecated Use stripeSettings({ otherText }) */
|
|
42
|
+
stripeOtherText(): string
|
|
43
|
+
/** @deprecated Use stripeSettings({ otherText }) */
|
|
44
|
+
stripeOtherText(v: string): this
|
|
45
|
+
|
|
46
|
+
showOnlyWhenComplete(): boolean
|
|
47
|
+
showOnlyWhenComplete(v: boolean): this
|
|
48
|
+
|
|
49
|
+
noDataFillStyle(): string
|
|
50
|
+
noDataFillStyle(v: string): this
|
|
51
|
+
|
|
52
|
+
pieChartRadius(): number
|
|
53
|
+
pieChartRadius(v: number): this
|
|
54
|
+
|
|
55
|
+
pieChartInnerRadius(): number
|
|
56
|
+
pieChartInnerRadius(v: number): this
|
|
57
|
+
|
|
58
|
+
stripeTotalCode(): string | undefined
|
|
59
|
+
stripeTotalCode(v: string | undefined): this
|
|
60
|
+
|
|
61
|
+
statCodes(): string[] | undefined
|
|
62
|
+
statCodes(v: string[] | undefined): this
|
|
63
|
+
|
|
64
|
+
statStripe(config: CompositionStatConfig): this
|
|
65
|
+
/** @deprecated Legacy positional signature. Prefer statStripe({ categoryParameter, categoryCodes, ... }). */
|
|
66
|
+
statStripe(
|
|
67
|
+
/** Config. */
|
|
68
|
+
config: CompositionStatConfig,
|
|
69
|
+
/** Category parameter. */
|
|
70
|
+
categoryParameter?: string,
|
|
71
|
+
/** Category codes. */
|
|
72
|
+
categoryCodes?: string[],
|
|
73
|
+
/** Category labels. */
|
|
74
|
+
categoryLabels?: string[],
|
|
75
|
+
/** Category colors. */
|
|
76
|
+
categoryColors?: string[],
|
|
77
|
+
/** Total code. */
|
|
78
|
+
totalCode?: string
|
|
79
|
+
): this
|
|
80
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { MapConfig } from '../../../core/MapConfig'
|
|
2
|
+
import type { StripeCompositionLegendConfig } from '../../../legend/composition/StripeCompositionLegendConfig'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for stripe composition maps.
|
|
6
|
+
*/
|
|
7
|
+
export interface StripeMapConfig extends MapConfig {
|
|
8
|
+
/** Grouped stripe settings. */
|
|
9
|
+
stripeSettings?: {
|
|
10
|
+
width?: number
|
|
11
|
+
orientation?: number
|
|
12
|
+
otherColor?: string
|
|
13
|
+
otherText?: string
|
|
14
|
+
}
|
|
15
|
+
/** @deprecated Use stripeSettings.width */
|
|
16
|
+
/** Stripe width. */
|
|
17
|
+
stripeWidth?: number
|
|
18
|
+
/** @deprecated Use stripeSettings.orientation */
|
|
19
|
+
/** Stripe orientation. */
|
|
20
|
+
stripeOrientation?: number
|
|
21
|
+
/** Cat colors. */
|
|
22
|
+
catColors?: Record<string, string>
|
|
23
|
+
/** Cat labels. */
|
|
24
|
+
catLabels?: Record<string, string>
|
|
25
|
+
/** @deprecated Use stripeSettings.otherColor */
|
|
26
|
+
/** Stripe other color. */
|
|
27
|
+
stripeOtherColor?: string
|
|
28
|
+
/** @deprecated Use stripeSettings.otherText */
|
|
29
|
+
/** Stripe other text. */
|
|
30
|
+
stripeOtherText?: string
|
|
31
|
+
/** Show only when complete. */
|
|
32
|
+
showOnlyWhenComplete?: boolean
|
|
33
|
+
/** No data fill style. */
|
|
34
|
+
noDataFillStyle?: string
|
|
35
|
+
/** Pie chart radius. */
|
|
36
|
+
pieChartRadius?: number
|
|
37
|
+
/** Pie chart inner radius. */
|
|
38
|
+
pieChartInnerRadius?: number
|
|
39
|
+
/** Stripe total code. */
|
|
40
|
+
stripeTotalCode?: string
|
|
41
|
+
/** Stat codes. */
|
|
42
|
+
statCodes?: string[]
|
|
43
|
+
/** Legend. */
|
|
44
|
+
legend?: StripeCompositionLegendConfig | false
|
|
45
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { MapInstance } from '../../../core/MapInstance'
|
|
2
|
+
import type { CompositionStatConfig } from '../CompositionStatConfig'
|
|
3
|
+
import type { WaffleLegendConfig } from '../../../legend/composition/WaffleLegendConfig'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Waffle map type.
|
|
7
|
+
*/
|
|
8
|
+
export interface WaffleMap extends MapInstance {
|
|
9
|
+
legend(): WaffleLegendConfig | false
|
|
10
|
+
legend(config: WaffleLegendConfig | false): this
|
|
11
|
+
|
|
12
|
+
catColors(): any
|
|
13
|
+
catColors(v: any): this
|
|
14
|
+
|
|
15
|
+
catLabels(): any
|
|
16
|
+
catLabels(v: any): this
|
|
17
|
+
|
|
18
|
+
showOnlyWhenComplete(): boolean
|
|
19
|
+
showOnlyWhenComplete(v: boolean): this
|
|
20
|
+
|
|
21
|
+
noDataFillStyle(): string
|
|
22
|
+
noDataFillStyle(v: string): this
|
|
23
|
+
|
|
24
|
+
waffleSettings(): {
|
|
25
|
+
minSize?: number
|
|
26
|
+
maxSize?: number
|
|
27
|
+
gridSize?: number
|
|
28
|
+
cellPadding?: number
|
|
29
|
+
strokeFill?: string
|
|
30
|
+
strokeWidth?: number
|
|
31
|
+
roundedCorners?: number
|
|
32
|
+
tooltipSize?: number
|
|
33
|
+
otherColor?: string
|
|
34
|
+
otherText?: string
|
|
35
|
+
}
|
|
36
|
+
waffleSettings(v: {
|
|
37
|
+
minSize?: number
|
|
38
|
+
maxSize?: number
|
|
39
|
+
gridSize?: number
|
|
40
|
+
cellPadding?: number
|
|
41
|
+
strokeFill?: string
|
|
42
|
+
strokeWidth?: number
|
|
43
|
+
roundedCorners?: number
|
|
44
|
+
tooltipSize?: number
|
|
45
|
+
otherColor?: string
|
|
46
|
+
otherText?: string
|
|
47
|
+
}): this
|
|
48
|
+
|
|
49
|
+
/** @deprecated Use waffleSettings({ maxSize }) */
|
|
50
|
+
waffleMaxSize(): number
|
|
51
|
+
/** @deprecated Use waffleSettings({ maxSize }) */
|
|
52
|
+
waffleMaxSize(v: number): this
|
|
53
|
+
|
|
54
|
+
/** @deprecated Use waffleSettings({ minSize }) */
|
|
55
|
+
waffleMinSize(): number
|
|
56
|
+
/** @deprecated Use waffleSettings({ minSize }) */
|
|
57
|
+
waffleMinSize(v: number): this
|
|
58
|
+
|
|
59
|
+
/** @deprecated Use waffleSettings({ gridSize }) */
|
|
60
|
+
waffleGridSize(): number
|
|
61
|
+
/** @deprecated Use waffleSettings({ gridSize }) */
|
|
62
|
+
waffleGridSize(v: number): this
|
|
63
|
+
|
|
64
|
+
/** @deprecated Use waffleSettings({ cellPadding }) */
|
|
65
|
+
waffleCellPadding(): number
|
|
66
|
+
/** @deprecated Use waffleSettings({ cellPadding }) */
|
|
67
|
+
waffleCellPadding(v: number): this
|
|
68
|
+
|
|
69
|
+
/** @deprecated Use waffleSettings({ otherColor }) */
|
|
70
|
+
waffleOtherColor(): string
|
|
71
|
+
/** @deprecated Use waffleSettings({ otherColor }) */
|
|
72
|
+
waffleOtherColor(v: string): this
|
|
73
|
+
|
|
74
|
+
/** @deprecated Use waffleSettings({ otherText }) */
|
|
75
|
+
waffleOtherText(): string
|
|
76
|
+
/** @deprecated Use waffleSettings({ otherText }) */
|
|
77
|
+
waffleOtherText(v: string): this
|
|
78
|
+
|
|
79
|
+
/** @deprecated Use waffleSettings({ strokeFill }) */
|
|
80
|
+
waffleStrokeFill(): string
|
|
81
|
+
/** @deprecated Use waffleSettings({ strokeFill }) */
|
|
82
|
+
waffleStrokeFill(v: string): this
|
|
83
|
+
|
|
84
|
+
/** @deprecated Use waffleSettings({ strokeWidth }) */
|
|
85
|
+
waffleStrokeWidth(): number
|
|
86
|
+
/** @deprecated Use waffleSettings({ strokeWidth }) */
|
|
87
|
+
waffleStrokeWidth(v: number): this
|
|
88
|
+
|
|
89
|
+
/** @deprecated Use waffleSettings({ roundedCorners }) */
|
|
90
|
+
waffleRoundedCorners(): number
|
|
91
|
+
/** @deprecated Use waffleSettings({ roundedCorners }) */
|
|
92
|
+
waffleRoundedCorners(v: number): this
|
|
93
|
+
|
|
94
|
+
/** @deprecated Use waffleSettings({ tooltipSize }) */
|
|
95
|
+
waffleTooltipSize(): number
|
|
96
|
+
/** @deprecated Use waffleSettings({ tooltipSize }) */
|
|
97
|
+
waffleTooltipSize(v: number): this
|
|
98
|
+
|
|
99
|
+
dorling(): boolean
|
|
100
|
+
dorling(v: boolean): this
|
|
101
|
+
|
|
102
|
+
waffleTotalCode(): string | undefined
|
|
103
|
+
waffleTotalCode(v: string | undefined): this
|
|
104
|
+
|
|
105
|
+
statCodes(): string[] | undefined
|
|
106
|
+
statCodes(v: string[] | undefined): this
|
|
107
|
+
|
|
108
|
+
statWaffle(config: CompositionStatConfig): this
|
|
109
|
+
/** @deprecated Legacy positional signature. Prefer statWaffle({ categoryParameter, categoryCodes, ... }). */
|
|
110
|
+
statWaffle(
|
|
111
|
+
/** Config. */
|
|
112
|
+
config: CompositionStatConfig,
|
|
113
|
+
/** Category parameter. */
|
|
114
|
+
categoryParameter?: string,
|
|
115
|
+
/** Category codes. */
|
|
116
|
+
categoryCodes?: string[],
|
|
117
|
+
/** Category labels. */
|
|
118
|
+
categoryLabels?: string[],
|
|
119
|
+
/** Category colors. */
|
|
120
|
+
categoryColors?: string[],
|
|
121
|
+
/** Total code. */
|
|
122
|
+
totalCode?: string
|
|
123
|
+
): this
|
|
124
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { MapConfig } from '../../../core/MapConfig'
|
|
2
|
+
import type { WaffleLegendConfig } from '../../../legend/composition/WaffleLegendConfig'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for waffle chart composition maps.
|
|
6
|
+
*/
|
|
7
|
+
export interface WaffleMapConfig extends MapConfig {
|
|
8
|
+
/** Consolidated waffle chart settings. */
|
|
9
|
+
waffleSettings?: {
|
|
10
|
+
minSize?: number
|
|
11
|
+
maxSize?: number
|
|
12
|
+
gridSize?: number
|
|
13
|
+
cellPadding?: number
|
|
14
|
+
strokeFill?: string
|
|
15
|
+
strokeWidth?: number
|
|
16
|
+
roundedCorners?: number
|
|
17
|
+
tooltipSize?: number
|
|
18
|
+
otherColor?: string
|
|
19
|
+
otherText?: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** @deprecated Use waffleSettings.minSize */
|
|
23
|
+
waffleMinSize?: number
|
|
24
|
+
/** @deprecated Use waffleSettings.maxSize */
|
|
25
|
+
waffleMaxSize?: number
|
|
26
|
+
/** @deprecated Use waffleSettings.gridSize */
|
|
27
|
+
waffleGridSize?: number
|
|
28
|
+
/** @deprecated Use waffleSettings.cellPadding */
|
|
29
|
+
waffleCellPadding?: number
|
|
30
|
+
/** @deprecated Use waffleSettings.strokeFill */
|
|
31
|
+
waffleStrokeFill?: string
|
|
32
|
+
/** @deprecated Use waffleSettings.strokeWidth */
|
|
33
|
+
waffleStrokeWidth?: number
|
|
34
|
+
/** @deprecated Use waffleSettings.roundedCorners */
|
|
35
|
+
waffleRoundedCorners?: number
|
|
36
|
+
/** @deprecated Use waffleSettings.tooltipSize */
|
|
37
|
+
waffleTooltipSize?: number
|
|
38
|
+
/** Cat colors. */
|
|
39
|
+
catColors?: Record<string, string>
|
|
40
|
+
/** Cat labels. */
|
|
41
|
+
catLabels?: Record<string, string>
|
|
42
|
+
/** @deprecated Use waffleSettings.otherColor */
|
|
43
|
+
waffleOtherColor?: string
|
|
44
|
+
/** @deprecated Use waffleSettings.otherText */
|
|
45
|
+
waffleOtherText?: string
|
|
46
|
+
/** Show only when complete. */
|
|
47
|
+
showOnlyWhenComplete?: boolean
|
|
48
|
+
/** No data fill style. */
|
|
49
|
+
noDataFillStyle?: string
|
|
50
|
+
/** Dorling. */
|
|
51
|
+
dorling?: boolean
|
|
52
|
+
/** Waffle total code. */
|
|
53
|
+
waffleTotalCode?: string
|
|
54
|
+
/** Stat codes. */
|
|
55
|
+
statCodes?: string[]
|
|
56
|
+
/** Legend. */
|
|
57
|
+
legend?: WaffleLegendConfig | false
|
|
58
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import type { MapInstance } from '../../core/MapInstance'
|
|
2
|
+
import type { FlowGraph, FlowCurvatureSettings, FlowWidthGradientSettings, FlowBundleSettings } from './FlowMapConfig'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Flow map type.
|
|
6
|
+
*/
|
|
7
|
+
export interface FlowMap extends MapInstance {
|
|
8
|
+
flowGraph(): FlowGraph
|
|
9
|
+
flowGraph(v: FlowGraph): this
|
|
10
|
+
|
|
11
|
+
flowSettings(): {
|
|
12
|
+
color: string
|
|
13
|
+
regionColors: string[]
|
|
14
|
+
regionLabels: string[]
|
|
15
|
+
arrows: boolean
|
|
16
|
+
arrowScale: number
|
|
17
|
+
maxWidth: number
|
|
18
|
+
minWidth: number
|
|
19
|
+
outlines: boolean
|
|
20
|
+
outlineWidth: number
|
|
21
|
+
outlineColor: string
|
|
22
|
+
colorGradient: boolean
|
|
23
|
+
stack: boolean
|
|
24
|
+
nodes: boolean
|
|
25
|
+
nodeType: 'circle' | 'donut'
|
|
26
|
+
labelOffsets: { x: number; y: number }
|
|
27
|
+
lineType: 'curved' | 'straight' | 'sankey'
|
|
28
|
+
nodeSizeScale: any
|
|
29
|
+
opacity: number
|
|
30
|
+
internal: boolean
|
|
31
|
+
topLocations: number
|
|
32
|
+
topLocationsType: 'sum' | 'origin' | 'destination'
|
|
33
|
+
curvatureSettings: FlowCurvatureSettings
|
|
34
|
+
order: any
|
|
35
|
+
widthGradient: boolean
|
|
36
|
+
opacityGradient: boolean
|
|
37
|
+
widthGradientSettings: FlowWidthGradientSettings
|
|
38
|
+
bidirectional: boolean
|
|
39
|
+
edgeBundling: boolean
|
|
40
|
+
bundleSettings: FlowBundleSettings
|
|
41
|
+
}
|
|
42
|
+
flowSettings(v: {
|
|
43
|
+
color?: string
|
|
44
|
+
regionColors?: string[]
|
|
45
|
+
regionLabels?: string[]
|
|
46
|
+
arrows?: boolean
|
|
47
|
+
arrowScale?: number
|
|
48
|
+
maxWidth?: number
|
|
49
|
+
minWidth?: number
|
|
50
|
+
outlines?: boolean
|
|
51
|
+
outlineWidth?: number
|
|
52
|
+
outlineColor?: string
|
|
53
|
+
colorGradient?: boolean
|
|
54
|
+
stack?: boolean
|
|
55
|
+
nodes?: boolean
|
|
56
|
+
nodeType?: 'circle' | 'donut'
|
|
57
|
+
labelOffsets?: { x: number; y: number }
|
|
58
|
+
lineType?: 'curved' | 'straight' | 'sankey'
|
|
59
|
+
nodeSizeScale?: any
|
|
60
|
+
opacity?: number
|
|
61
|
+
internal?: boolean
|
|
62
|
+
topLocations?: number
|
|
63
|
+
topLocationsType?: 'sum' | 'origin' | 'destination'
|
|
64
|
+
curvatureSettings?: FlowCurvatureSettings
|
|
65
|
+
order?: any
|
|
66
|
+
widthGradient?: boolean
|
|
67
|
+
opacityGradient?: boolean
|
|
68
|
+
widthGradientSettings?: FlowWidthGradientSettings
|
|
69
|
+
bidirectional?: boolean
|
|
70
|
+
edgeBundling?: boolean
|
|
71
|
+
bundleSettings?: FlowBundleSettings
|
|
72
|
+
}): this
|
|
73
|
+
|
|
74
|
+
/** @deprecated Use flowSettings({ color }) */
|
|
75
|
+
flowColor(): string
|
|
76
|
+
/** @deprecated Use flowSettings({ color }) */
|
|
77
|
+
flowColor(v: string): this
|
|
78
|
+
|
|
79
|
+
/** @deprecated Use flowSettings({ regionColors }) */
|
|
80
|
+
flowRegionColors(): string[]
|
|
81
|
+
/** @deprecated Use flowSettings({ regionColors }) */
|
|
82
|
+
flowRegionColors(v: string[]): this
|
|
83
|
+
|
|
84
|
+
/** @deprecated Use flowSettings({ regionLabels }) */
|
|
85
|
+
flowRegionLabels(): string[]
|
|
86
|
+
/** @deprecated Use flowSettings({ regionLabels }) */
|
|
87
|
+
flowRegionLabels(v: string[]): this
|
|
88
|
+
|
|
89
|
+
/** @deprecated Use flowSettings({ arrows }) */
|
|
90
|
+
flowArrows(): boolean
|
|
91
|
+
/** @deprecated Use flowSettings({ arrows }) */
|
|
92
|
+
flowArrows(v: boolean): this
|
|
93
|
+
|
|
94
|
+
/** @deprecated Use flowSettings({ arrowScale }) */
|
|
95
|
+
flowArrowScale(): number
|
|
96
|
+
/** @deprecated Use flowSettings({ arrowScale }) */
|
|
97
|
+
flowArrowScale(v: number): this
|
|
98
|
+
|
|
99
|
+
/** @deprecated Use flowSettings({ maxWidth }) */
|
|
100
|
+
flowMaxWidth(): number
|
|
101
|
+
/** @deprecated Use flowSettings({ maxWidth }) */
|
|
102
|
+
flowMaxWidth(v: number): this
|
|
103
|
+
|
|
104
|
+
/** @deprecated Use flowSettings({ minWidth }) */
|
|
105
|
+
flowMinWidth(): number
|
|
106
|
+
/** @deprecated Use flowSettings({ minWidth }) */
|
|
107
|
+
flowMinWidth(v: number): this
|
|
108
|
+
|
|
109
|
+
/** @deprecated Use flowSettings({ outlines }) */
|
|
110
|
+
flowOutlines(): boolean
|
|
111
|
+
/** @deprecated Use flowSettings({ outlines }) */
|
|
112
|
+
flowOutlines(v: boolean): this
|
|
113
|
+
|
|
114
|
+
/** @deprecated Use flowSettings({ outlineWidth }) */
|
|
115
|
+
flowOutlineWidth(): number
|
|
116
|
+
/** @deprecated Use flowSettings({ outlineWidth }) */
|
|
117
|
+
flowOutlineWidth(v: number): this
|
|
118
|
+
|
|
119
|
+
/** @deprecated Use flowSettings({ outlineColor }) */
|
|
120
|
+
flowOutlineColor(): string
|
|
121
|
+
/** @deprecated Use flowSettings({ outlineColor }) */
|
|
122
|
+
flowOutlineColor(v: string): this
|
|
123
|
+
|
|
124
|
+
/** @deprecated Use flowSettings({ colorGradient }) */
|
|
125
|
+
flowColorGradient(): boolean
|
|
126
|
+
/** @deprecated Use flowSettings({ colorGradient }) */
|
|
127
|
+
flowColorGradient(v: boolean): this
|
|
128
|
+
|
|
129
|
+
/** @deprecated Use flowSettings({ stack }) */
|
|
130
|
+
flowStack(): boolean
|
|
131
|
+
/** @deprecated Use flowSettings({ stack }) */
|
|
132
|
+
flowStack(v: boolean): this
|
|
133
|
+
|
|
134
|
+
/** @deprecated Use flowSettings({ nodes }) */
|
|
135
|
+
flowNodes(): boolean
|
|
136
|
+
/** @deprecated Use flowSettings({ nodes }) */
|
|
137
|
+
flowNodes(v: boolean): this
|
|
138
|
+
|
|
139
|
+
/** @deprecated Use flowSettings({ nodeType }) */
|
|
140
|
+
flowNodeType(): 'circle' | 'donut'
|
|
141
|
+
/** @deprecated Use flowSettings({ nodeType }) */
|
|
142
|
+
flowNodeType(v: 'circle' | 'donut'): this
|
|
143
|
+
|
|
144
|
+
/** @deprecated Use flowSettings({ labelOffsets }) */
|
|
145
|
+
flowLabelOffsets(): { x: number; y: number }
|
|
146
|
+
/** @deprecated Use flowSettings({ labelOffsets }) */
|
|
147
|
+
flowLabelOffsets(v: { x: number; y: number }): this
|
|
148
|
+
|
|
149
|
+
/** @deprecated Use flowSettings({ lineType }) */
|
|
150
|
+
flowLineType(): 'curved' | 'straight' | 'sankey'
|
|
151
|
+
/** @deprecated Use flowSettings({ lineType }) */
|
|
152
|
+
flowLineType(v: 'curved' | 'straight' | 'sankey'): this
|
|
153
|
+
|
|
154
|
+
/** @deprecated Use flowSettings({ nodeSizeScale }) */
|
|
155
|
+
flowNodeSizeScale(): any
|
|
156
|
+
/** @deprecated Use flowSettings({ nodeSizeScale }) */
|
|
157
|
+
flowNodeSizeScale(v: any): this
|
|
158
|
+
|
|
159
|
+
/** @deprecated Use flowSettings({ opacity }) */
|
|
160
|
+
flowOpacity(): number
|
|
161
|
+
/** @deprecated Use flowSettings({ opacity }) */
|
|
162
|
+
flowOpacity(v: number): this
|
|
163
|
+
|
|
164
|
+
/** @deprecated Use flowSettings({ internal }) */
|
|
165
|
+
flowInternal(): boolean
|
|
166
|
+
/** @deprecated Use flowSettings({ internal }) */
|
|
167
|
+
flowInternal(v: boolean): this
|
|
168
|
+
|
|
169
|
+
/** @deprecated Use flowSettings({ topLocations }) */
|
|
170
|
+
flowTopLocations(): number
|
|
171
|
+
/** @deprecated Use flowSettings({ topLocations }) */
|
|
172
|
+
flowTopLocations(v: number): this
|
|
173
|
+
|
|
174
|
+
/** @deprecated Use flowSettings({ topLocationsType }) */
|
|
175
|
+
flowTopLocationsType(): 'sum' | 'origin' | 'destination'
|
|
176
|
+
/** @deprecated Use flowSettings({ topLocationsType }) */
|
|
177
|
+
flowTopLocationsType(v: 'sum' | 'origin' | 'destination'): this
|
|
178
|
+
|
|
179
|
+
/** @deprecated Use flowSettings({ curvatureSettings }) */
|
|
180
|
+
flowCurvatureSettings(): FlowCurvatureSettings
|
|
181
|
+
/** @deprecated Use flowSettings({ curvatureSettings }) */
|
|
182
|
+
flowCurvatureSettings(v: FlowCurvatureSettings): this
|
|
183
|
+
|
|
184
|
+
/** @deprecated Use flowSettings({ order }) */
|
|
185
|
+
flowOrder(): any
|
|
186
|
+
/** @deprecated Use flowSettings({ order }) */
|
|
187
|
+
flowOrder(v: any): this
|
|
188
|
+
|
|
189
|
+
/** @deprecated Use flowSettings({ widthGradient }) */
|
|
190
|
+
flowWidthGradient(): boolean
|
|
191
|
+
/** @deprecated Use flowSettings({ widthGradient }) */
|
|
192
|
+
flowWidthGradient(v: boolean): this
|
|
193
|
+
|
|
194
|
+
/** @deprecated Use flowSettings({ opacityGradient }) */
|
|
195
|
+
flowOpacityGradient(): boolean
|
|
196
|
+
/** @deprecated Use flowSettings({ opacityGradient }) */
|
|
197
|
+
flowOpacityGradient(v: boolean): this
|
|
198
|
+
|
|
199
|
+
/** @deprecated Use flowSettings({ widthGradientSettings }) */
|
|
200
|
+
flowWidthGradientSettings(): FlowWidthGradientSettings
|
|
201
|
+
/** @deprecated Use flowSettings({ widthGradientSettings }) */
|
|
202
|
+
flowWidthGradientSettings(v: FlowWidthGradientSettings): this
|
|
203
|
+
|
|
204
|
+
/** @deprecated Use flowSettings({ bidirectional }) */
|
|
205
|
+
flowBidirectional(): boolean
|
|
206
|
+
/** @deprecated Use flowSettings({ bidirectional }) */
|
|
207
|
+
flowBidirectional(v: boolean): this
|
|
208
|
+
|
|
209
|
+
/** @deprecated Use flowSettings({ edgeBundling }) */
|
|
210
|
+
flowEdgeBundling(): boolean
|
|
211
|
+
/** @deprecated Use flowSettings({ edgeBundling }) */
|
|
212
|
+
flowEdgeBundling(v: boolean): this
|
|
213
|
+
|
|
214
|
+
/** @deprecated Use flowSettings({ bundleSettings }) */
|
|
215
|
+
flowBundleSettings(): FlowBundleSettings
|
|
216
|
+
/** @deprecated Use flowSettings({ bundleSettings }) */
|
|
217
|
+
flowBundleSettings(v: FlowBundleSettings): this
|
|
218
|
+
}
|