-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rendering SQL results into chart #63
Comments
@klukiyan Hi! An example of query in Laravel
note the data attr in datasets method from chartjs. We pass the data structure that we created. Is it clearer now? |
Hi @fxcosta ,
It works great, but I just think that there should be a better way to build the array than the newb-loop that I've made :) |
Hi,
It's not really an issue with the package, it's rather with my insufficient skills.
Can somebody give me an example of rendering data from SQL results into chartjs array in the controller?
I cannot figure out how to put these 2 pieces together.
Thank you in advance
The text was updated successfully, but these errors were encountered: