After creating a line chart, then using setData to change the number of series, the markers are not properly updated (they keep their original series number). For example, if you create a Contour graph with three series, then remove the second series, the line will update its class from series s-3 to series s-2 but the markers will start as line-chart-markers markers s-3 and remain the same.
This causes an issue where the line is the proper color and matches the legend, but the markers are incorrectly colored using the original color.
After creating a line chart, then using
setData
to change the number of series, the markers are not properly updated (they keep their original series number). For example, if you create a Contour graph with three series, then remove the second series, the line will update its class fromseries s-3
toseries s-2
but the markers will start asline-chart-markers markers s-3
and remain the same.This causes an issue where the line is the proper color and matches the legend, but the markers are incorrectly colored using the original color.