如果charts中出现中文,通常会出现乱码现象,网上搜寻答案,均不凑效,仔细阅读FushionCharts V3的技术文档,其中有如下内容:
Using Multi-lingual text in FusionCharts
FusionCharts allows you to use multi-lingual (UTF-8) characters on the charts. Shown below is an example where we've used Arabic names on the chart:
You can use multi-lingual characters in all the charts in FusionCharts v3 suite. However, any rotated text on chart cannot show non-English characters. That is, if you want to use multi-lingual characters, you'll need to show horizontal x-axis labels and y-axis name (using <chart rotateYAxisName='0' ..>
FusionCharts supports only left-to-right languages as of now. It doesn't have native support for right-to-left languages like Hebrew. So, if you want to use Hebrew with FusionCharts, you'll have to programatically change the text sequence and then provide the data to FusionCharts.
To use multi-lingual characters on the chart, you necessarily need to use dataURL method. dataXML method would give "Invalid XML" error when using multi-lingual characters on certain occasions.
If you're using a physical XML file, make sure it's saved in UTF-8 format.
分享到:
相关推荐
中文乱码问题分析中文乱码问题分析中文乱码问题分析中文乱码问题分析中文乱码问题分析中文乱码问题分析
解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码...
java中最头疼的可能就是中文乱码的问题,这个可以彻底解决中文乱码的问题
本资源参考网上原版为存取英文字符的ini操作,未考虑中文乱码问题。而网上另外也有资料如何处理中文编码,例如转码为utf-8,存能解决乱码,取又出现问题。本资源我重新整理,用unicode完美解决中文乱码问题。用法: ...
中文乱码问题整理总结 通过平时开发实践,总结的乱码问题.
Ajax中文乱码问题解决方案
java中文乱码问题详解--- java中文乱码问题详
今天突然提及的操作之php的JPgraph横坐标中文乱码问题,迫不及待 测试了一下, 尝试了几遍,都是乱码,好不容易没有乱码了,却报错。 解决JPgraph的横坐标显示,中文乱码问题,横坐标数组资源。
51单片机串口发送汉字显示乱码问题
myeclipse中文乱码问题 myeclipse中文乱码问题myeclipse中文乱码问题myeclipse中文乱码问题myeclipse中文乱码问题myeclipse中文乱码问题myeclipse中文乱码问题
Java关于中文乱码问题的多种解决方法,中文乱码过滤器
解决Lua文件反编译后汉字乱码问题。开发环境vs2013,语言c#
linux下中文乱码问题,全面的讲解了linux中文乱码的解决方法,
soapUI输入中文显示为乱码 响应报文中文乱码问题解决方法
描述开发工具使用过程中,令人头痛的tera term中文乱码问题,如何快速定位解决
sqlite3 for delphi 自己修改的版本 解决中文乱码问题
主要为大家分享了介绍了java中文乱码之解决URL中文乱码问题的方法,感兴趣的小伙伴们可以参考一下
针对FROM表单传递参数中的中文乱码问题进行分析并提出解决方法
使用ODBC对数据库时插入数据库中包含中文字符串的数据提交后,再去查询插入的中文字符串,显示中文字符串部分是乱码
struts中文乱码问题解决详细步骤(两种方法)