vue-apexcharts icon indicating copy to clipboard operation
vue-apexcharts copied to clipboard

When an xaxis.min is set to 0 and categories start at 0, undefined is added as first x value

Open pklitscher opened this issue 5 years ago • 2 comments

Issue

When the xaxis.min value is set to 0 and the first categories value is 0 undefined is added as the first value on the x axis

Expected behavior

When xaxis.min is set to 0 the xaxis should start at 0 and the corresponding y value at 0 should be shown on the graph

Actual behavior

The first x axis value is shown as undefined.

Steps to reproduce

In the below CodePen.

  1. Uncomment xaxis.min
  2. See undefined displayed as first x axis value

Example

https://codepen.io/pklitscher/pen/rNxQZEj

Keep up the great work team.

pklitscher avatar Jul 19 '20 09:07 pklitscher

I have a similar issue

When setting min:0 the series data starts at 1. The first value in each series is on the 1 mark, not the 0 mark

image image

quantumwebco avatar Dec 08 '21 19:12 quantumwebco

I'm having the same issue @quantumwebco. Does anyone know if there's a way to start the series at 0 instead of 1?

brandonore avatar Jul 07 '22 14:07 brandonore