mirror of https://github.com/MISP/misp-dashboard
WorlMap legend
parent
ff572cc342
commit
2fd8bd198a
|
@ -266,6 +266,7 @@ small {
|
||||||
regionhitsMax = regionhitsMax >= regionhits[regionCode] ? regionhitsMax : regionhits[regionCode];
|
regionhitsMax = regionhitsMax >= regionhits[regionCode] ? regionhitsMax : regionhits[regionCode];
|
||||||
worldMapObj.series.regions[0].params.max = regionhitsMax;
|
worldMapObj.series.regions[0].params.max = regionhitsMax;
|
||||||
worldMapObj.series.regions[0].legend.render();
|
worldMapObj.series.regions[0].legend.render();
|
||||||
|
console.log(worldMapObj);
|
||||||
// Update data
|
// Update data
|
||||||
worldMapObj.series.regions[0].setValues(regionhits);
|
worldMapObj.series.regions[0].setValues(regionhits);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue