Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tooltip not available for custom widget
Tooltip not available for custom widget [message #1434602] Tue, 30 September 2014 10:14 Go to next message
Alexandru LATAFriend
Messages: 8
Registered: October 2013
Junior Member
Hi all,

After, finally, managed to create a custom widget for fusioncharts library using the Remote-API I'm facing with the following problem: the chart's tooltips are not displayed.
I am assuming that this is caused by chart's tooltip z-index (99999) value. Knowing that, if I'm changing z-index value to 10000001, for example, the tooltip appears.
I should mention that I've already tried, without any success:
- the moveAbove method;
- to set the z-index value from javascript to something bigger than 99999;
- to add a mouse over listener to the chart, which unfortunately is not available.

Does someone has an idea how I could fix this thing?

Best regards,
Alex
Re: Tooltip not available for custom widget [message #1438620 is a reply to message #1434602] Mon, 06 October 2014 09:34 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

Am 30.09.2014 12:14, schrieb Alexandru LATA:
> if I'm changing z-index value to 10000001, for example, the tooltip
> appears.

Where is the tooltip added to the DOM? If it is added to the document
root instead of to the custom widget itself then yeah, it will need a
very high z-index since the shell currently on top has a very high
z-index. Is that a problem to do?

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Tooltip not available for custom widget [message #1441839 is a reply to message #1438620] Fri, 10 October 2014 08:59 Go to previous messageGo to next message
Alexandru LATAFriend
Messages: 8
Registered: October 2013
Junior Member
Hi Tim,

Thanks for your replay!
As you assumed, the image is added to the document root.

I guess that this should do the trick
 #fusioncharts-tooltip-element { z-index: 200000 !important; }
But, unfortunately, I have no idea were and how to put this on my code.

Regards,
Alex
Re: Tooltip not available for custom widget [message #1441841 is a reply to message #1441839] Fri, 10 October 2014 09:00 Go to previous messageGo to next message
Alexandru LATAFriend
Messages: 8
Registered: October 2013
Junior Member
Check the following screenshot:

http://i.imgur.com/Qh1ss75.png
Re: Tooltip not available for custom widget [message #1444111 is a reply to message #1441841] Mon, 13 October 2014 16:51 Go to previous message
Alexandru LATAFriend
Messages: 8
Registered: October 2013
Junior Member
Hi,

Finally, I solved it, it was pretty straightforward.

Regards,

[Updated on: Mon, 13 October 2014 16:51]

Report message to a moderator

Previous Topic:Text Wrappable table column
Next Topic:browser widget
Goto Forum:
  


Current Time: Sat Feb 22 10:27:58 GMT 2020

Powered by FUDForum. Page generated in 0.02468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top