Dark+ Invert font color data labels
Theme + invert
by amrutaJgtp
HTML
<script src="https://code.highcharts.com/maps/highmaps.js"></script>
<script src="https://code.highcharts.com/maps/modules/data.js"></script>
<script src="https://code.highcharts.com/mapdata/custom/world.js"></script>
<div id="container"></div>
JavaScript
var chart = Highcharts.mapChart('container', {
"chart": {
"inverted": false,
"backgroundColor": "rgba(0,0,0,1)",
"plotBackgroundColor": "rgba(0,0,0,1)",
"zoomType": null,
"map": 'custom/world',
},
"tooltip": {
"enabled": true
},
"plotOptions": {
"series": {
"animation": {
"duration": 700
},
"cursor": "pointer",
"allowPointSelect": true,
"showInLegend": true,
"turboThreshold": 0,
"stickyTracking": true,
"events": {},
"point": {
"events": {}
},
"borderColor": "rgba(192,192,192,1)"
}
},
"legend": {
"enabled": true,
"item": {},
"borderWidth": 0,
"layout": "horizontal",
"backgroundColor": "rgba(255,255,255,0)",
"itemStyle": {
"color": "rgba(255,255,255,1)",
"fontSize": "0.857rem",
"fontFamily": "Segoe UI",
"fontWeight": "normal",
"fontStyle": "normal",
"textDecoration": "none"
},
"align": "center",
"verticalAlign": "bottom",
"margin": 0,
"padding": 5
},
"credits": {
"enabled": false
},
"exporting": {
"enabled": false
},
"lang": {
"noData": ""
},
"series": [{
"showInLegend": false,
"zIndex": -1
}, {
"id": "series0",
"internalName": "Geomap__Geomap__Msr_Sales",
"name": "Sales",
"joinBy": ["name", "key"],
"zIndex": 1,
"color": "rgba(240,163,0,1)",
"allAreas": false,
"dataLabels": {
"enabled": true,
"borderWidth": 0,
"style": {
"fontFamily": "Segoe UI",
"fontSize": "0.857rem",
"fontStyle": "normal",
"fontWeight": "normal",
"textDecoration": "none",
"textOutline": "0px"
},
"align": "center",
"verticalAlign": "middle",
"inside": true,
"rotation": 0
},
"type": "mapbubble",
"marker": {
"states": {
"select": {
"fillColor": null
}
},
"lineWidth": 0
},
...