Lv_chart connect points

What do you want to achieve?

When using lv_chart with type LV_CHART_TYPE_LINE, I would like to be able to have it to connect points, even if there are empty points between, that are not set.

What have you tried so far?

Tried to do the interpolation, when receiving samples, but am I the only that need this?

Code to reproduce

/*You code here*/

Screenshot and/or video

Environment

LVGL PC simulator v9.3

Hi @Frank_Andersen ,

The lv_chart do not explicitly mention a option to automatically skip over LV_CHART_POINT_NONE values and connect the surrounding valid points in LV_CHART_TYPE_LINE

I’m suggest to use lv_chart_set_point_count with only valid points.