原本的fusioncharts提示是英语,如下,应项目需求要改成中文的,那加载图表等一系列提示如何改为中文
js源码
a.prototype={LoadDataErrorText:"Error in loading data.",XMLLoadingText:"Retrieving data. Please wait",
InvalidXMLText:"Invalid data.",ChartNoDataText:"No data to display.",ReadingDataText:"Reading data. Please wait",
ChartNotSupported:"Chart type not supported.",LoadingText:"Loading chart. Please wait",
RenderChartErrorText:"Unable to render chart."};
在初始化fusioncharts之后,设置相关提示:
chart.configure("ChartNoDataText", "暂 无 相 关 无 数 据!");