Comments (8)
Hey,
This example uses lv_scale
as a chart axis. You should be able to achieve all of the same effects lv_scale
. Let me know if you need any clarification or help achieving what you need.
https://docs.lvgl.io/master/examples.html#axis-ticks-and-labels-with-scrolling
from lvgl.
We have a separate scale widget, because the scale-like behaviour is uses on a lot places. This way the scale can be used in a more flexible and modular way. For example you can make it scroll with the chart or make it fixed.
However I agree that some helper functions would be nice to make it easier to add the axis to the chart. (or at least some better example would be great) I can't immerse in now, so ideas are very welcome.
Yes,i agree to custom, but i thongt not all widgets that use the scale to custom,some helper functions would be nice to make it easier to add the axis to the chart。when to add them back?
from lvgl.
I think the lv_chart_set_axis_tick and lv_chart_set_zoom_x is needed, if they could not achieve the effect, then i could use the scale, not all functions to custom.
from lvgl.
others, the scale need to create a obj, then to create the scale, but when i use the lv_chart_set_axis_tick and lv_chart_set_zoom_x,it set to chart directly, not need to create the obj.
from lvgl.
Perhaps we can bring those functions back. It must have been changed for a reason though. This is the commit that removed those functions and here are all the other changes that day, Oct 12, 2023. @kisvegabor, what's the history behind it?
from lvgl.
We have a separate scale widget, because the scale-like behaviour is uses on a lot places. This way the scale can be used in a more flexible and modular way. For example you can make it scroll with the chart or make it fixed.
However I agree that some helper functions would be nice to make it easier to add the axis to the chart. (or at least some better example would be great) I can't immerse in now, so ideas are very welcome.
from lvgl.
We need some feedback on this issue.
Now we mark this as "stale" because there was no activity here for 14 days.
Remove the "stale" label or comment else this will be closed in 7 days.
from lvgl.
As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.
So feel free to comment if you have remarks or ideas on this topic.
from lvgl.
Related Issues (20)
- Recoloring in V9 HOT 1
- ESP32 Rotate doesn't work HOT 3
- ESP32-3248S035C with GT911 touch chip, arduino demo compile error HOT 14
- How can LVGL be better used on wayland/ DRM-enabled SoCs?
- have the C++ version image convert tool and font generate tool? HOT 9
- lv_demo_widgets example in windows, get stuck and break! HOT 11
- Rotate Base object (lv_obj) v9 HOT 13
- Error: failed to map framebuffer device to memory: Invalid argument HOT 1
- LV_EVENT_CLICKED should only be fired if the release takes place over the same object where the press happened HOT 3
- Default fonts not clear on red background HOT 4
- Span elements not printing properly HOT 5
- Display bug HOT 2
- get_x_aligned returns wrong value in case of percentage unit HOT 6
- STM32 Baremetal application only Renders to part of the screen HOT 5
- Change TileView Scroll animation speed HOT 3
- why the picture pixel blinking when running lvgl demo HOT 1
- Number and logic buttons in physical buttons
- Bengali string display abnormal using freetype lib HOT 2
- Cannot play custom gif in v9.1 HOT 6
- lvgl draws artefacts after button click HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.