Skip to content

Commit

Permalink
fix(bar-race): fix label animation #12484
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jul 29, 2020
1 parent ee32d1e commit 03fee21
Show file tree
Hide file tree
Showing 8 changed files with 277 additions and 166 deletions.
5 changes: 5 additions & 0 deletions src/action/changeAxisOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ echarts.registerAction({
ecModel.eachComponent(
{ mainType: componentType, query: payload },
function (componentModel) {
// console.log('in action')
if (payload.sortInfo) {
// console.log(payload.sortInfo);
componentModel.axis.setCategorySortInfo(payload.sortInfo);
}
}
);
});
Loading

0 comments on commit 03fee21

Please sign in to comment.