Dears,
I'm using LineChart of OutSystems Charts V2.2.0 and it shows "Index out of bounds. Index 0 for empty list." error when its source DataPoints list is empty.
Is it possible to change to show "No data to display" message without the error?
I can prevent this error by using "If" statement in UI widgets and control its visibility depending on the list is empty or not, but I think its more simple if I can use "No data to display" when list is empty. But as far as I tested, the "No data to display" seemds to be displayed only when IsDataFetched property of Data Action is false...
Are there any simple ways to handle when list is empty?
Best regards,Ron
Hi @Ron WATANABE,
For now, I believe the only workaround is to have that same text inside a Container, on the False statement of the If.
We are working on improving this on a future release of the Charts component!
Best regards,
Bernardo Cardoso
Hi @Bernardo Cardoso,
Thank you for your reply. I got it. I'm looking forward to having the future version!