Skip to content
New issue

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

不支持双Y轴 #124

Open
zuopf769 opened this issue Aug 10, 2020 · 0 comments
Open

不支持双Y轴 #124

zuopf769 opened this issue Aug 10, 2020 · 0 comments

Comments

@zuopf769
Copy link

option = {
legend: {},
tooltip: {},
dataset: {
source: {
'Week': ['2015', '2016', '2017'],
'Vue': [1, 2, 3],
'react': [2, 3, 3]
},
dimensions:["Week", "Vue", 'react']
},
xAxis: {type: 'category'},
yAxis: [{
type: 'value',
scale: true,
axisLine: {
symbol: ['none', 'arrow']
},
splitLine: {
show: false
}
}, {
type: 'value',
scale: true,
axisLine: {
symbol: ['none', 'arrow']
},
splitLine: {
show: false
}
}],
// Declare several bar series, each will be mapped
// to a column of dataset.source by default.
series: [
{type: 'line'},
{type: 'line'}
]
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant