关于Highcharts导出功能模块的问题?

1970-01-01 08:00发布

我引入exporting.js后,页面一直出错说“lang”没有找到,我是讲Highcharts中文网的例子完全复制过来的,实在不知道哪里出错了。

Highcharts.setOptions({

        lang:{             contextButtonTitle:"图表导出菜单",             decimalPoint:".",             downloadJPEG:"下载JPEG图片",             downloadPDF:"下载PDF文件",             downloadPNG:"下载PNG文件",             downloadSVG:"下载SVG文件",             drillUpText:"返回 {series.name}",             loading:"加载中",             months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],             noData:"没有数据",             numericSymbols: [ "千" , "兆" , "G" , "T" , "P" , "E"],             printChart:"打印图表",             resetZoom:"恢复缩放",             resetZoomTitle:"恢复图表",             shortMonths: [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"],             thousandsSep:",",             weekdays: ["星期一", "星期二", "星期三", "星期三", "星期四", "星期五", "星期六","星期天"]         }     });     $(function () {         $(
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
1条回答

有具体的地址或者demo吗,没有的话不清楚你是怎么引入和设置的,这样只能建议你去看报错的文件是哪个变量undefined然后往上找了。

一周热门 更多>