Topic: Graphs from Line and Bar types not working
Gustavo Almeida
pro
asked 5 years ago
Hi , i did as tutorial shows but for Pie its Ok, but for Line and Bars Graphs are not working

Add comment
Rafał Rogulski
free
answered 5 years ago
Hi Gustavo,
It seems like some of canvas or data was find. Please check if all charts have its own canvas with unique id, next you get canvas 2d context with this line
document.getElementById(id_here).getContext('2d');
, for all canvas, wen you initialize all charts check if you passed good data set (Line and Bar look very similar, Pie have different).
If a code is ok, and charts still don't work please share source code her.
Regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Specification of the issue
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags