Skip to content

Commit

Permalink
Merge pull request #229 from VisActor/refactor/label_clampforce_timing
Browse files Browse the repository at this point in the history
Refactor/label clampforce timing
  • Loading branch information
xiaoluoHe authored Aug 3, 2023
2 parents 18d0df5 + 2a13907 commit bf45296
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 156 deletions.
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 custom layout and dataFilter",
"type": "patch"
}
],
"packageName": "@visactor/vrender-components"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2943,8 +2943,10 @@ function createContent(stage: Stage) {
animation: {
// mode: 'after'
},
dataFilter: data => {
return data.filter(item => Number(item.text) > 0.59).reverse();
},
overlap: {
enable: false,
avoidBaseMark: true,
size: {
width: 1036.2320098876953,
Expand Down
Loading

0 comments on commit bf45296

Please sign in to comment.