From e35917c82e7f60b86b294fac00ad9ade50a05040 Mon Sep 17 00:00:00 2001 From: simaQ Date: Tue, 7 Jan 2020 23:11:13 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E7=82=B9=E5=9B=BE?= =?UTF-8?q?=E7=9A=84=20shape?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/component/component/demo/legend-size.ts | 1 + examples/gallery/area/demo/area7.ts | 3 ++- examples/gallery/line/demo/line2.ts | 1 - examples/line/multiple/demo/kernel-smooth-regression-2.ts | 2 +- examples/relation/relation/demo/radial-dendrogram.ts | 1 - examples/relation/relation/demo/radial-tidy-tree.ts | 1 - 6 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/component/component/demo/legend-size.ts b/examples/component/component/demo/legend-size.ts index 77a0a3b7e4..03d1395807 100644 --- a/examples/component/component/demo/legend-size.ts +++ b/examples/component/component/demo/legend-size.ts @@ -78,6 +78,7 @@ fetch('../data/world.geo.json') .point() .position('longitude*latitude') .color('#1890ff') + .shape('circle') .size('value', [5, 15]) .style({ lineWidth: 1, diff --git a/examples/gallery/area/demo/area7.ts b/examples/gallery/area/demo/area7.ts index 6a67abcf51..fcac11a982 100644 --- a/examples/gallery/area/demo/area7.ts +++ b/examples/gallery/area/demo/area7.ts @@ -89,6 +89,7 @@ view2 view2 .point() .position('Date*value') - .color('type'); + .color('type') + .shape('circle'); chart.render(); diff --git a/examples/gallery/line/demo/line2.ts b/examples/gallery/line/demo/line2.ts index 951502913e..96f0f8edcf 100644 --- a/examples/gallery/line/demo/line2.ts +++ b/examples/gallery/line/demo/line2.ts @@ -27,7 +27,6 @@ fetch('../data/salesTrend.json') chart .point() .position('date*buyin') - .shape('hollowCircle') .size('date', (val) => { if (TICKS.indexOf(val) >= 0) { return 3; diff --git a/examples/line/multiple/demo/kernel-smooth-regression-2.ts b/examples/line/multiple/demo/kernel-smooth-regression-2.ts index d62293685c..6cff7e77a1 100644 --- a/examples/line/multiple/demo/kernel-smooth-regression-2.ts +++ b/examples/line/multiple/demo/kernel-smooth-regression-2.ts @@ -23,7 +23,7 @@ fetch('../data/diamond.json') sync: true, }, }); - chart.point().position('carat*price'); + chart.point().position('carat*price').shape('circle'); [ 'boxcar', diff --git a/examples/relation/relation/demo/radial-dendrogram.ts b/examples/relation/relation/demo/radial-dendrogram.ts index fd5e630453..9f1c68ffcd 100644 --- a/examples/relation/relation/demo/radial-dendrogram.ts +++ b/examples/relation/relation/demo/radial-dendrogram.ts @@ -49,7 +49,6 @@ fetch('../data/flare.json') nodeView.point() .position('x*y') .color('hasChildren') - .shape('hollowCircle') .label('name', { offset: 5, labelEmit: true, diff --git a/examples/relation/relation/demo/radial-tidy-tree.ts b/examples/relation/relation/demo/radial-tidy-tree.ts index 1f1acc9e0a..293b555d06 100644 --- a/examples/relation/relation/demo/radial-tidy-tree.ts +++ b/examples/relation/relation/demo/radial-tidy-tree.ts @@ -49,7 +49,6 @@ fetch('../data/flare.json') nodeView.point() .position('x*y') .color('hasChildren') - .shape('hollowCircle') .label('name', { offset: 0, labelEmit: true,