Searched refs:chart2 (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.5.0/demos/widgets/ |
D | lv_demo_widgets.py | 299 chart2 = lv.chart(parent, chart) 300 chart2.set_type(lv.chart.TYPE.COLUMN) 301 chart2.set_style_local_value_str(lv.cont.PART.MAIN, lv.STATE.DEFAULT, "Column chart") 303 s1 = chart2.add_series(LV_THEME_DEFAULT_COLOR_PRIMARY) 304 s2 = chart2.add_series(LV_THEME_DEFAULT_COLOR_SECONDARY) 306 chart2.set_next(s1, 10) 307 chart2.set_next(s1, 90) 308 chart2.set_next(s1, 30) 309 chart2.set_next(s1, 60) 310 chart2.set_next(s1, 10) [all …]
|
D | lv_demo_widgets.c | 74 static lv_obj_t * chart2; variable 593 chart2 = lv_chart_create(chart2_cont); in analytics_create() 594 lv_group_add_obj(lv_group_get_default(), chart2); in analytics_create() 595 lv_obj_add_flag(chart2, LV_OBJ_FLAG_SCROLL_ON_FOCUS); in analytics_create() 597 lv_obj_set_grid_cell(chart2, LV_GRID_ALIGN_STRETCH, 1, 1, LV_GRID_ALIGN_STRETCH, 1, 1); in analytics_create() 598 lv_chart_set_axis_tick(chart2, LV_CHART_AXIS_PRIMARY_Y, 0, 0, 5, 1, true, 80); in analytics_create() 599 lv_chart_set_axis_tick(chart2, LV_CHART_AXIS_PRIMARY_X, 0, 0, 12, 1, true, 50); in analytics_create() 600 lv_obj_set_size(chart2, LV_PCT(100), LV_PCT(100)); in analytics_create() 601 lv_chart_set_type(chart2, LV_CHART_TYPE_BAR); in analytics_create() 602 lv_chart_set_div_line_count(chart2, 6, 0); in analytics_create() [all …]
|