chart is rendered in parts. Fixes the issue with browsers which have limited size on base64 images.

This commit is contained in:
Martynas Mickevicius
2010-07-23 13:19:30 +03:00
parent e3736762ae
commit 25a59f23d5
2 changed files with 39 additions and 11 deletions

View File

@@ -89,11 +89,17 @@ var imageMap = {
},
'loadImageMap': function(map) {
imageMap.imageMap = JSON.parse(map);
this.imageMap = JSON.parse(map);
for (key in this.imageMap)
{
// FIXME
// without this loop image map does not work
// on IE8 in the status page
}
},
'init': function() {
$("img#chart").bind('mousemove',function(e) {
$("div#chart").bind('mousemove',function(e) {
imageMap.mouseMoved(e, this);
});