apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.34k stars 1.3k forks source link

Boxplot disappears after updateSeries call #3952

Open nineclue opened 1 year ago

nineclue commented 1 year ago

Description

After initial rendering, feeding other data using updateSeries call makes the chart disappear. If I click + or - button of toolbar, then chart reappears and work correctly after that

Steps to Reproduce

  1. Run the example of Reproduction link
  2. Click refresh button --> chart disappears
  3. Click +/- button of toolbar makes the chart reappear

Expected Behavior

Chart should not disappear

Actual Behavior

Chart disappears

Screenshots

9ixdj66dg

Reproduction Link

https://codepen.io/nineclue/pen/oNQmbgp

rosco54 commented 7 months ago

@junedchhipa In the codepen I notice that the yaxis scale and labels update, because the new values in the series have been successfully updated, but the plot is not rendering. Also, clicking on the + zoom button displays the updated plot and then all refreshes after that succeed. As if something (an event?) has not been initialized when the chart is first draw?