docs(scale): fix rst (#7045)

This commit is contained in:
Yobe Zhou
2024-10-15 01:55:17 +08:00
committed by GitHub
parent 0964feae33
commit ce52267eb1

View File

@@ -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.