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

Improve number handling #108

Open
totocaca123 opened this issue Oct 16, 2022 · 2 comments
Open

Improve number handling #108

totocaca123 opened this issue Oct 16, 2022 · 2 comments
Labels
enhancement Enhancement of existing functionality

Comments

@totocaca123
Copy link
Collaborator

What feature do you want to see added?

Currently, it seems the plugin supports integer numbers.

For csv files, it would be interesting to add support of all kind of numbers (0x11 or float 10.5...).
Biggest issue is for floating numbers which are not supported.

I can do it for csv file format, but at higher level, all file format are assumed to be only intergers

Upstream changes

No response

@totocaca123 totocaca123 added the enhancement Enhancement of existing functionality label Oct 16, 2022
@simonsymhoven
Copy link
Member

That wont work, because the echarts api plugin, which is used to render these charts does not support floats. Only ints are possible.

@dragoudin
Copy link
Contributor

OK I understand for the display.
But is it possible to manage a kind of gain?
For example if my data are 10.49, I save 1049 for the echart plugin. At display level, I display 10.49 (the echart plugin view 1049)

It's the same thing than if user put its data with right unity (to have integers) and provide input files with only integer (float will be rounded)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants