"
+ "
Nb d\'instituts médico-éducatifs : " + unit_pre + converters.np0(this.point.value, mes_prec) + unit_suf
;}
}
},
plotOptions: {
mappie: {
animation:{
defer: 0,
duration: 1000
},
borderColor: "#c5c5c5",
borderRadius: 0,
borderWidth: 1,
tooltip: {
headerFormat: ""
}
},
series: {
allowPointSelect: true,
states: {
inactive: {
opacity: 1
},
select: {
enabled: false,
color: "#ff0000"
},
},
dataLabels: {
style:{
textOutline: false,
color: "#943463",
fontFamily: "arial",
fontSize: "12px",
fontWeight: "bold",
textDecoration: "none",
fontStyle: "normal"
},
}
}
},
drilldown:{
activeDataLabelStyle: {
textOutline: false,
color: "#943463",
fontWeight: "bold",
textDecoration: "none"
},
},
series: [{
data : data,
name: "Cliquer pour afficher le niveau inférieur",
showInLegend: false,
dataLabels: {
enabled: true,
formatter: function () {
if (level === 2)
var zone_name = this.point.properties["name"];
else
var zone_name = "";
return zone_name;
}
},
color: "#943463"
},{
mapData: Highcharts.maps[map],
data: data_cam,
name: "States",
colorAxis: 1,
borderColor: "#ffffff",
nullColor: "#943463",
showInLegend: false,
joinBy: [joining_key, "CODE_REGION"],
keys: ["CODE_REGION", "DimGraphList_0","DimGraphList_tot", "valSize", "value", "pieOffset"],
point: {
events: {
click: function () {
if(level==2)
var geo_array=[mapcode,this.CODE_REGION,""];
else
var geo_array=[this.CODE_REGION,"",""];
store_drill_level("drillmap_selval_305_17",level,[this.CODE_REGION]);
if(activeFilter){
if(get_drill_level("drillmap_selval_305_17")){
//click_link_fulldim(geo_array, 17, 305,["AURA","Département"]);
//click_link_ext(geo_array);
}else{
//reset_link("17", "305");
//click_linkres_ext(geo_array);
}
} }
}
},
},
]
});
};