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

min/max dosen't update when update stacktype to 100%

Open m3di opened this issue 2 years ago • 0 comments

Description

when updating stacktype to 100% from normal or from normal to 100% yAxis min/max should set to 0 and 100 but it dosen't change until the next updateOptions call

Steps to Reproduce

  1. create a chart with no stack or normal stackType
  2. updateOption({chart:{stacked: true}, stackType: '100%'})

Expected Behavior

update the yAxis to have min:0 and max:100

Actual Behavior

dosen't update yAxis

Screenshots

image

Reproduction Link

codepen

m3di avatar Jun 12 '22 17:06 m3di