Skip to content

Commit b54c8d4

Browse files
committed
fix: use the same series.group logic for parsed data as well
1 parent bdadd88 commit b54c8d4

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/modules/CoreUtils.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -279,15 +279,9 @@ class CoreUtils {
279279
axisSeries.forEach((si) => {
280280
// series may be bare until loaded in realtime
281281
if (cnf.series[si] && cnf.series[si].group === undefined) {
282-
if (cnf.series[si].__apexParsed) {
283-
// For parsed series, use sequential counter to avoid duplicates
284-
cnf.series[si].group = 'apexcharts-axis-'.concat(si.toString())
285-
} else {
286-
// For non-parsed series,
287-
// A series with no group defined will be named after the axis that
288-
// referenced it and thus form a group automatically.
289-
cnf.series[si].group = 'apexcharts-axis-'.concat(ai.toString())
290-
}
282+
// A series with no group defined will be named after the axis that
283+
// referenced it and thus form a group automatically.
284+
cnf.series[si].group = 'apexcharts-axis-'.concat(ai.toString())
291285
}
292286
})
293287
})

0 commit comments

Comments
 (0)