Canvas bug?

3 posts, 1 answers
  1. Jose Mejia
    Jose  Mejia avatar
    107 posts
    Member since:
    May 2009

    Posted 25 May 2015 Link to this post

    Hi.

     

    Here is my  line chart sample. The name of series is deltaX ("ΔX") and so on. But if there is

    renderAs: "canvas"
    presented then  displaying of series name is failing, it show's "ΔX".

    Is it ok? Is it fall under limitations on canvas: interactive features are not available with the exception of shared tooltips?

     

    Thanks in advance.

  2. Answer
    T. Tsonev
    Admin
    T. Tsonev avatar
    2817 posts

    Posted 26 May 2015 Link to this post

    Hello Jose,

    The chart does not support entities, but they will kind of work when the output is set to SVG as it is an XML-based format.

    My suggestion is to explicitly decode the entities or use the Unicode symbols.

    I hope this helps.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. EZ
    EZ avatar
    65 posts
    Member since:
    May 2015

    Posted 26 May 2015 in reply to Jose Mejia Link to this post

    You can use string.fromCharCode(916) to get the string representation of the delta symbol:

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCharCode

     Then it is up to your selected fon to render it.

    UPDATED DOJO EXAMPLE

     

Back to Top