Welcome Guest Search | Active Topics |

html special characters in annotation
dplater@rxms.com
#1 Posted : Monday, March 28, 2016 1:30:05 PM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 2/4/2015(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I want to put a degree symbol in an annotation on a radialgauge is there a way to do this?
I have tried:
the degree symbol (copied from charmap),
Code:
°

and
Code:
°


None of which seem to be working.
I am using: jqDataVisualizationJQueryPlugin_4_0_0_0_Release
Dragan
#2 Posted : Tuesday, March 29, 2016 4:45:51 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
You can simply put:

Code:
text: '20°'
Best Regards,
Dragan Matek
jqChart Inc.
dplater@rxms.com
#3 Posted : Tuesday, March 29, 2016 7:55:47 AM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 2/4/2015(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I have tried that too, I just get
Quote:
20�



EDIT: Turns out my html file was not saved in UTF-8 format (no byte order mark), fixed it.



Is there a reason the annotations do not support using the
Code:
°
and other replacement characters?
Dragan
#4 Posted : Thursday, March 31, 2016 7:30:14 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
It is up to the HTML5 Canvas text rendering. It seems that it doen't support these characters.
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.083 seconds.