Do we have any plan to support the Chart element? #2200
Replies: 1 comment
-
daisyUI (as a plugin for Tailwind CSS) is CSS-only. It doesn't inject any JS code to your app. The first screenshot is not possible to do with CSS (technically it is possible to draw it using CSS as a static picture, but that's not useful to use in a real project. In real life, you would provide an array of numbers and you would expect a chart in the output.) Currently the best way to do that is using JS chart libraries which draw lines on a canvas element. There are many chart libraries for pure JS and for each JS framework that you can use. Using canvas element, they can do things that CSS cannot do. And they provide many options and configs. It's totally fine to use third-party JS library alongside daisyUI. You can make the second screenshot using radial progress Let me know if you have any questions |
Beta Was this translation helpful? Give feedback.
-
Hi, I'd love to use the daisyui, but I want to know do we have any plan support this?
such as this screenshot, thanks~
Beta Was this translation helpful? Give feedback.
All reactions