Hightcharts设置Y轴最大最小值

时间:2015-06-16 08:01:37   收藏:0   阅读:104

有两种方法:

1:是在控件初始化时预设,

yAxis: [{ max:100}]

2:在程序运行中动态更新设置

thChart.yAxis[0].update({ min: 0, max: 500 });

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!