How do you change the thickness of a chart line. Just using the simple chart example from docs: https://docs.lvgl.io/latest/en/html/widgets/chart.html
Hi @EAS_1000 ,
This should do it…
lv_obj_set_style_local_line_width(your_chart, LV_CHART_PART_SERIES, LV_STATE_DEFAULT, your_width_px);
Hope that helps.
Kind Regards,
Pete
Hi Pete,
Thanks for quick response. That is what I thought, I must be doing something else. I’ll post code, maybe you will see something obvious.
Thanks,
I believe I can now change the line size between the points, but the body of each point itself is quite large.
Is there a separate way to change the size of the actual points that are being displayed.
Thanks,
From the docs:
size radius of the points
Hi @EAS_1000 ,
Yes if I remember correctly I think you might want to do this too to achieve just a plane line.
lv_obj_set_style_local_size(your_chart, LV_CHART_PART_SERIES, LV_STATE_DEFAULT, 0);
Kind Regards,
Pete
Thanks Pete. That did it.