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

4 posts, 0 answers
  1. Adeel
    Adeel avatar
    4 posts
    Member since:
    Sep 2012

    Posted 26 Mar 2013 Link to this post

    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
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 26 Mar 2013 Link to this post

    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!
  3. Adeel
    Adeel avatar
    4 posts
    Member since:
    Sep 2012

    Posted 26 Mar 2013 Link to this post

    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
  4. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 27 Mar 2013 Link to this post

    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!
Back to Top