eurostat-map 4.11.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/215.eurostatmap.min.js +1 -1
- package/build/eurostatmap.js +247 -62
- 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/decoration/LabelsConfig.d.ts +2 -1
- package/build/types/layers/composition/bar/BarMapConfig.d.ts +7 -0
- package/build/types/layers/composition/coxcomb/CoxcombMapConfig.d.ts +7 -0
- package/build/types/layers/composition/pie/PieMapConfig.d.ts +7 -0
- package/build/types/layers/composition/waffle/WaffleMapConfig.d.ts +7 -0
- package/build/types/layers/proportional-symbol/ProportionalSymbolConfig.d.ts +5 -1
- package/package.json +1 -1
package/build/package.json
CHANGED
|
@@ -60,7 +60,8 @@ export interface LabelsConfig {
|
|
|
60
60
|
backgroundFill?: string
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Fill/stroke color for statistical value
|
|
63
|
+
* Fill/stroke color for label text - applies to statistical value labels and to
|
|
64
|
+
* geographic labels (country names, country codes, seas) alike.
|
|
64
65
|
* @default '#111111'
|
|
65
66
|
*/
|
|
66
67
|
statLabelTextColor?: string
|
|
@@ -78,6 +78,13 @@ export interface BarMapConfig extends MapConfig {
|
|
|
78
78
|
barTotalCode?: string
|
|
79
79
|
/** Stat codes. */
|
|
80
80
|
statCodes?: string[]
|
|
81
|
+
/**
|
|
82
|
+
* Fill styles for categorical exceptions, keyed by raw value - colors the matching region's
|
|
83
|
+
* own polygon, independently of its bar symbol.
|
|
84
|
+
*/
|
|
85
|
+
categoryFillStyle?: { [rawValue: string]: string }
|
|
86
|
+
/** Legend and tooltip labels for categorical exceptions, keyed by raw value. */
|
|
87
|
+
categoryText?: { [rawValue: string]: string }
|
|
81
88
|
/** Legend. */
|
|
82
89
|
legend?: BarChartLegendConfig | false
|
|
83
90
|
}
|
|
@@ -38,6 +38,13 @@ export interface CoxcombMapConfig extends MapConfig {
|
|
|
38
38
|
catColors?: Record<string, string>
|
|
39
39
|
/** Cat labels. */
|
|
40
40
|
catLabels?: Record<string, string>
|
|
41
|
+
/**
|
|
42
|
+
* Fill styles for categorical exceptions, keyed by raw value - colors the matching region's
|
|
43
|
+
* own polygon, independently of its coxcomb symbol.
|
|
44
|
+
*/
|
|
45
|
+
categoryFillStyle?: { [rawValue: string]: string }
|
|
46
|
+
/** Legend and tooltip labels for categorical exceptions, keyed by raw value. */
|
|
47
|
+
categoryText?: { [rawValue: string]: string }
|
|
41
48
|
/** No data fill style. */
|
|
42
49
|
noDataFillStyle?: string
|
|
43
50
|
/** D3 radial scale mapping a stat value to a wedge radius in pixels. */
|
|
@@ -41,6 +41,13 @@ export interface PieMapConfig extends MapConfig {
|
|
|
41
41
|
compositionTotalCode?: string
|
|
42
42
|
/** Stat codes. */
|
|
43
43
|
statCodes?: string[]
|
|
44
|
+
/**
|
|
45
|
+
* Fill styles for categorical exceptions, keyed by raw value - colors the matching region's
|
|
46
|
+
* own polygon, independently of its pie symbol.
|
|
47
|
+
*/
|
|
48
|
+
categoryFillStyle?: { [rawValue: string]: string }
|
|
49
|
+
/** Legend and tooltip labels for categorical exceptions, keyed by raw value. */
|
|
50
|
+
categoryText?: { [rawValue: string]: string }
|
|
44
51
|
/** Legend. */
|
|
45
52
|
legend?: PieChartLegendConfig | false
|
|
46
53
|
}
|
|
@@ -53,6 +53,13 @@ export interface WaffleMapConfig extends MapConfig {
|
|
|
53
53
|
waffleTotalCode?: string
|
|
54
54
|
/** Stat codes. */
|
|
55
55
|
statCodes?: string[]
|
|
56
|
+
/**
|
|
57
|
+
* Fill styles for categorical exceptions, keyed by raw value - colors the matching region's
|
|
58
|
+
* own polygon, independently of its waffle symbol.
|
|
59
|
+
*/
|
|
60
|
+
categoryFillStyle?: { [rawValue: string]: string }
|
|
61
|
+
/** Legend and tooltip labels for categorical exceptions, keyed by raw value. */
|
|
62
|
+
categoryText?: { [rawValue: string]: string }
|
|
56
63
|
/** Legend. */
|
|
57
64
|
legend?: WaffleLegendConfig | false
|
|
58
65
|
}
|
|
@@ -36,7 +36,11 @@ export interface ProportionalSymbolSettings {
|
|
|
36
36
|
* Configuration for proportional symbol maps
|
|
37
37
|
*/
|
|
38
38
|
export interface ProportionalSymbolConfig extends MapConfig {
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Fill styles for categorical exceptions, keyed by raw value - colors the matching region's
|
|
41
|
+
* own polygon, independently of its symbol (which represents a separate, numeric value and
|
|
42
|
+
* doesn't render at all for a region whose value is a category with no magnitude).
|
|
43
|
+
*/
|
|
40
44
|
categoryFillStyle?: { [rawValue: string]: string }
|
|
41
45
|
/** Legend and tooltip labels for categorical exceptions, keyed by raw value. */
|
|
42
46
|
categoryText?: { [rawValue: string]: string }
|
package/package.json
CHANGED