So I'm working with bar charts to have a bar for each day of the month and I need to be able to have both English and Japanese days. I got it to mostly work, meaning I can successfully have a day on each bar and such but the API fails to recognize that I am using Japanese characters in one situation. Along with the bar charts I have an average line that goes through showing where the average is for the month and the text 'Average' or '平均' depending on the language.
If the average is one I thought it was silly to include it because it would be rather obvious by just looking at the chart. However, if '平均' is not in the right axis then the API does not recognize that I am putting Japanese characters on the bars. It appears that the API uses a font that does not have Japanese characters by default and since the API is not recognizing that Japanese characters are in use when the only characters are in chm they come back as gibberish. Here is the bar graph without an axis: http://chart.apis.google.com/chart?cht=bvs&chs=900x150&chd=t:-1,100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,100,-1,-1,-1,-1,100,100&chl=|2||||||||||||14|||||19|20&chco=9AC0CDAF&chm=t%E6%9C%A8,000000,0,0,11|t%E9%87%91,000000,0,1,11|t%E5%9C%9F,000000,0,2,11|t%E6%97%A5,000000,0,3,11|t%E6%9C%88,000000,0,4,11|t%E7%81%AB,000000,0,5,11|t%E6%B0%B4,000000,0,6,11|t%E6%9C%A8,000000,0,7,11|t%E9%87%91,000000,0,8,11|t%E5%9C%9F,000000,0,9,11|t%E6%97%A5,000000,0,10,11|t%E6%9C%88,000000,0,11,11|t%E7%81%AB,000000,0,12,11|t%E6%B0%B4,000000,0,13,11|t%E6%9C%A8,000000,0,14,11|t%E9%87%91,000000,0,15,11|t%E5%9C%9F,000000,0,16,11|t%E6%97%A5,000000,0,17,11|t%E6%9C%88,000000,0,18,11|t%E7%81%AB,000000,0,19,11 And here is one that displays the characters correctly and the only difference is having the axis on the right: http://chart.apis.google.com/chart?cht=bvs&chs=900x150&chd=t:-1,100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,100,-1,-1,-1,-1,100,100&chl=|2||||||||||||14|||||19|20&chco=9AC0CDAF&chxt=r&chxl=0:|%E5%B9%B3%E5%9D%87&chxp=0,100&chm=t%E6%9C%A8,000000,0,0,11|t%E9%87%91,000000,0,1,11|t%E5%9C%9F,000000,0,2,11|t%E6%97%A5,000000,0,3,11|t%E6%9C%88,000000,0,4,11|t%E7%81%AB,000000,0,5,11|t%E6%B0%B4,000000,0,6,11|t%E6%9C%A8,000000,0,7,11|t%E9%87%91,000000,0,8,11|t%E5%9C%9F,000000,0,9,11|t%E6%97%A5,000000,0,10,11|t%E6%9C%88,000000,0,11,11|t%E7%81%AB,000000,0,12,11|t%E6%B0%B4,000000,0,13,11|t%E6%9C%A8,000000,0,14,11|t%E9%87%91,000000,0,15,11|t%E5%9C%9F,000000,0,16,11|t%E6%97%A5,000000,0,17,11|t%E6%9C%88,000000,0,18,11|t%E7%81%AB,000000,0,19,11 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en -~----------~----~----~----~------~----~------~--~---
