You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
That being said, I could've been configuring charts wrongly so if that's the case, please let me know!
The text was updated successfully, but these errors were encountered:
jknezevic1712
changed the title
Bar chart data point missing when there is only one entry in series
Bar chart data point missing when there is only one entry in data
Jul 3, 2024
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!
The text was updated successfully, but these errors were encountered: