Change chart line thickness LVGL V8.2

Hello

I’m using LVGL V8.2, I try to change the chart line thickness according following thread, but this does not work…

I also tried following:

lv_obj_set_style_width(ui.screen_chart_1, 8, LV_PART_ITEMS);
lv_obj_set_style_height(ui.screen_chart_1, 8, LV_PART_ITEMS);

Thank you

Use:

lv_obj_set_style_line_width(chart, 20, LV_PART_ITEMS);

image