Topic: remove/hide the chart label
Expected behavior
Pass a property in order to remove/hide the chart label
Actual behavior
There is no option to remove/hide the chart label
Magdalena Dembna staff premium answered 5 years ago
https://mdbootstrap.com/docs/vue/advanced/charts/
In the API tab, you can find Legend
section with all available options for customizing legend - and display
is one of them - set it to false
in order to hide it. Best regards, Magdalena
<mdb-line-chart
:data="data"
:options="options"
:width="600"
:height="300"
/>
options: {
legend: {
display: false,
}
}
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 Vue
- MDB Version: 6.4.0
- Device: pc
- Browser: chrome
- OS: ubuntu
- Provided sample code: No
- Provided link: No