Add new version in repository
This commit is contained in:
35
resources/views/load/chart/maps.js
Normal file
35
resources/views/load/chart/maps.js
Normal file
@@ -0,0 +1,35 @@
|
||||
<script>
|
||||
// Instantiate the map
|
||||
var mapChart = Highcharts.mapChart('map1', {
|
||||
chart: {
|
||||
map: 'custom/world',
|
||||
spacingBottom: 20,
|
||||
backgroundColor:"rgba(14,14,15,0.8)",
|
||||
events: {
|
||||
load: function(){
|
||||
console.log(this);
|
||||
// this.get('fr').zoomTo();
|
||||
this.mapZoom(0.3);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
title: {
|
||||
text: 'Fact Files'
|
||||
},
|
||||
|
||||
legend: {
|
||||
enabled: false
|
||||
},
|
||||
|
||||
credits: {
|
||||
enabled: false
|
||||
},
|
||||
|
||||
mapNavigation: {
|
||||
enabled: true,
|
||||
enableButtons: true,
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user