Lines Matching refs:chart
4 static lv_obj_t * chart; variable
53 lv_chart_set_zoom_x(chart, v); in slider_x_event_cb()
60 lv_chart_set_zoom_y(chart, v); in slider_y_event_cb()
71 chart = lv_chart_create(lv_scr_act()); in lv_example_chart_5()
72 lv_obj_set_size(chart, 200, 150); in lv_example_chart_5()
73 lv_obj_align(chart, LV_ALIGN_CENTER, -30, -30); in lv_example_chart_5()
74 lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_Y, -1000, 1000); in lv_example_chart_5()
77 lv_obj_set_style_size(chart, 0, LV_PART_INDICATOR); in lv_example_chart_5()
79 …lv_chart_series_t * ser = lv_chart_add_series(chart, lv_palette_main(LV_PALETTE_RED), LV_CHART_AXI… in lv_example_chart_5()
82 lv_chart_set_point_count(chart, pcnt); in lv_example_chart_5()
83 lv_chart_set_ext_y_array(chart, ser, (lv_coord_t *)ecg_sample); in lv_example_chart_5()
90 lv_obj_align_to(slider, chart, LV_ALIGN_OUT_BOTTOM_MID, 0, 20); in lv_example_chart_5()
96 lv_obj_align_to(slider, chart, LV_ALIGN_OUT_RIGHT_MID, 20, 0); in lv_example_chart_5()