I may have encountered a bug with bar chart (I'm using version 1.4.1). So, I have data that is of number[] type and I noticed that when I have only one entry in data array, bar chart doesn't show anything. Interestingly, area chart does show the data point as it should. (I use same options config for both types as it can be seen from the example below)
However, I managed to find a workaround by adding xaxis property with one empty string category defined in it.
Not sure if this is a bug or me not defining the options correctly, but I wanted to let you know about this.
Hello,
I may have encountered a bug with bar chart (I'm using version 1.4.1). So, I have data that is of number[] type and I noticed that when I have only one entry in data array, bar chart doesn't show anything. Interestingly, area chart does show the data point as it should. (I use same options config for both types as it can be seen from the example below)
However, I managed to find a workaround by adding xaxis property with one empty string category defined in it.
Not sure if this is a bug or me not defining the options correctly, but I wanted to let you know about this.
Here's a data example:
And here is an options object I provided to both chart types:
That being said, I could've been configuring charts wrongly so if that's the case, please let me know!