Problem with Currency symbol MNT ₮

34 views
Skip to first unread message

chuluu...@gmail.com

unread,
May 16, 2011, 7:01:30 AM5/16/11
to dspl-d...@googlegroups.com
Hi all, 

I need to use currency symbol 
₮ on Y axis. I used the below code. But it didn't work. It shows square instead of ₮. 
 
<attribute id="unit" concept="unit:currency">
           <type ref="string"/>
           <value>MNT</value>
        </attribute>

 I would be happy if you could give me any advice?

Thanks.

Benjamin Yolken

unread,
May 16, 2011, 2:39:18 PM5/16/11
to dspl-d...@googlegroups.com
I tried this out in the Retail Sales dataset (replacing "USD" with "MNT" in the definition of the "sales" concept), and didn't notice any problems. See the attached screenshot.

Which browser and OS are you using? I know that some systems do have trouble rendering the less-common currency symbols. Can you see the symbol correctly when you go to http://code.google.com/apis/publicdata/docs/canonical/currencies_csv.html?

Benjamin Yolken
Product Manager, Google Public Data Explorer
Screen shot 2011-05-16 at 11.32.24 AM.png

chuluu...@gmail.com

unread,
May 17, 2011, 12:50:55 AM5/17/11
to dspl-d...@googlegroups.com
Hello Mr Benjamin.
First of all, I really appreciated your response.

I am using Chrome 12 beta. Also i tried on the firefox 4.1. but I still have the same problem 
I can see the MNT symbol correctly when I go to http://code.google.com/apis/publicdata/docs/canonical/currencies_csv.html.
I also tried this out in the Retail Sales dataset (replacing "USD" with "MNT" in the definition of the "sales" concept). But there is a problem with the symbol. 
 See the attached screenshot

Thanks, 
Chuka SH.

chuluu...@gmail.com

unread,
May 17, 2011, 10:09:06 AM5/17/11
to dspl-d...@googlegroups.com
Hello again.
I tried out it again on another PC. Everything is working fine. I can see the symbol MNT.
I guess, I have a problem with my PC.
Any advice. 
Thanks,

Chuka SH.

Benjamin Yolken

unread,
May 17, 2011, 12:54:45 PM5/17/11
to dspl-d...@googlegroups.com
Can you provide the OS name and version for the system on which the currency symbol wasn't showing? That will help us diagnose the issue. Thanks,

chuluu...@gmail.com

unread,
May 17, 2011, 9:35:16 PM5/17/11
to dspl-d...@googlegroups.com
the OS Windows 7 Ultimate SP1 v6.1.
the symbols weren't showing are MNT, RUB, UZS and AZN. Also tried out on Windows XP v5.1 SP but still same problem. And my friend checked it and saw the same thing. Nevertheless, the symbols were showing when I checked on my friend's PC with the OS Windows 7. 
I guess the problem is related to the cyrillic symbols. Then I changed the symbol to TWD, TRY, and GBP. It was working.


chuluu...@gmail.com

unread,
May 18, 2011, 5:18:42 AM5/18/11
to dspl-d...@googlegroups.com
http://code.google.com/apis/publicdata/docs/cookbook.html#currency on this page, I found out a missing slash. If I am right, please correct the red ones in the following codes: 
  1. Using currency units 

    <concept id="...">
     
    <attribute concept="unit:currency">
       
    <value>EUR<value>
     
    </attribute>
    </concept>
    Creating a custom unit
      ...
      <attribute concept="my_unit">
        <value>SQKM<value>
      </attribute>
      ...
    </concept>

Benjamin Yolken

unread,
May 18, 2011, 1:05:40 PM5/18/11
to dspl-d...@googlegroups.com
You're right, both of those tags should be </value>. Thanks for catching that- I'll include a fix in the next documentation update.
Reply all
Reply to author
Forward
0 new messages