Using LocalDate as category field in serial chart

Hi,
I noticed that LocalDate fields are not correctly displayed when used as the category field of a serial chart (notice the label [object Object]):
image

So i created a transient readonly field (converting LocalDate to Date), and now it is working as expected:

return Date.from(data.atStartOfDay(ZoneId.systemDefault()).toInstant());

image

Is this a bug or am I doing something wrong?

Thanks.

Regards,
Peterson.

Hello,

Charts support only java.util.Date type. I have created an issue to support LocalDate and LocalDateTime.

1 Like