apexcharts.js icon indicating copy to clipboard operation
apexcharts.js copied to clipboard

Received 'TypeError: Cannot read property 'toString' of undefined' when try to mix bar and line at stacked chart with stackedType="100%"

Open mvtm-dn opened this issue 4 years ago • 4 comments

Bug report

Got "TypeError: Cannot read property 'toString' of undefined" when trying to plot stacked chart mixed line and bar with stackType set to '100%'

Codepen

https://codepen.io/mvtm/pen/VwpbpYw

Explanation

  • What is the behavior you expect? I expect to see stacked bar and line over it
  • What is happening instead? Partially drawn plot without axes, lines etc
  • What error message are you getting?
apexcharts:6 Uncaught (in promise) TypeError: Cannot read property 'toString' of undefined
    at Function.value (apexcharts:6)
    at c (apexcharts:6)
    at s.value (apexcharts:6)
    at t.value (apexcharts:6)
    at t.value (apexcharts:14)
    at t.create (apexcharts:6)
    at apexcharts:14
    at new Promise (<anonymous>)
    at t.value (apexcharts:14)
    at pen.js:51
```

mvtm-dn avatar May 24 '21 09:05 mvtm-dn

I have similar problem when I'm trying to mix bubble chart and line chart...

IgorTitov avatar Sep 12 '21 19:09 IgorTitov

@junedchhipa I have confirmed this issue. It only fails when setting the stackType to 100%

brianlagunas avatar Sep 15 '21 17:09 brianlagunas

Having same issue, mixing Line and Column chart! @brianlagunas @IgorTitov @mvtm-dn Please help me fixing this issue, have you guys fixed your concern, If so please update codepen. @junedchhipa Let me know if any update to this is available or not Using vue-apexcharts

Thanks

rvatsal avatar Sep 30 '21 21:09 rvatsal

Having the same issue in vue3-apexcharts when mixing column and line charts. It seems it tries to use line as a part of stacked collection. Tried to add width, height to , didn't help. When I switch to "normal" stackType, the error disappears.

northstream avatar Apr 10 '24 02:04 northstream