How to let lines of chart be more smooth?


Hi,I’m learning about widget chart recently,and I’ve almost finished all demos according to your codes.
And then I want to try some new tests,I created a line-chart and cleared all points on lines of chart,but I found that it is kind of stiff between line and line.Looks like an unproper transition.
So,how to fix it and let lines act more smooth?I’m just curious.

What LVGL version are you using?

LVGL 8.3.0

What do you want to achieve?

Be smooth,like said above.

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

    lv_obj_t *chart = lv_chart_create(lv_scr_act());
    lv_obj_set_size(chart, 200, 180);

    lv_chart_set_type(chart, LV_CHART_TYPE_LINE);
    lv_chart_set_div_line_count(chart, 0, 0);
    lv_obj_set_style_bg_opa(chart, LV_OPA_TRANSP, LV_PART_INDICATOR);
    lv_chart_set_point_count(chart, 10);
    lv_chart_series_t *s = lv_chart_add_series(chart, lv_palette_main(LV_PALETTE_GREEN), LV_CHART_AXIS_PRIMARY_Y);

    int i;
    for (i = 0; i < 10; i++)
        lv_chart_set_next_value(chart, s, lv_rand(10, 99));

    lv_chart_set_zoom_x(chart, 800);

    lv_obj_set_style_clip_corner(chart, true, LV_PART_ITEMS);
    lv_obj_set_style_line_rounded(chart, true, LV_PART_ITEMS);

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.