Home
last modified time | relevance | path

Searched refs:x_points (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c85 lv_mem_free(ser->x_points); in lv_chart_set_type()
86 ser->x_points = NULL; in lv_chart_set_type()
93 ser->x_points = lv_mem_alloc(sizeof(lv_point_t) * chart->point_cnt); in lv_chart_set_type()
94 LV_ASSERT_MALLOC(ser->x_points); in lv_chart_set_type()
95 if(ser->x_points == NULL) return; in lv_chart_set_type()
117 if(!ser->x_ext_buf_assigned) new_points_alloc(obj, ser, cnt, &ser->x_points); in lv_chart_set_point_count()
290 …p_out->x = lv_map(ser->x_points[id], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0… in lv_chart_get_point_pos_by_id()
359 ser->x_points = lv_mem_alloc(sizeof(lv_coord_t) * chart->point_cnt); in lv_chart_add_series()
360 LV_ASSERT_MALLOC(ser->x_points); in lv_chart_add_series()
391 if(!series->x_ext_buf_assigned && series->x_points) lv_mem_free(series->x_points); in lv_chart_remove_series()
[all …]
Dlv_chart.h72 lv_coord_t * x_points; member
/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_7.py70 ser.x_points = x_array