Hey good afternoon
I am trying to use also the LVGL and its charts on the Core2.
I have the version 1.9.2 installed.
I have created an example, which should work.
The API documentation i have linked, documents other functions as implemented.
import lvgl as lv
chart = lv.chart(lv.scr_act())
chart.set_size(200, 150)
chart.set_type(lv.chart.TYPE.LINE) # Line Modechart.set_point_count(20)
chart.set_y_range(lv.chart.AXIS.PRIMARY_Y,0,120)
chart.set_style_local_line_width(lv.chart.PART.SERIES,0,1) #Line Width of Dataserie 0
chart.set_style_local_size(lv.chart.PART.SERIES,0,1) # Point Widthser1 = chart.add_series(lv.color_hex(0x000000)) # Add data serie
chart.set_next(ser1,1) # Set next points on ser1
chart.set_next(ser1,2)
chart.set_next(ser1,10)
chart.set_next(ser1,10)
chart.set_next(ser1,10)
chart.set_next(ser1,10)
chart.set_next(ser1,10)
chart.set_next(ser1,30)
chart.set_next(ser1,70)
chart.set_next(ser1,110)
Late response, i know, but i hope it helps you.
Best regards