Searched refs:chart3 (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.5.0/demos/widgets/ |
D | lv_demo_widgets.c | 75 static lv_obj_t * chart3; variable 807 chart3 = lv_chart_create(panel1); in shop_create() 808 lv_chart_set_axis_tick(chart3, LV_CHART_AXIS_PRIMARY_Y, 0, 0, 6, 1, true, 80); in shop_create() 809 lv_chart_set_axis_tick(chart3, LV_CHART_AXIS_PRIMARY_X, 0, 0, 7, 1, true, 50); in shop_create() 810 lv_chart_set_type(chart3, LV_CHART_TYPE_BAR); in shop_create() 811 lv_chart_set_div_line_count(chart3, 6, 0); in shop_create() 812 lv_chart_set_point_count(chart3, 7); in shop_create() 813 lv_obj_add_event_cb(chart3, shop_chart_event_cb, LV_EVENT_ALL, NULL); in shop_create() 815 ser4 = lv_chart_add_series(chart3, lv_theme_get_color_primary(chart3), LV_CHART_AXIS_PRIMARY_Y); in shop_create() 816 lv_chart_set_next_value(chart3, ser4, lv_rand(60, 90)); in shop_create() [all …]
|