givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
7.07k stars 1.62k forks source link

Widgets/ Charts / Dashboard components #243

Closed fasteddys closed 2 years ago

fasteddys commented 2 years ago

Can you please add widgets so we can also build widgets and dashboards

givanz commented 2 years ago

Hi

Can you please provide more details or examples on what widgets you need to build?

fasteddys commented 2 years ago

You have regular text components, can we add grouped components/graphs/cards

image

givanz commented 2 years ago

Hi

You can create custom components and component groups for charts, you can read about creating components here https://github.com/givanz/VvvebJs/wiki/Components

You can check the chart component code from the widgets group that is built with chart.js library as a starting point to built your own chart components https://github.com/givanz/VvvebJs/blob/master/libs/builder/components-widgets.js#L442-L572