Skip to content

Commit

Permalink
__LAB_CHARTANIMATION
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Nov 20, 2023
1 parent e63bf78 commit f36d26c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/web/assets/js/charts/charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const COLOR_LABEL = '#555'

const ECHART_BASE = {
grid: { left: 60, right: 30, top: 30, bottom: 30 },
animation: false,
animation: window.__LAB_CHARTANIMATION || false,
tooltip: {
trigger: 'item',
textStyle: {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/web/assets/js/rebuild-guide.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class RebuildGuide extends React.Component {
const p = ~~((t2 * 100) / t1)

let option = {
animation: true,
series: {
type: 'pie',
radius: ['80%', '100%'],
Expand Down

0 comments on commit f36d26c

Please sign in to comment.