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
demo里面“标准折线图-横纵坐标互换”那个例子,我把x轴和y轴都改成数值的形式,画不出反转曲线了就。而highcharts是可以画这样的线的。 代码如下: option = { legend: { data:['高度(km)与气温(°C)变化关系'] }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, tooltip : { trigger: 'axis', formatter: "Temperature : {b}km : {c}°C" }, xAxis : [ { type : 'value', axisLabel : { formatter: '{value} °C' } } ], yAxis : [ { type : 'value', axisLine : {onZero: false}, axisLabel : { formatter: '{value} km' }, boundaryGap : false, data : [0,1,2,3,4,5,6,7,80] } ], series : [ { name:'高度(km)与气温(°C)变化关系', type:'line', smooth:true, itemStyle: { normal: { lineStyle: { shadowColor : 'rgba(0,0,0,0.4)' } } }, data:[15, -50, -56.5, -46.5, -22.1, -2.5, -27.7, -55.7, -76.5] } ] }; 是
The text was updated successfully, but these errors were encountered:
暂不支持双数值轴的折线
Sorry, something went wrong.
同 #331
No branches or pull requests
demo里面“标准折线图-横纵坐标互换”那个例子,我把x轴和y轴都改成数值的形式,画不出反转曲线了就。而highcharts是可以画这样的线的。
代码如下:
option = {
legend: {
data:['高度(km)与气温(°C)变化关系']
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
tooltip : {
trigger: 'axis',
formatter: "Temperature :
{b}km : {c}°C"
},
xAxis : [
{
type : 'value',
axisLabel : {
formatter: '{value} °C'
}
}
],
yAxis : [
{
type : 'value',
axisLine : {onZero: false},
axisLabel : {
formatter: '{value} km'
},
boundaryGap : false,
data : [0,1,2,3,4,5,6,7,80]
}
],
series : [
{
name:'高度(km)与气温(°C)变化关系',
type:'line',
smooth:true,
itemStyle: {
normal: {
lineStyle: {
shadowColor : 'rgba(0,0,0,0.4)'
}
}
},
data:[15, -50, -56.5, -46.5, -22.1, -2.5, -27.7, -55.7, -76.5]
}
]
};
是
The text was updated successfully, but these errors were encountered: