|
No tooltip in Google Chrome |
Posted by jcagumbay on Nov-30-2010 00:58 |
|
Hi,
I have a chart in which image map and tooltip is generated after a button is clicked.
Everything is fine in Firefox and IE. Only in Google Chrome is the issue can be reproduced.
Does anyone have any idea on how to fix this bug? Thank you. Any help would be much
appreciated. |
Re: No tooltip in Google Chrome |
Posted by Peter Kwan on Nov-30-2010 01:57 |
|
Hi jcagumbay,
Do you mean your code after a button is clicked, your code uses some AJAX methods to ask the server to "generate the image map and tooltip" and then apply them to the chart image (without reload the image or the web page)?
If you are using AJAX methods to load an image map, you may consider to test the code first by using a static image and use the button to load a hard coded image map from the server. This can confirm if your code is working with Chrome or not.
If you need further help. please kindly inform me exactly how do you "generate the image map and tooltip" after a button is clicked?
Regards
Peter Kwan |
Re: No tooltip in Google Chrome |
Posted by jcagumbay on Nov-30-2010 03:35 |
|
Yes, I am using ajax to generate the image map. By the way, I'm using the previous version of
chart director and I read in changelog that the current released is now supporting Google
Chrome. Is it possible that the version I used may cause the problem? |
Re: No tooltip in Google Chrome |
Posted by Peter Kwan on Nov-30-2010 15:21 |
|
Hi jcagumbay,
For tooltips, we are not aware of any issue with Google Chrome.
ChartDirector generates standard compliant image maps. As far as we know, it works with all browsers.
The "Google Chrome" support in our release notes refers to the "ChartDirector Javascript Chart Viewer library" (cdjcv.js). This library is usually used to provide drag to scroll/zoom support. Are you using cdjcv.js to load the image map, or are you using your own AJAX code?
(If I remembered correctly, the cdjcv.js should not be able to load the image map only. It must load update the chart image and the image map at the same time.)
If you are using cdjcv.js, and suspect it may be the cause of the problem, you may download the latest ChartDriector, and use the new "cdjcv.js" to replace your existing "cdjcv.js".
Hope this can help.
Regards
Peter Kwan |
|