feat(chart) add SCATTER type

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-22 14:36:31 +02:00
parent 431156e5e7
commit b1f7fbe3b7
7 changed files with 417 additions and 132 deletions

View File

@@ -80,7 +80,7 @@ void lv_example_chart_5(void)
uint32_t pcnt = sizeof(ecg_sample) / sizeof(ecg_sample[0]);
lv_chart_set_point_count(chart, pcnt);
lv_chart_set_ext_array(chart, ser, (lv_coord_t *)ecg_sample);
lv_chart_set_ext_y_array(chart, ser, (lv_coord_t *)ecg_sample);
lv_obj_t * slider;
slider = lv_slider_create(lv_scr_act());