Yes, it is possible for the LVGL chart to show decimal values. This can be achieved by setting the y_range
of the chart to include decimal values and then setting the y_tick
to the desired interval. For example:
lv_chart_set_y_range(chart, LV_CHART_AXIS_PRIMARY_Y, 0.0, 1.0); // Set the y range to include decimal values between 0 and 1
lv_chart_set_y_tick(chart, LV_CHART_AXIS_PRIMARY_Y, 0.1); // Set the y tick to 0.1 interval
This will allow the chart to display decimal values on the y-axis at the desired interval.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-01-19 11:00:00 +0000
Seen: 19 times
Last updated: Jun 27 '21
How can I use iText7 to create a PDF that includes a pie chart?
How to create a bar chart with two sets of x-axis labels?
How can the chart title, x axis name, and y axis name be set in Chart.js?
What is the method for creating a pie chart with three layers in R?
How can we produce a line chart that is overlaid with another chart?
How can an upper limit be added to the y-axis in Syncfusion Chart in Flutter?
What is the process for creating flow charts representing functions?
What is the process for configuring the tradingview charting library chart to update automatically?
What are the steps to create a half-moon chart using ggplot2?