From 579904f7c97c3b4682e95154aa656f7f76f84984 Mon Sep 17 00:00:00 2001 From: hyx Date: Wed, 29 Apr 2020 17:59:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=8A=9F=E8=83=BD=201=20panel?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E9=BC=A0=E6=A0=87=E7=BB=8F=E8=BF=87=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=9B=B2=E7=BA=BF=E4=B8=8E=E7=AB=96=E7=BA=BF=E7=9B=B8?= =?UTF-8?q?=E4=BA=A4=E5=A4=84=E6=98=BE=E7=A4=BA=E5=9C=86=E7=82=B9=EF=BC=88?= =?UTF-8?q?panel=E5=88=97=E8=A1=A8=EF=BC=8C=E5=85=A8=E5=B1=8F=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9B=BE=E8=A1=A8=E7=95=8C=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E9=A2=84=E8=A7=88=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-list.vue | 4 +++- nezha-fronted/src/components/charts/chartPreview.vue | 8 ++++++-- nezha-fronted/src/components/charts/line-chart-block.vue | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 44bf44228..e09fa0395 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -761,8 +761,10 @@ export default { const seriesItem = { theData: { name: '', - symbol:'none', //去掉点 + symbol:'emptyCircle', //去掉点 + symbolSize:[2,2], smooth:true, //曲线变平滑 + showSymbol:false, data: [], type:chartInfo.type, }, diff --git a/nezha-fronted/src/components/charts/chartPreview.vue b/nezha-fronted/src/components/charts/chartPreview.vue index e75418e0b..25231e585 100644 --- a/nezha-fronted/src/components/charts/chartPreview.vue +++ b/nezha-fronted/src/components/charts/chartPreview.vue @@ -418,8 +418,10 @@ const seriesItem = { theData: { name: '', - symbol:'none', //去掉点 + symbol:'emptyCircle', //去掉点 + symbolSize:[2,2], smooth:true, //曲线变平滑 + showSymbol:false, data: [], type:chartItem.type, }, @@ -1108,8 +1110,10 @@ const seriesItem = { theData: { name: '', - symbol:'none', //去掉点 + symbol:'emptyCircle', //去掉点 + symbolSize:[2,2], smooth:true, //曲线变平滑 + showSymbol:false, data: [], type:this.chart.type, //visible: true, diff --git a/nezha-fronted/src/components/charts/line-chart-block.vue b/nezha-fronted/src/components/charts/line-chart-block.vue index 70a50a2a9..4e970c66e 100644 --- a/nezha-fronted/src/components/charts/line-chart-block.vue +++ b/nezha-fronted/src/components/charts/line-chart-block.vue @@ -1518,8 +1518,10 @@ const seriesItem = { theData: { name: '', - symbol:'none', //去掉点 + symbol:'emptyCircle', //去掉点 + symbolSize:[2,2], smooth:true, //曲线变平滑 + showSymbol:false, data: [], type:this.data.type, //visible: true,