UX Charting - disable legend

Hi,
I’ve got a bar chart in UX where I want the legend disabled because it is quite big and takes up too much space. I looked at the advanced chart options for chart and plotOptions but could not make it work. Help please!
Thanks,
Eric

Hey @esteingrabe

On the advanced options, try adding this piece of code to disable the legend, it should work as you want it :wink:

  "chartOptions": {
    "legend": {
      "enabled": false
    }
  }
1 Like

Thanks @rmazziero, my mistake was that I added this code inside another container. Once I moved it out it worked :slight_smile:

1 Like