refactor(obj): remove LV_PART_TICKS and use LV_PART_ITEMS in lv_scale

This commit is contained in:
Gabor Kiss-Vamosi
2023-10-12 21:50:43 +02:00
parent d3aee1d7f6
commit bccbde0cef
13 changed files with 22 additions and 36 deletions

View File

@@ -35,8 +35,6 @@ Parts and Styles
- :cpp:enumerator:`LV_PART_CURSOR` *Line* properties are used to style the cursors.
``width``, ``height``, ``bg_color`` and ``radius`` are used to set
the appearance of points.
- :cpp:enumerator:`LV_PART_TICKS` *Line* and *Text* style properties are used to
style the ticks
Usage
*****
@@ -263,7 +261,7 @@ Events
- :cpp:enumerator:`LV_CHART_DRAW_PART_TICK_LABEL` Used on tick lines and labels.
- ``part``: :cpp:enumerator:`LV_PART_TICKS`
- ``part``: :cpp:enumerator:`LV_PART_ITEMS`
- ``id``: axis
- ``value``: value of the tick
- ``text``: ``value`` converted to decimal or ``NULL`` for minor