当先锋百科网

首页 1 2 3 4 5 6 7

//js代码

$.ajax({
url:"",
data:{"date":new Date().getMilliseconds()},
beforeSend:function(){
showLoading("#container4");
},
success:function(resString){
showCharty4("","");
}
});


function showCharty4(xdata,ydata){
$(function () {
$('#container4').highcharts({
chart: {
type: 'bar',
width:470,
height:220,
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false
},
title: {
text: ''
},
subtitle: {
text: ''
},
xAxis: {
categories: ['5000万元以下','5000万元(含)-1亿元','1亿元(含)-2亿元','2亿元(含)-3亿元','3亿元(含)-5亿元','5亿元(含)以上'],
title: {
text: null
}
},
yAxis: {
min: 0,
title: {
text: '',
align: 'high'
},
labels: {
overflow: 'justify'
}
},
tooltip: {
valueSuffix: '万元'
},
plotOptions: {
bar: {
dataLabels: {
enabled: true
}
}
},

credits: {
enabled: true
},
series: [{
name: '注册资本',
data: [6,27,21,7,3,2]
}]
});
});
}

//jsp代码

<div class="fenbu_ul_img">
<div id="container4"></div>
</div>