How to use lv_chart_set_x_tick_length() , lv_chart_set_x_tick_texts() and etc

You need to set some margin to enable drawing outside of the chart e.g. lv_chart_set_margin(chart, 40);

See the docs here.

1 Like