Add sensor data to chart (potentiometer, vibration, temperature)

Place chart up code here

bool once = true;
uint32_t looper5;
 lv_chart_series_t * ui_Chart1serie1 ;

void loop()
{
    lv_timer_handler();
    delay(5);
looper5++;
if( once ) {
once = false;
ui_Chart1serie1 = lv_chart_get_series( ui_chart1, NULL );
}
if((looper5%20) == 0 && lv_scr_act() == ui_Screenx) {
//show new sensor to chart read it here or in other thread and here only show

}
}

How to use Chart widget, ie for temperature data - How to - Forum - SquareLine Studio

https://docs.lvgl.io/master/API/widgets/chart/lv_chart.html