Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua Line Chart - Multiple Lines #78

Open
HHerrgesell opened this issue Nov 16, 2023 · 1 comment
Open

Lua Line Chart - Multiple Lines #78

HHerrgesell opened this issue Nov 16, 2023 · 1 comment

Comments

@HHerrgesell
Copy link

Hi,

is it possible to draw multiple lines in one Chart (maybe in different Colors with Legend)?
It would be very cool to draw ex. multiple Voltages or Currents in a single chart to compare.

And what's about a custom/high res scale, to make exact reading easier?

But I think that should be a optional setting, to keep it as easy as it currently is

Thanks four your work!

@lundmar
Copy link
Contributor

lundmar commented Nov 16, 2023

Hi @HHerrgesell,

It is a good idea. One would have to extend the chart library API (https://github.com/lundmar/gtkchart) to support writing to multiple line numbers with legends and map corresponding functions to lua.

Unfortunately, I don't have time to implement such features but I invite anyone to help implement such feature.

Until then, one will have to use the lxi_log_* API and simply write the data to .csv and then manually import the data into multiple lines in your favorite spreadsheet editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants