请问怎样把 highstock 右上角的日期格式改为中文格式(如:2010-10-10) 本帖最后由 hw20101103 于 2014-02-11 17:30:44 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 去官网查一下啊API。应该是有的,我改过类似于render或者format什么的 // create the chart Highcharts.setOptions({ global: { useUTC: false//中文区时间格式 } // 中文时间显示字符串替换 , lang: { months: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], shortMonths : ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], weekdays: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], thousandsSep:''// 去掉千位的逗号 } }); 可以设置 lang,具体查询API吧 可以看看这个文章,http://liangsandian.com/a/highstock-record.html 问个validation.xml验证框架的问题 50分在线求lomboz 3.0东东???? 初学3个小问题 这样的代码操作数据库为什么失败? 如何使用SmartUpload上传文件到数据库中??? JSP用SQL问题,如何获得总数 循环问题 问~~~~,怎样把一个Swing控件嵌入IE显示? JDBC连接SQLServer数据库问题!!! 想做一个网站的辅助程序! [分享]tomcat设置https双向协议 急求jsp怎么只接收请求而不刷新页面?
类似于render或者format什么的
Highcharts.setOptions({
global: {
useUTC: false//中文区时间格式
}
// 中文时间显示字符串替换
,
lang: {
months: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
shortMonths : ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
weekdays: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
thousandsSep:''// 去掉千位的逗号
}
});