Topic: Chart is overlapping when on change then hover the chart
kelvinspaces asked 3 years ago
Snippets Demo:
https://mdbootstrap.com/snippets/standard/kelvinspaces/3201392
Expected Result:
I'm going to change the chart type when changing the radio button type,
Line / Bar
Michał Duszak staff answered 3 years ago
Your code creates a new chart whenever you hit a radio button. Instead you can operate on display: hidden
styling so that you just show whichever chart you need at the moment. Here is a working snippet:
https://mdbootstrap.com/snippets/standard/m-duszak/3203654
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: iMac
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: Yes