Using V8.1, I have a chart component with continuously added values in realtime (similar to EKG). It is extremely fast when placed on a screen but when embedded in a tab control with even just a single tab the performance slows to a fraction.
The code I’m using to create the tab follows.
lv_obj_t *scr = lv_obj_create(NULL);
tabView = lv_tabview_create(scr, LV_DIR_TOP, 30);
tabPid = lv_tabview_add_tab(tabView, "Pid");
chart = lv_chart_create(tabPid);
lv_obj_set_size(chart, 240, 100);
lv_obj_align(chart, LV_ALIGN_TOP_MID, 0, 0);
lv_chart_set_type(chart, LV_CHART_TYPE_LINE);
lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_Y, 0, 64);
lv_obj_set_style_size(chart, 0, LV_PART_INDICATOR);