JavaScript/jQuery PieChart - animation
The UI component animates its elements at the beginning of its lifetime and when the data source changes.
NOTE
If multiple charts on the page do not fit in the window, the animation may not work smoothly. Disable the animation or adjust the markup to fit the charts.
App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.light.css';
- import PieChart, {
- Animation
- } from 'devextreme-react/pie-chart';
- class App extends React.Component {
- render() {
- return (
- <PieChart ... >
- <Animation
- easing="linear"
- duration={500}
- maxPointCountSupported={100}
- />
- </PieChart>
- );
- }
- }
- export default App;
maxPointCountSupported
Specifies how many series points the UI component should have before the animation will be disabled.
Type:
Default Value: 300
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.