This is a migrated thread and some comments may be shown as answers.

Tooltip position prevents click on short bars

2 Answers 16 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 13 Jul 2015, 03:52 PM

- Open this demo. http://dojo.telerik.com/Inoca/2

- Click  the first bar in the graph. you get an alert().

- Try and click last bar

- Bug: you can't, the tooltip hides the bar.

 

2 Answers, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 15 Jul 2015, 10:48 AM

Hello ​Sylvain,

Actually, the tooltip overlaps the last bar because there is not enough space for it outside the Chart, where the browser viewport ends. Setting a smaller width for the widget solves the issue. An alternative approach is to tweak the tooltip position with appropriate negative top/left margins.

Here is an updated snippet, which demonstrates both techniques. Choose one, according to your preferences.

http://dojo.telerik.com/Inoca/4 

Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sylvain
Top achievements
Rank 1
answered on 15 Jul 2015, 09:38 PM

Hi,

Thanks, changing the position of the tooltip solves my problem.

Sylvain

Tags
Charts
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Sylvain
Top achievements
Rank 1
Share this question
or