highcharts
来源:互联网 发布:淘宝卖家评价回复模板 编辑:程序博客网 时间:2024/05/27 10:42
//js代码
$.ajax({
url:"",
data:{},
beforeSend:function(){
showLoading("#container9");
},
success:function(resString){
//var datas=eval("("+resString+")");
$(function () {
$('#container9').highcharts({
chart: {
width:950,
height:220,
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false
},
title: {
text: ''
},
yAxis: [{
title: {
text: '融资性担保余额',
style: {
color: '#4572A7'
}
},
labels: {
formatter: function() {
return this.value +' 万元';
},
style: {
color: '#4572A7'
}
}
}],
xAxis: {
categories: ['2015年3月', '2015年4月', '2015年5月', '2015年6月', '2015年7月','2015年8月', '2015年9月', '2015年10月', '2015年11月', '2015年12月', '2016年1月', '2016年2月']
},
tooltip: {
formatter: function() {
var s;
if (this.point.name) { // the pie chart
s = ''+
this.point.name +': '+ this.y +' fruits';
} else {
s = ''+
this.x +': '+ this.y;
}
return s;
}
},
series: [{
type: 'column',
name: '金额',
data: [100,106,111,121,121,123,128,133,134,135,144,150]
}, {
type: 'spline',
name: '增长率',
data: [12.7,15.9,14,14.5,15,17.4,16.4,13.8,15.6,14.6,12.3,14.9],
marker: {
lineWidth: 2,
lineColor: Highcharts.getOptions().colors[3],
fillColor: 'white'
}
}]
});
});
}
});
//jsp代码
<div class="fenbu_ul_img">
<div id="container9" ></div>
</div>
- highcharts
- HighCharts
- highcharts
- Highcharts
- Highcharts
- HighCharts
- Highcharts
- highcharts
- Highcharts
- Highcharts
- highcharts
- highcharts
- Highcharts
- Highcharts
- Highcharts
- Highcharts
- highcharts
- highcharts
- 未能加载文件或程序集“MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d”或它的某一个依赖项...
- MongoDB的网页客户端RockMongo
- Window系统部署在本地的IIS7里以后,结果不能访问承载SL的.aspx页面
- Hibernate中的N+1 问题(一)
- 继续应用问题与从语言的火花
- highcharts
- (4.3.2.2)ListView 动态设置高度问题
- hive 高级数据类型使用之array(含横表转纵表)
- 2016SDAU课程练习三1002
- 【BZOJ1564】[NOI2009]二叉查找树【区间DP】
- 类似卡片的阴影效果
- pku 1061 - 青蛙的约会
- 抓包工具Fidder详解(主要来抓取Android中app的请求)
- 精选分析listview乱序的原因