vue-apexcharts
vue-apexcharts copied to clipboard
Y-Axis not updating
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.
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 very simple fix which immediately fixed my issue. Thanks!