老师说我篮球踢得好
2017-10-12 08:58highcharts初始化图表没有动态加载效果
chart = new Highcharts.Chart({
chart: {
renderTo: 'container', //图表放置的容器,关联DIV#id
type: 'column', //柱状图
reflow:true //自适应div的大小
},
title: {
text: '数据库中每个人的年龄' //图表标题
},
xAxis: { //X轴标签
categories:xtext
},
yAxis: { //设置Y轴
title: {
text: '年龄大小'
}
},
// credits:{ //右下角文本不显示
// enabled: false
// },
tooltip:{ //鼠标移动到图形上时显示的提示框
shared: true,
useHTML: true
},
plotOptions:{
column:{
animation:true
}
},
series:[{
}]
}),
这是highcharts的代码 显示的时候没有动态的加载效果
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- JQuery插件-HighCharts 一个令我蛋疼的事 求教、、
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答