Lines Matching refs:chart2

72 static lv_obj_t * chart2;  variable
586 chart2 = lv_chart_create(chart2_cont); in analytics_create()
587 lv_group_add_obj(lv_group_get_default(), chart2); in analytics_create()
588 lv_obj_add_flag(chart2, LV_OBJ_FLAG_SCROLL_ON_FOCUS); in analytics_create()
590 lv_obj_set_grid_cell(chart2, LV_GRID_ALIGN_STRETCH, 1, 1, LV_GRID_ALIGN_STRETCH, 1, 1); in analytics_create()
591 lv_chart_set_axis_tick(chart2, LV_CHART_AXIS_PRIMARY_Y, 0, 0, 5, 1, true, 80); in analytics_create()
592 lv_chart_set_axis_tick(chart2, LV_CHART_AXIS_PRIMARY_X, 0, 0, 12, 1, true, 50); in analytics_create()
593 lv_obj_set_size(chart2, LV_PCT(100), LV_PCT(100)); in analytics_create()
594 lv_chart_set_type(chart2, LV_CHART_TYPE_BAR); in analytics_create()
595 lv_chart_set_div_line_count(chart2, 6, 0); in analytics_create()
596 lv_chart_set_point_count(chart2, 12); in analytics_create()
597 lv_obj_add_event_cb(chart2, chart_event_cb, LV_EVENT_ALL, NULL); in analytics_create()
598 lv_chart_set_zoom_x(chart2, 256 * 2); in analytics_create()
599 lv_obj_set_style_border_side(chart2, LV_BORDER_SIDE_LEFT | LV_BORDER_SIDE_BOTTOM, 0); in analytics_create()
600 lv_obj_set_style_radius(chart2, 0, 0); in analytics_create()
603 lv_obj_set_style_pad_gap(chart2, 0, LV_PART_ITEMS); in analytics_create()
604 lv_obj_set_style_pad_gap(chart2, 2, LV_PART_MAIN); in analytics_create()
607 lv_obj_set_style_pad_gap(chart2, 16, 0); in analytics_create()
610 …ser2 = lv_chart_add_series(chart2, lv_palette_lighten(LV_PALETTE_GREY, 1), LV_CHART_AXIS_PRIMARY_Y… in analytics_create()
611 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
612 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
613 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
614 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
615 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
616 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
617 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
618 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
619 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
620 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
621 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
622 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
623 lv_chart_set_next_value(chart2, ser2, lv_rand(10, 80)); in analytics_create()
625 ser3 = lv_chart_add_series(chart2, lv_theme_get_color_primary(chart1), LV_CHART_AXIS_PRIMARY_Y); in analytics_create()
626 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
627 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
628 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
629 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
630 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
631 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
632 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
633 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
634 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
635 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
636 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
637 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
638 lv_chart_set_next_value(chart2, ser3, lv_rand(10, 80)); in analytics_create()
1073 lv_chart_set_series_color(chart2, ser3, color); in color_event_cb()