A point's x exactly as the author wrote it, for the data on screen.
Read from w.globals.initialSeries first: ApexCharts copies the series
there on every updateSeries and updateOptions and keeps a series'
data there when the legend hides it. w.config.series comes next, and
chart.opts, which ApexCharts never updates after the chart was created,
last — so a chart whose data was replaced is not read with its old names.
A point's
xexactly as the author wrote it, for the data on screen.Read from
w.globals.initialSeriesfirst: ApexCharts copies the series there on everyupdateSeriesandupdateOptionsand keeps a series' data there when the legend hides it.w.config.seriescomes next, andchart.opts, which ApexCharts never updates after the chart was created, last — so a chart whose data was replaced is not read with its old names.