ChenErik
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
src/hooks/web/useECharts.ts
|
|
@ -79,7 +79,12 @@ export function useECharts( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function resize() { |
|
|
function resize() { |
|
|
chartInstance?.resize(); |
|
|
chartInstance?.resize({ |
|
|
|
|
|
animation: { |
|
|
|
|
|
duration: 300, |
|
|
|
|
|
easing: 'quadraticIn', |
|
|
|
|
|
}, |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
watch( |
|
|
watch( |
|
|
|