mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
chore. fix micropythn example
This commit is contained in:
parent
4b981f7d6d
commit
0ff2d1c2e4
@ -72,7 +72,7 @@ chart.add_event(event_cb, lv.EVENT.ALL, None)
|
|||||||
chart.refresh_ext_draw_size()
|
chart.refresh_ext_draw_size()
|
||||||
|
|
||||||
# Zoom in a little in X
|
# Zoom in a little in X
|
||||||
chart.set_zoom_x(800)
|
#chart.set_zoom_x(800)
|
||||||
|
|
||||||
# Add two data series
|
# Add two data series
|
||||||
ser1 = chart.add_series(lv.palette_main(lv.PALETTE.RED), lv.chart.AXIS.PRIMARY_Y)
|
ser1 = chart.add_series(lv.palette_main(lv.PALETTE.RED), lv.chart.AXIS.PRIMARY_Y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user