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

@@ -25,7 +25,7 @@ static void event_cb(lv_event_t * e)
lv_point_t p;
lv_chart_get_point_pos_by_id(chart, ser, id, &p);
lv_coord_t * y_array = lv_chart_get_array(chart, ser);
lv_coord_t * y_array = lv_chart_get_y_array(chart, ser);
lv_coord_t value = y_array[id];
char buf[16];