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

Kendo Chart tooltips not coming when displaying two charts side by side

3 Answers 90 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Adeel
Top achievements
Rank 1
Adeel asked on 26 Mar 2013, 10:07 AM
Hi,
I am having two kendo charts displaying side by side on a page.

Issue is,
If I show only one chart then Chart Tooltips appear but if display both charts then no chart shows Tooltips.
I guess this is some sort of bug. If it is please can you have me some fix or workaround for it?

Snaps are attached.

Thanks
Charles

3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 26 Mar 2013, 10:15 AM
Hello Charles,

Unfortunately I am not able to reproduce the issue. Can you modify this jsbin with your current scenario?

Regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Adeel
Top achievements
Rank 1
answered on 26 Mar 2013, 11:46 AM
Hello Hristo,
This is something to do with the  style="float:left"  option.
If I do not apply float:left on the second div, problem reproduces with Tooltips not coming sometimes on first Div's chart and sometimes not even on both charts.

Check the Fiddle at:
http://jsbin.com/uqalaq/7/edit

Edit: Also can you please tell me, as per my supplied Fiddle;
Can I start CategoryAxis from Feb 26? I mean Feb 26 is coming a bit ahead but I want to be close to 0.

Thanks
Charles
0
Hristo Germanov
Telerik team
answered on 27 Mar 2013, 04:17 PM
Hi Charles,

1) I don't know why you use float: left to the first div only. Can you apply float: left to the second div?
"Since a float is not in the flow, non-positioned block boxes created before and after the float box flow vertically as if the float did not exist."
Source: http://www.w3.org/TR/CSS2/visuren.html#floats

2) I think that you need justified of the chart's category axis.

Kind regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Adeel
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Adeel
Top achievements
Rank 1
Share this question
or