chore: minor docs fixes

This commit is contained in:
Gabor Kiss-Vamosi
2023-10-17 14:29:12 +02:00
parent abe89ba1fe
commit 865a2f64a0
4 changed files with 6 additions and 15 deletions

View File

@@ -312,12 +312,12 @@ Bind an integer subject to a drop-down's value
Example Example
------- *******
.. include:: ../examples/others/observer/index.rst .. include:: ../examples/others/observer/index.rst
API API
--- ***

View File

@@ -6,25 +6,25 @@ Line Chart
:language: c :language: c
Faded area line chart with custom division lines Axis ticks and labels with scrolling
------------------------------------------------ ------------------------------------------------
.. lv_example:: widgets/chart/lv_example_chart_2 .. lv_example:: widgets/chart/lv_example_chart_2
:language: c :language: c
Axis ticks and labels with scrolling Show the value of the pressed points
------------------------------------ ------------------------------------
.. lv_example:: widgets/chart/lv_example_chart_3 .. lv_example:: widgets/chart/lv_example_chart_3
:language: c :language: c
Show the value of the pressed points Recolor bars based on their value
------------------------------------ ------------------------------------
.. lv_example:: widgets/chart/lv_example_chart_4 .. lv_example:: widgets/chart/lv_example_chart_4
:language: c :language: c
Display 1000 data points with zooming and scrolling Faded area line chart with custom division lines
--------------------------------------------------- ---------------------------------------------------
.. lv_example:: widgets/chart/lv_example_chart_5 .. lv_example:: widgets/chart/lv_example_chart_5
@@ -41,9 +41,3 @@ Scatter chart
.. lv_example:: widgets/chart/lv_example_chart_7 .. lv_example:: widgets/chart/lv_example_chart_7
:language: c :language: c
Stacked area chart
------------------
.. lv_example:: widgets/chart/lv_example_chart_8
:language:

View File

@@ -50,9 +50,6 @@ void lv_example_chart_7(void)
lv_chart_set_type(chart, LV_CHART_TYPE_SCATTER); lv_chart_set_type(chart, LV_CHART_TYPE_SCATTER);
// lv_chart_set_axis_tick(chart, LV_CHART_AXIS_PRIMARY_X, 5, 5, 5, 1, true, 30);
// lv_chart_set_axis_tick(chart, LV_CHART_AXIS_PRIMARY_Y, 10, 5, 6, 5, true, 50);
lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_X, 0, 200); lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_X, 0, 200);
lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_Y, 0, 1000); lv_chart_set_range(chart, LV_CHART_AXIS_PRIMARY_Y, 0, 1000);

BIN
tests/ref_imgs/arc_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB