Open KBiswas98 opened 4 years ago
Hi @KBiswas98,
Thank you for working with our products.
Can you please give me more details about what do you want to change?
Thank you, Rares
I want to update the value of the line chart, but i can't find the way to update the value..
Hi @KBiswas98,
You have to change the values in the argon-dashboard.js code. For example, for the "#chart-sales" visible in the index page, the values are: data: [0, 200, 10, 30, 15, 40, 20, 60, 60]
.
You have to update these values with the ones you need.
I hope it helps.
All the best, Rares
I have the same question, I cannot change the values of data
It's in argon.js file line number 922 and 848. Where for BootStrap Argon Dashboard.
I am using the laravel version, is there a good way (or good practices) to import data from blade front-end PHP's data to chart?
No, @Cheng-CM I am trying to do the same.
@katesaikishore I found a solution from https://www.itsolutionstuff.com/post/how-to-add-charts-in-laravel-5-using-chart-js-example.html using window.onload
in blade.php files.
It does not use the code in argon.js though, i just make a new chart instead.
Still looking for a better way to do this.
Cool, It's awesome. Thanks.