var option1 ={
title:{
text:'ss',
x:'center'
//left:center
},
tooltip : {
trigger:'axis'},
toolbox:{
show:true,
feature:{
mark:{show:true},
dataView:{show:true,readOnly:false},
magicType:{
show:true,type:['line','bar']},
restore:{show:true} ,
saveAsImage:{show:true}
},
iconStyle:{
left:'right'}
},
calculable:true,//是否启用拖拽重计算特性,默认关闭
legend:{
bottom:true,
data:['认证金额','上期认证金额','上年同期认证金额','环比变动率','上年同期变动率']
},
xAxis: [
{
type :'category',
data : ['天津分公司', '湛江分公司', '深圳分公司', '公司本部', '北京研究中心', '经济开发区分公司', '上海分公司','研究总院本部','南海作业公司'],
axisPointer: {
type:'shadow'} ,
axisLabel: {
interval:0//横轴信息全部显示
}
}
],
yAxis : [
{
type :'value',
position:'left',
boundaryGap: [0, 0.01]
},
{
type:'value',
position:'right',
axisLabel: {
formatter:'{value} %'}
}
],
series : [
{
name:'认证金额',
type:'bar',
barWidth:'25%',
barGap:'15%',
data:[1674488, 1237785, 1542414, 16969620, 1377299, 3796298, 41041741,32942645,6352352]
},
{
name:'上期认证金额',
type:'bar',
barWidth:'25%',
barGap:'15%',
data:[1751952,241515,1551515,7998620,1477299,4095698,4041741,33942045,5352452]
},
{
name:'上年同期认证金额',
type:'bar',
barWidth:'25%',
barGap:'15%',
data:[1951952,1231515,1531515,6769620,1397299,3695698,4041741,33942045,6152452]
},
{
name:'环比变动率',
type:'line',
yAxisIndex:1,
data:[4.42,1.54,1.65,12.86,20.95,7.31,2.50,2.94,18.68]
},
{
name:'上年同期变动率 ',
type:'line',
yAxisIndex:1,
data:[14.21,2.71,2.05,2.95,5.30,2.72,2.50,2.94,3.25]
}
]
};