Lines Matching refs:chart
7 lv_obj_t * chart; in lv_example_chart_1() local
8 chart = lv_chart_create(lv_scr_act()); in lv_example_chart_1()
9 lv_obj_set_size(chart, 200, 150); in lv_example_chart_1()
10 lv_obj_center(chart); in lv_example_chart_1()
11 lv_chart_set_type(chart, LV_CHART_TYPE_LINE); /*Show lines and points too*/ in lv_example_chart_1()
14 …lv_chart_series_t * ser1 = lv_chart_add_series(chart, lv_palette_main(LV_PALETTE_RED), LV_CHART_AX… in lv_example_chart_1()
15 …lv_chart_series_t * ser2 = lv_chart_add_series(chart, lv_palette_main(LV_PALETTE_GREEN), LV_CHART_… in lv_example_chart_1()
18 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
19 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
20 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
21 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
22 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
23 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
24 lv_chart_set_next_value(chart, ser1, 10); in lv_example_chart_1()
25 lv_chart_set_next_value(chart, ser1, 30); in lv_example_chart_1()
26 lv_chart_set_next_value(chart, ser1, 70); in lv_example_chart_1()
27 lv_chart_set_next_value(chart, ser1, 90); in lv_example_chart_1()
41 lv_chart_refresh(chart); /*Required after direct set*/ in lv_example_chart_1()