Files
lvgl/xmls/lv_chart.xml
T
Gabor Kiss-Vamosi 0a9a145987
Arduino Lint / lint (push) Has been cancelled
Build Examples with C++ Compiler / build-examples (push) Has been cancelled
MicroPython CI / Build esp32 port (push) Has been cancelled
MicroPython CI / Build rp2 port (push) Has been cancelled
MicroPython CI / Build stm32 port (push) Has been cancelled
MicroPython CI / Build unix port (push) Has been cancelled
C/C++ CI / Build OPTIONS_16BIT - Ubuntu (push) Has been cancelled
C/C++ CI / Build OPTIONS_24BIT - Ubuntu (push) Has been cancelled
C/C++ CI / Build OPTIONS_FULL_32BIT - Ubuntu (push) Has been cancelled
C/C++ CI / Build OPTIONS_NORMAL_8BIT - Ubuntu (push) Has been cancelled
C/C++ CI / Build OPTIONS_SDL - Ubuntu (push) Has been cancelled
C/C++ CI / Build OPTIONS_16BIT - cl - Windows (push) Has been cancelled
C/C++ CI / Build OPTIONS_16BIT - gcc - Windows (push) Has been cancelled
C/C++ CI / Build OPTIONS_24BIT - cl - Windows (push) Has been cancelled
C/C++ CI / Build OPTIONS_24BIT - gcc - Windows (push) Has been cancelled
C/C++ CI / Build OPTIONS_FULL_32BIT - cl - Windows (push) Has been cancelled
C/C++ CI / Build OPTIONS_FULL_32BIT - gcc - Windows (push) Has been cancelled
C/C++ CI / Build ESP IDF ESP32S3 (push) Has been cancelled
C/C++ CI / Run tests with 32bit build (push) Has been cancelled
C/C++ CI / Run tests with 64bit build (push) Has been cancelled
BOM Check / bom-check (push) Has been cancelled
Verify that lv_conf_internal.h matches repository state / verify-conf-internal (push) Has been cancelled
Verify the widget property name / verify-property-name (push) Has been cancelled
Verify code formatting / verify-formatting (push) Has been cancelled
Compare file templates with file names / template-check (push) Has been cancelled
Build docs / build-and-deploy (push) Has been cancelled
Test API JSON generator / Test API JSON (push) Has been cancelled
Install LVGL using CMake / build-examples (push) Has been cancelled
Check Makefile / Build using Makefile (push) Has been cancelled
Check Makefile for UEFI / Build using Makefile for UEFI (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/benchmark_results_comment/test.sh) (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/filter_docker_logs/test.sh) (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark - Script Check (scripts/perf/tests/serialize_results/test.sh) (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark 32b - lv_conf_perf32b (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark 64b - lv_conf_perf64b (push) Has been cancelled
Emulated Performance Test / ARM Emulated Benchmark - Save PR Number (push) Has been cancelled
Hardware Performance Test / Hardware Performance Benchmark (push) Has been cancelled
Hardware Performance Test / HW Benchmark - Save PR Number (push) Has been cancelled
Performance Tests CI / Perf Tests OPTIONS_TEST_PERF_32B - Ubuntu (push) Has been cancelled
Performance Tests CI / Perf Tests OPTIONS_TEST_PERF_64B - Ubuntu (push) Has been cancelled
Port repo release update / run-release-branch-updater (push) Has been cancelled
Verify Font License / verify-font-license (push) Has been cancelled
Verify Kconfig / verify-kconfig (push) Has been cancelled
docs(xml): add help texts in XMLs (#8961)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-01 15:19:12 +02:00

58 lines
3.3 KiB
XML

<!--
<lv_chart type="bar" point_count="30">
<lv_chart-series color="0xff0000" axis="primary_y" values="10, 20, 10, 33"/>
<lv_chart-series color="0x00ff00" axis="secondary_y" values="1, 5, 4 8"/>
<lv_chart-cursor color="0x0000ff" dir="right" pos="30, 70"/>
<lv_chart-axis name="primary_y" range="10, 40"/>
</lv_chart>
-->
<widget>
<api>
<enumdef name="lv_chart_type" help="How the chart draws its data series">
<enum name="none" help="Draw nothing"/>
<enum name="line" help="Draw data points as connected lines"/>
<enum name="bar" help="Draw data points as bars"/>
<enum name="stacked" help="Draw series as stacked bars on top of each other"/>
<enum name="scatter" help="Draw data points as unconnected dots"/>
</enumdef>
<enumdef name="lv_chart_update_mode" help="How the chart handles new data points">
<enum name="shift" help="Shift old data to the left when new points are added"/>
<enum name="circular" help="Overwrite the oldest data in a circular buffer style"/>
</enumdef>
<enumdef name="lv_chart_axis" help="Which axis a series belongs to">
<enum name="primary_x" help="Use the primary X axis"/>
<enum name="primary_y" help="Use the primary Y axis"/>
<enum name="secondary_x" help="Use the secondary X axis"/>
<enum name="secondary_y" help="Use the secondary Y axis"/>
</enumdef>
<prop name="type" type="enum:lv_chart_type" help="Choose how the chart should draw its data"/>
<prop name="point_count" type="int" help="Set how many data points each series stores"/>
<prop name="update_mode" type="enum:lv_chart_update_mode" help="Choose how the chart updates when adding new points"/>
<prop name="hor_div_line_count" type="int" help="Show this many horizontal division lines"/>
<prop name="ver_div_line_count" type="int" help="Show this many vertical division lines"/>
<element name="series" type="lv_chart_series" access="add" help="Add a data series to the chart">
<arg name="color" type="color" help="Set the color of the series"/>
<arg name="axis" type="enum:lv_chart_axis+" default="primary_y" help="Choose which axis the series belongs to"/>
<prop name="values" type="int[count]" help="Provide the data values of the series"/>
</element>
<element name="cursor" type="lv_chart_cursor" access="add" help="Add a cursor indicator to the chart">
<arg name="color" type="color" arg="true" help="Set the color of the cursor"/>
<arg name="dir" type="enum:lv_dir" arg="true" help="Choose the direction of the cursor"/>
<prop name="pos_x" type="int" help="Set the X position of the cursor"/>
<prop name="pos_y" type="int" help="Set the Y position of the cursor"/>
</element>
<element name="axis" access="set" help="Configure the range of a chart axis">
<arg name="axis" type="enum:lv_chart_axis" help="Choose which axis to configure"/>
<prop name="min_value" type="int" help="Set the minimum value of the axis"/>
<prop name="max_value" type="int" help="Set the maximum value of the axis"/>
</element>
</api>
</widget>