Version
5.1.2
Reproduction link
https://codepen.io/htr3n/pen/YzQKMrq
Steps to reproduce
- Define a chart with the following options
- A-axis with type "category", set
data to some kind of category such as ["6:00", "6:30", "7:00", "7:30"]
- Y-axis with type "category", set
data to some sort of category for instance ["A", "B", "C", "D"]
- A series with a list of null input data:
data: [null, null, null, null],
What is expected?
The chart should not render any values because they are all null.
What is actually happening?
The chart renders the first value at the position of the first Y-axis category.
Replace null with undefined, the chart seems to render correctly.
Version
5.1.2
Reproduction link
https://codepen.io/htr3n/pen/YzQKMrq
Steps to reproduce
datato some kind of category such as["6:00", "6:30", "7:00", "7:30"]datato some sort of category for instance["A", "B", "C", "D"]data: [null, null, null, null],What is expected?
The chart should not render any values because they are all null.
What is actually happening?
The chart renders the first value at the position of the first Y-axis category.
Replace
nullwithundefined, the chart seems to render correctly.