laravel-frontend-presets / argon

Argon Frontend Preset For Laravel Framework 9.x and Up
https://www.creative-tim.com/product/argon-dashboard-laravel
MIT License
230 stars 1.09k forks source link

How do I customize the charts? #32

Closed evansbusobozi closed 4 years ago

evansbusobozi commented 4 years ago

Hello, I need to use the available charts and customize them to use dynamic data. How can I do that?

teamupdivision commented 4 years ago

Hello and thanks for using Creative Tim products. You need to create a model to pull data from the DB, a controller to take the data and load it into a view, a view that uses the charts html page to show the dynamic data charts. Also a route to load the controller based on the URL.

All the best.

evansbusobozi commented 4 years ago

Okay, I already understand all that but what I wanted to know was, since the charts are already there. How do I replace the data in the charts. Because I can't see any chart data variables in the html.

teamupdivision commented 4 years ago

Hello, the data points are in the code below from resources/views/dashboard.blade.php Please see data - datasets

`

`