fixed issue 183

pull/109/head
Caozhenhui 2022-01-04 11:53:31 +08:00
parent 4d5e58f9cf
commit 827d42e898
5 changed files with 15 additions and 5 deletions

View File

@ -35,7 +35,9 @@ const getOption = (data, isDark) => {
type: 'pie',
radius: ['100%', '87%'],
avoidLabelOverlap: false,
hoverAnimation: false,
emphasis: {
scale: false
},
itemStyle: {
borderWidth: 2,
borderColor: isDark ? '#0E1C2F' : '#fff'

View File

@ -35,7 +35,9 @@ const getOption = (data, isDark) => {
type: 'pie',
radius: ['100%', '87%'],
avoidLabelOverlap: false,
hoverAnimation: false,
emphasis: {
scale: false
},
itemStyle: {
borderWidth: 2,
borderColor: isDark ? '#0E1C2F' : '#fff'

View File

@ -64,7 +64,9 @@ const getOption = (data, isDark) => {
borderColor: themeColors.primary,
borderWidth: 2
},
hoverAnimation: true,
emphasis: {
scale: true
},
data: data,
connectNulls: true,
smooth: 0.6,

View File

@ -95,7 +95,9 @@ const getOption = (month, isDark) => {
symbol: 'circle',
symbolSize: 10,
smooth: false,
hoverAnimation: true,
emphasis: {
scale: true
},
areaStyle: {
color: {
type: 'linear',

View File

@ -140,7 +140,9 @@ const lineChartCode = `function linechartExample(){
borderColor: themeColors.primary,
borderWidth: 2
},
hoverAnimation: true,
emphasis: {
scale: true
},
data: totalOrderData,
connectNulls: true,
smooth: 0.6,