mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Split two axises
This commit is contained in:
parent
13b18c2489
commit
9d2bf8ad40
@ -43,6 +43,12 @@ async function createChart(el: HTMLDivElement) {
|
||||
{
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
position: 'left',
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
position: 'right',
|
||||
},
|
||||
],
|
||||
series: [
|
||||
@ -85,6 +91,7 @@ async function createChart(el: HTMLDivElement) {
|
||||
data: chartData.data[index],
|
||||
smooth: true,
|
||||
symbol: 'roundRect',
|
||||
yAxisIndex: index,
|
||||
})
|
||||
),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user