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

Line graph widget doesn’t support float numbers #28

Open
manolisss opened this issue Nov 16, 2022 · 2 comments
Open

Line graph widget doesn’t support float numbers #28

manolisss opened this issue Nov 16, 2022 · 2 comments

Comments

@manolisss
Copy link

manolisss commented Nov 16, 2022

Hello,

it seems that line graph supports only integer numbers and not float. This is an issue as most measurements are floats. Is there a workaround for this or an update coming out soon to fix The Last it?

Best regards,
Manolis

@microchip-gfx
Copy link
Contributor

There are no plans to add float support to the line graph. You should be able to utilize percents to map between your floating point measurement range and a fixed integer range, as a workaround.

@Elpra-Bozas
Copy link

Is there a workaround to change only the labels on the y axis without directly following the min, max range. Let's say for example that we want to represent 0.0 -> 16.0 in the y axis range and we set maximum value to 160. We use e.x. value 32 if we want to plot value 3.2. The graph line's properties for the y axis label with show 0 -> 160. Can we have a workaround to change the labels and keep the integer set value independent?

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

No branches or pull requests

3 participants