How to display a chart that uses floating values?

I’m following the widgets_demo from lvgl_demos project. I need to display a chart that can show floating point values.

Currently it seems the chart widget only takes integer values. As presented in the following image:
Is there a way I can use the chart for floating-point values or do I have to modify the existing widget?

PS: Storage, ram and cpu cycles are of no concern. The program will run on a rpi.

Hi @_nullguy ,

See this post for an example.

Kind Regards,


Much appreciated. Thanks for your work.

1 Like