Skip to content

Commit

Permalink
chore: 修改点图的 shape
Browse files Browse the repository at this point in the history
  • Loading branch information
simaQ committed Jan 7, 2020
1 parent e7200b9 commit e35917c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/component/component/demo/legend-size.ts
Expand Up @@ -78,6 +78,7 @@ fetch('../data/world.geo.json')
.point()
.position('longitude*latitude')
.color('#1890ff')
.shape('circle')
.size('value', [5, 15])
.style({
lineWidth: 1,
Expand Down
3 changes: 2 additions & 1 deletion examples/gallery/area/demo/area7.ts
Expand Up @@ -89,6 +89,7 @@ view2
view2
.point()
.position('Date*value')
.color('type');
.color('type')
.shape('circle');

chart.render();
1 change: 0 additions & 1 deletion examples/gallery/line/demo/line2.ts
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/line/multiple/demo/kernel-smooth-regression-2.ts
Expand Up @@ -23,7 +23,7 @@ fetch('../data/diamond.json')
sync: true,
},
});
chart.point().position('carat*price');
chart.point().position('carat*price').shape('circle');

[
'boxcar',
Expand Down
1 change: 0 additions & 1 deletion examples/relation/relation/demo/radial-dendrogram.ts
Expand Up @@ -49,7 +49,6 @@ fetch('../data/flare.json')
nodeView.point()
.position('x*y')
.color('hasChildren')
.shape('hollowCircle')
.label('name', {
offset: 5,
labelEmit: true,
Expand Down
1 change: 0 additions & 1 deletion examples/relation/relation/demo/radial-tidy-tree.ts
Expand Up @@ -49,7 +49,6 @@ fetch('../data/flare.json')
nodeView.point()
.position('x*y')
.color('hasChildren')
.shape('hollowCircle')
.label('name', {
offset: 0,
labelEmit: true,
Expand Down

0 comments on commit e35917c

Please sign in to comment.