Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.h93 lv_coord_t major_len; member
224 void lv_chart_set_axis_tick(lv_obj_t * obj, lv_chart_axis_t axis, lv_coord_t major_len, lv_coord_t …
Dlv_chart.c228 void lv_chart_set_axis_tick(lv_obj_t * obj, lv_chart_axis_t axis, lv_coord_t major_len, lv_coord_t … in lv_chart_set_axis_tick() argument
234 t->major_len = major_len; in lv_chart_set_axis_tick()
1389 if(!t->label_en && !t->major_len && !t->minor_len) return; in draw_y_ticks()
1417 lv_coord_t major_len = t->major_len; in draw_y_ticks() local
1421 major_len *= -1; in draw_y_ticks()
1457 if(major) p2.x = p1.x - major_len; /*major tick*/ in draw_y_ticks()
1521 if(!t->label_en && !t->major_len && !t->minor_len) return; in draw_x_ticks()
1550 …if(y_ofs + label_gap + label_dsc.font->line_height + t->major_len < draw_ctx->clip_area->y1) retur… in draw_x_ticks()
1588 if(sec_axis) p2.y = p1.y - (major ? t->major_len : t->minor_len); in draw_x_ticks()
1589 else p2.y = p1.y + (major ? t->major_len : t->minor_len); in draw_x_ticks()
/lvgl-3.7.0/docs/widgets/extra/
Dchart.md102 Ticks and labels can be added to the axis with `lv_chart_set_axis_tick(chart, axis, major_len, mino…
104 - `major_len` is the length of major ticks