Topic: The charts in MDB Angular is throwing an error?
                                            
                                            salman1793
                                     pro                                     asked 8 years ago                                
                                                    
                                                    Damian Gemza
                                             staff                                             answered 8 years ago                                        
Hi salman1793,
you have to use code below:
<mdb-simple-chart percent="56" barColor="4CAF50" [animate]="{duration: 1000, enabled: true}"></mdb-simple-chart>
<h5><span class="badge green">Sales <i class="fa fa-arrow-circle-up"></i></span></h5>
If you define some configuration options like barColor, trackColor etc..., you have to write it without square brackets. But defining an [animate]="{duration: , enabled: }" is necessary for easy charts.
Please try to follow my advices. If it won't work, please let me know.
Best Regards,
Damian
salman1793 pro commented 8 years ago
Hi Damian, Thank you for your reply. I followed your advice and now everything is working fine. Regards, Salman MujtabaClosed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Pro
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No