mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.79k stars 1.12k forks source link

[charts] Add an overlay for "no data" or "loading" states #12817

Closed alexfauquette closed 4 days ago

alexfauquette commented 2 weeks ago

Fix #10194

Todo

mui-bot commented 2 weeks ago

Deploy preview: https://deploy-preview-12817--material-ui-x.netlify.app/

Updated pages:

Generated by :no_entry_sign: dangerJS against 49ecd96b612e429abe4473d137897e54e0b5ef53

TheOneTheOnlyJJ commented 7 hours ago

Now that we have this feature, would it be feasible to also support animation images instead of the simple text for the loading and no data states? Animations could be supported through GIFs, animated SVGs or even Lottie files. The exact format supported should of course depend on the ease of implementation.

I am suggesting this because such animations are briefly illustrated in the official MD2 docs, in the last paragraph of the Behaviour section of the Data Visualisation page (just above the Dashboards section).

Should this be discussed in a separate issue?