In heatmap apexcharts how can we remove duplicate x axis labels?

Viewed 961

How can I remove the duplicates from x axis labels in heatmap apexcharts Here the JSFiddle Link click here

enter image description here

Here multiple May months are showing I need to display only one in the Middle of 4 columns. I tried the below

xaxis: {
           labels: {showDuplicates: false}
         }

But this is not working as expected.

1 Answers

We need to add the x axis like below and change the x axis value to a date

xaxis: {
                type: "datetime",
                labels: {
                format: 'MMM',
                showDuplicates: false}
              }

JSFiddle

Related