Searched refs:chart3 (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.4.0/demos/widgets/ |
D | lv_demo_widgets.c | 73 static lv_obj_t * chart3; variable 796 chart3 = lv_chart_create(panel1); in shop_create() 797 lv_chart_set_axis_tick(chart3, LV_CHART_AXIS_PRIMARY_Y, 0, 0, 6, 1, true, 80); in shop_create() 798 lv_chart_set_axis_tick(chart3, LV_CHART_AXIS_PRIMARY_X, 0, 0, 7, 1, true, 50); in shop_create() 799 lv_chart_set_type(chart3, LV_CHART_TYPE_BAR); in shop_create() 800 lv_chart_set_div_line_count(chart3, 6, 0); in shop_create() 801 lv_chart_set_point_count(chart3, 7); in shop_create() 802 lv_obj_add_event_cb(chart3, shop_chart_event_cb, LV_EVENT_ALL, NULL); in shop_create() 804 ser4 = lv_chart_add_series(chart3, lv_theme_get_color_primary(chart3), LV_CHART_AXIS_PRIMARY_Y); in shop_create() 805 lv_chart_set_next_value(chart3, ser4, lv_rand(60, 90)); in shop_create() [all …]
|