mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-11-27 05:39:55 +08:00
Tweak chart
This commit is contained in:
parent
eb55313ef3
commit
ad7f885235
@ -58,14 +58,24 @@ async function createChart(el: HTMLDivElement) {
|
||||
name: '',
|
||||
type: 'line',
|
||||
stack: '',
|
||||
areaStyle: {},
|
||||
itemStyle: {
|
||||
color: '#B5F079',
|
||||
},
|
||||
areaStyle: {
|
||||
color: '#B5F079',
|
||||
},
|
||||
data: [],
|
||||
},
|
||||
{
|
||||
name: '',
|
||||
type: 'line',
|
||||
stack: '',
|
||||
areaStyle: {},
|
||||
itemStyle: {
|
||||
color: '#6FADEB',
|
||||
},
|
||||
areaStyle: {
|
||||
color: '#6FADEB',
|
||||
},
|
||||
data: [],
|
||||
},
|
||||
],
|
||||
@ -88,11 +98,9 @@ async function createChart(el: HTMLDivElement) {
|
||||
(label: string, index: number): echarts.EChartOption.SeriesLine => ({
|
||||
name: label,
|
||||
type: 'line',
|
||||
stack: 'total',
|
||||
areaStyle: {},
|
||||
data: chartData.data[index],
|
||||
smooth: true,
|
||||
symbol: 'roundRect',
|
||||
symbol: 'circle',
|
||||
yAxisIndex: index,
|
||||
})
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user