How do I remove the legend, labels and all the numbers from the graphs from apex charts

Viewed 6653

enter image description here

I've tried everything I can. If anyone can help me out, it'll be great. I want the numbers on the graphs and the legend gone

1 Answers

Legend and data-labels can be disabled by

const options = {
  dataLabels: {
    enabled: false
  },
  legend: {
    show: false
  }
}

EDIT

If you want to remove all the additional graphics, try using sparkline which will only keep the chart and hide everything.

sparkline: {
  enabled: true
}
Related