-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from VisActor/dev/0.14.0
Dev/0.14.0
- Loading branch information
Showing
96 changed files
with
3,563 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...nges/@visactor/vrender-components/feat-containerAlign-for-line-axis_2023-08-06-10-02.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "feat: add `verticalMinSize` and `containerAlign` for line type axis, `verticalMinSize` is used to set the minumum vertical size of axis, and `containerAlign` is to set the all labels's alignment in axis container, support https://github.com/VisActor/VChart/issues/380", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
...nges/@visactor/vrender-components/feat-containerAlign-for-line-axis_2023-08-07-14-20.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "fix: the axis label's textAlign and textBaseline should auto adjust when angle is set, releate https://github.com/VisActor/VChart/issues/439", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
...nges/@visactor/vrender-components/feat-containerAlign-for-line-axis_2023-08-07-15-45.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "fix: panel only works for line axis", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
...nges/@visactor/vrender-components/feat-containerAlign-for-line-axis_2023-08-08-15-25.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "fix: line axis states should set default value", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender-components/feat-label_avoid_mark_2023-08-03-02-17.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "feat(component): label component support avoidMarks", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
.../changes/@visactor/vrender-components/refactor-global-window-rename_2023-07-24-11-31.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender-components", | ||
"comment": "refactor: rename global and window to vglobal and vwindow", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender-components" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/feat-connected-line-area_2023-08-01-12-30.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "feat: add connect type to line and area", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/feat-layout_2023-08-04-07-38.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "feat: support flex layout", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/feat-onAnimateBind_2023-08-07-08-26.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "feat: support animate-bind event", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/feat-text-wordBreak_2023-08-07-07-54.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "feat: support text word-break", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/feat-vertical-text_2023-08-03-11-21.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "feat: support for vertical layout of text graphic", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vrender/refactor-global-window-rename_2023-07-24-11-31.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vrender", | ||
"comment": "refactor: rename global and window to vglobal and vwindow", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@visactor/vrender" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { createStage, createGroup, createRect, container, IGraphic, global } from '@visactor/vrender'; | ||
|
||
// container.load(roughModule); | ||
|
||
export const page = () => { | ||
const group = createGroup({ | ||
x: 100, | ||
y: 100, | ||
background: 'red', | ||
width: 300, | ||
height: 400, | ||
display: 'flex', | ||
flexWrap: 'wrap', | ||
justifyContent: 'flex-start', | ||
alignContent: 'center' | ||
}); | ||
|
||
// 添加10个rect | ||
new Array(10).fill(0).forEach(() => { | ||
group.add( | ||
createRect({ | ||
x: 10, | ||
y: 10, | ||
width: 70, | ||
height: 60, | ||
fill: 'green', | ||
boundsPadding: [0, 6, 6, 0] | ||
}) | ||
); | ||
}); | ||
|
||
const stage = createStage({ | ||
canvas: 'main', | ||
width: 1200, | ||
height: 600, | ||
enableLayout: true | ||
}); | ||
|
||
stage.defaultLayer.add(group); | ||
|
||
stage.render(undefined, { renderStyle: 'rough' }); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,5 +155,9 @@ export const pages = [ | |
{ | ||
title: 'animate-3d', | ||
path: 'animate-3d' | ||
}, | ||
{ | ||
title: 'flex布局', | ||
path: 'flex' | ||
} | ||
]; |
Oops, something went wrong.