-
Notifications
You must be signed in to change notification settings - Fork 77
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
TGaxis
with function is not properly drawn
#282
Comments
Hi, It is very special usecase. The only I can do is try to support such example in TWebCanvas, where custom I/O rules can be applied. |
Thanks for the explanation! Wouldn't it make sense to modify |
It will be difficult to change TGaxis class - such change will have strong side effects with I/O. Let keep issue open - may be later I will provide some workaround in JSROOT. |
If TGaxis configured with function and it not provided within pad, try to load id from the file
I add support of function loading from the file. But function must be stored together with canvas.
It is part of dev branch: https://jsroot.gsi.de/dev/examples.htm?more#misc_gaxis_func Relatively soon it will be release as 7.6.0 version |
Awesome! This should work for me, thanks! 🙂 However, the current axis appearing on https://jsroot.gsi.de/dev/examples.htm?more#misc_gaxis_func is still the incorrect one. |
Ok, just tested https://jsroot.gsi.de/dev/?file=https://jsroot.gsi.de/files/gaxis_func.root&item=c;1 and it works too. Awesome! 😄 |
I'm trying to add a secondary axis to one of my figures. This secondary axis is a non-linear transformation of the main one. After quite a bit of work, I got it working with:
While this works with the old graphics, the result with JSROOT is not the expected one, as can be seen in the images below.
Old graphics (correct result):
New graphics (incorrect result):
The text was updated successfully, but these errors were encountered: