[Vuejs]-Vue Apexchart not showing negative value

1👍

To show negative values in the ApexCharts chart, the min option in the yaxis configuration is set to a value less than 0. So with the xaxis, add this code:

yaxis: {
    min: -100
},

0👍

I add these options in my chart and solved my problem to show the values:

legend: {
          position: "right",
          width: 128,
        },

 tooltip: {
          shared: true,
        },

Leave a comment