Tooltips not working for Pie chart when its drawing on Dialog

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Praveen on 28th January 2013
Hi, I am trying to create a Pie Chart on a Dailog (using jquery dialog function like - $('#dialogDiv').dialog({ height:200, width:300, modal:true});).

I am also trying to have tooltip on mouseHover as show in the your example (www.rgraph.net/examples/pie.html -- 4th Pie). Its working fine when I create this pie on Html page but on Dialog somehow tooltips are not coming.
Posted by RGraph support on 28th January 2013
Hi,

You may need to increase the z-index of your tooltips to something greater then the z-index of the dialog. Try adding this to your page:

<style>
     .RGraph_tooltip {
         z-index: 99999 ! important;
     }
</style>

You may need to to pick a higher value than the z-index of your dialog though.

1 Year Premium Support now reduced to £299:
   www.rgraph.net/support

Richard, RGraph Support
Posted by Enter your name... on 29th January 2013
Its working....

Thank you

Add a reply




« Back to message list