Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: remove/hide the chart label

eladhr83 free asked 4 years ago


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 answered 4 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,
        }
    }


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: 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