There is always an entry [0,0] for bar type in new Chart component?

I am testing the new Chart component, and I found this:

when the type is line, it's ok:
Snipaste_2022-10-02_08-10-42
but when it's bar type, it shows this:
image

there is always an entry [0,0].

is this a bug for Chart component?

ps:
and when refresh companion screen, the data entries will remain, we have to use clear block to remove them.

Can confirm this behaviour. Bar Chart seems to want to start its indexing at 0

If you provide list data like so
[[0,10],[1,20],[2,40]]

then no issue

1 Like