Labels

13 posts, 0 answers
  1. Mattias Hermansson
    Mattias Hermansson avatar
    24 posts
    Member since:
    May 2010

    Posted 06 Feb 2014 Link to this post

    Hello,

    Is there a way to not print a label on every chart bar, and just on every second or third perhaps?

  2. Mattias Hermansson
    Mattias Hermansson avatar
    24 posts
    Member since:
    May 2010

    Posted 06 Feb 2014 in reply to Mattias Hermansson Link to this post

    or rather that when i got a 100 bars it only prints out every second or third
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 07 Feb 2014 Link to this post

    Hi Mattias,

    From the provided description it is not clear which labels do you mean - categoryAxis.labels or series.labels. If you are referring the categoryAxis.labels - there is a categoryAxis.labels.step option which can be used for this purpose. In case the series.labels - this scenario is not supported by Kendo UI Chart at this point, however we will consider this idea for future releases.

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 17 Feb 2015 Link to this post

    Hello, 

    We're currently facing an issue with Label rendering in IE8.

    If we have SVG contents on a chart label's template, it wouldn't be rendered in IE8. Instead the plain text with all the tags would be shown. This doesn't happen with version 9 and up.

    Is this a known issue ? If so, is there a work-around for this ?

    Thanks in advance for your support,
  6. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 18 Feb 2015 Link to this post

    Hi Rops,

    The provided information is not enough in order to determine the reason for the issue. Could you please provide an isolated runnable example which demonstrates your current implementation and which I can test locally - this way I would be able to check what exactly is going wrong and provide concrete recommendations. Thank you in advance for your cooperation and time.

    Regards,
    Iliana Nikolova
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  7. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 18 Feb 2015 in reply to Iliana Nikolova Link to this post

    Hi Iliana,

    I've attached a partial code of the graph (sample.cshtml) that we're using () along with a screenshot of what is being generated. I've highlighted in yellow the problematic part of the graph (Capture.jpg). Let me know if you need more details.
     
    Keep in mind that we're using .NET 4 and that the issue is only occuring in IE8. 

    Thanks,
  8. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 20 Feb 2015 Link to this post

    Hi Rops,

    Thank you for the provided files. The observed behavior is expected and is caused by IE8 (and below) doesn't support SVG (support for SVG is added in IE9). In these browsers Kendo UI Chart is rendered as VML (documentation link). 

    Regards,

    Iliana Nikolova
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 20 Feb 2015 in reply to Iliana Nikolova Link to this post

    Hi Iliana,

    The real concern is that there seems to be no way to apply any formatting on Label's template since the latest version of  2014.3.1119 (for IE8 that is). The reason for this is that Label's template with SVG elements are no longer converted into VML for IE8 as before.


    Thanks,
  10. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 23 Feb 2015 in reply to Rops Jeune Link to this post

    Hi Iliana,

    The last version in which the Label's template were properly rendered even under IE8 was the 2013.2.1015 version. When we moved to the current version (2014.3.1119). 

    In other words : Ever since the last Kendo version, if you add SVG tags on a Label template, those tags won't be translated to VML when rendering in IE8. The template contents would be rendered as raw texts with all the SVG tags showing in IE8. In the previous version we were using (2013.2.1015) we didn't have that issue, our SVG tags on Label's template would be properly translated into VML under IE8.

    I thought that this additionnal information might be helpful.

    Thanks,
  11. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 23 Feb 2015 in reply to Iliana Nikolova Link to this post

    Hi Iliana,

    The last version in which the Label's template were properly rendered even under IE8 was the 2013.2.1015 version. When we moved to the current version (2014.3.1119). 

    In other words : Ever since the last Kendo version, if you add SVG tags on a Label template, those tags won't be translated to VML when rendering in IE8. The template contents would be rendered as raw texts with all the SVG tags showing in IE8. In the previous version we were using (2013.2.1015) we didn't have that issue, our SVG tags on Label's template would be properly translated into VML under IE8.

    I thought that this additionnal information might be helpful.

    Thanks,
  12. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 24 Feb 2015 Link to this post

    Hi Rops,

    Thank you for the details. It appears there is an issue in the current version of Kendo UI Chart, however I forwarded it to the developers for further investigation and fixing. Please excuse us for the inconvenience caused.

    Regards,
    Iliana Nikolova
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  13. Rops Jeune
    Rops Jeune   avatar
    7 posts
    Member since:
    Feb 2015

    Posted 10 Mar 2015 in reply to Iliana Nikolova Link to this post

    Hi Iliana, 

    Please keep me posted if you have any new development on the issue mentionned above.

    Thanks,
  14. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 12 Mar 2015 Link to this post

    Hi Rops,

    OK, I will post a reply in this thread as soon as I have any information on the subject.

    Regards,
    Iliana Nikolova
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready