docs(scale): fix rst (#7045)
This commit is contained in:
@@ -58,7 +58,7 @@ If instead of a numerical value in the major ticks a text is required they can b
|
||||
with :cpp:expr:`lv_scale_set_text_src(scale, custom_labels)` using ``NULL`` as the last element,
|
||||
i.e. :cpp:expr:`static char * custom_labels[3] = {"One", "Two", NULL}`.
|
||||
|
||||
<strong> NOTE: </strong> The major tick value is calculated with the :cpp:expr:`lv_map` API (when not setting the custom labels),
|
||||
**NOTE:** The major tick value is calculated with the :cpp:expr:`lv_map` API (when not setting the custom labels),
|
||||
this calculation takes into consideration the total tick number and the scale range, so the label drawn can present rounding errors
|
||||
when the calculated value is a float number.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user