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

Y-Axis not updating

Open ZSharp1985 opened this issue 4 years ago • 3 comments

I'm using the latest version of the vue-apexcharts component and when I update the chart options to change the 'max' on the y-axis it doesn't change on the UI. Am I missing something? I'm able to dynamically change the chart titles, data, and x-axis key without issue.

ZSharp1985 avatar Apr 21 '20 19:04 ZSharp1985

I found a solution to the problem. It is necessary to transfer chart options to computed property. And in computed property return max via function.

Example https://gist.github.com/dgaponov/84897b4adf5d05ebb6ec3f32fb74f159

dgaponov avatar May 08 '20 11:05 dgaponov

@dgaponov very simple fix which immediately fixed my issue. Thanks!

joaolisboa avatar Dec 05 '22 14:12 joaolisboa