The third example demonstrates my real use case where splitArea.interval was not deliberately set to a number larger than data entries, but fell into that condition due to dataZoom.
The splitArea.interval was 1 and the splitArea was displaying correctly at first.
Drag the dataZoom to display the first 2 bars, and the background goes black.
Version
5.3.3
Link to Minimal Reproduction
https://codepen.io/SevenOutman/pen/bGvBKNP
Steps to Reproduce
You can find 3 chart examples in the reproduction link above, each containing 3 data entries for a bars series.
In the first example a transparent/black splitArea is displaying correctly with
splitArea.interval: 1
In the second example,
splitArea.interval
was set to2
and the whole background goes black, which should have been transparent.The third example demonstrates my real use case where
splitArea.interval
was not deliberately set to a number larger than data entries, but fell into that condition due to dataZoom. ThesplitArea.interval
was1
and the splitArea was displaying correctly at first.Drag the dataZoom to display the first 2 bars, and the background goes black.
Current Behavior
The splitArea seems to skip the first color when data entires (in view) is fewer than
splitArea.interval
.Expected Behavior
The splitArea should not skip the first color when data entires (in view) is fewer than
splitArea.interval
.Environment
Any additional comments?
No response