Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/chart/
Dlv_chart.c89 lv_free(ser->x_points); in lv_chart_set_type()
90 ser->x_points = NULL; in lv_chart_set_type()
97 ser->x_points = lv_malloc(sizeof(int32_t) * chart->point_cnt); in lv_chart_set_type()
98 LV_ASSERT_MALLOC(ser->x_points); in lv_chart_set_type()
99 if(ser->x_points == NULL) return; in lv_chart_set_type()
121 if(!ser->x_ext_buf_assigned) new_points_alloc(obj, ser, cnt, &ser->x_points); in lv_chart_set_point_count()
238 …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()
317 ser->x_points = lv_malloc(sizeof(int32_t) * chart->point_cnt); in lv_chart_add_series()
318 LV_ASSERT_MALLOC(ser->x_points); in lv_chart_add_series()
319 if(NULL == ser->x_points) { in lv_chart_add_series()
[all …]
Dlv_chart_private.h34 int32_t * x_points; member
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_chart.c34 …TEST_ASSERT_NULL_MESSAGE(red_series->x_points, "X points in non scatter chart should not point to … in test_chart_add_series()
98 …TEST_ASSERT_NULL_MESSAGE(red_series->x_points, "X points in non scatter chart should not point to … in test_chart_point_is_added_at_the_end_of_a_series()