We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@kener option = { title : { text : '某地区蒸发量和降水量', subtext : '纯属虚构' }, tooltip : { trigger : 'axis' }, legend : { data : [ '蒸发量', '降水量' ] }, calculable : true, xAxis : [ { type : 'value' } ], yAxis : [ { type : 'category', data : [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月' ], splitLine : { lineStyle : { color : "#FF0000", width : 1, type : "dashed" } } } ], series : [ { name : '蒸发量', type : 'bar', data : [ 2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3 ] }] };
The text was updated successfully, but these errors were encountered:
http://echarts.baidu.com/doc/example/axis.html
Sorry, something went wrong.
@kener 还是有问题的,不信,你将你发给我的页面,将xaxis里面也加上axis轴上的 splitLine : { show:true, lineStyle: { color: '#483d8b', type: 'dashed', width: "2" } }, 然后将 xAxis :写成yAixs ,将yAxis:写成xAxis:一样显示是错误的,横向的就是实线
2ff2741
No branches or pull requests
@kener
option = {
title : {
text : '某地区蒸发量和降水量',
subtext : '纯属虚构'
},
tooltip : {
trigger : 'axis'
},
legend : {
data : [ '蒸发量', '降水量' ]
},
calculable : true,
xAxis : [ {
type : 'value'
}
],
yAxis : [ {
type : 'category',
data : [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月',
'11月', '12月' ],
splitLine : {
lineStyle : {
color : "#FF0000",
width : 1,
type : "dashed"
}
}
}
],
series : [
{
name : '蒸发量',
type : 'bar',
data : [ 2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6,
20.0, 6.4, 3.3 ]
}]
};
The text was updated successfully, but these errors were encountered: