-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Per-axis separators attribute #1842
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
Comments
What should it do? It's not obvious to me from reading the docs. You might be looking for |
@etpinard, last two axis labels should be 1,65 and 1,7 not 000000 ... When I define What if my x axis values should be comma decimal and my y axis should be dot decimal notation? E. G.: x: 1.5, 1.7 should be displayed as x: 1,5, 1,1 Is this possible? |
Yes, using |
@etpinard, thanks for your answer. But it seems that it is not possible to set the separators independently per axis, e. g. |
That's correct. Can I ask? Why do you different separator styles on different axes? |
Sure. The user within my application can choose their column format which can be a comma or a dot decimal notation. They can upload data and visualize it. Maybe one source of the data has dot, another comma decimal notation. Either way, the user can choose their format. |
Hmm. But |
I can't make this decision. I let the user decide that. Also it's just the output, not the actual number. Maybe the user can't modify the data before he imports it into my application. |
Ok. Well, we could add attributes This won't be a high priority item for the foreseeable future, so don't expect it getting implementing anytime soon, unless you're willing to make a PR to this repo. |
Sounds great! |
Also, similar to calendars #1220 - if your users are providing this data as text, not numbers, we currently only support parsing with |
Coming back to this in the context of #2207 and my comment that we may consider removing @ndabAP seems like you're concerned with interpreting numeric strings being passed into your system with different separators - potentially several different formats within the same graph? In principle this isn't even just per-axis OR per-trace, but per-data-array - so we'd need something like And then as far as display (tick and hover labels) - even if we did support parsing different arrays within a plot differently, I think we want a single display format throughout the plot - whether based on |
This ticket most likely won't be implemented. Closing. #1842 (comment) sums up our current state-of-mind on the topic. |
Last two axis labels are wrong and the comma format isn't applied. The problem doesn't occur when setting
layout.separators = ',.'
.https://codepen.io/anon/pen/LLmWpm
The text was updated successfully, but these errors were encountered: