-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Added setting of minimum and maximum curves values on the graphs #689
Conversation
This comment has been minimized.
This comment has been minimized.
All are pushed good in new PR... This version has issue: minimum and maximum values of curves for some parameters are limited after reloading charts setup dialog box. This issue will resolve in near time. But i see: it is posible to input any min max values, and chart works normal, but this values are limited after chart setup panel reopening. |
There is more interested behavior today: it is posiable input and save any min max values, but exclude zero. Zero values is rewriten after reload of config dialog box. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
…s config dialog panel
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
findings:
|
Yes, i thought about restoring of defaults values. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
I think this is looking really good, and I commend what you've achieved. Hopefully the comments here are encouraging, because it will be very useful when complete. I'm not a git expert by any means. From experience could I suggest making a duplicate 'test' branch of the PR, and working mostly on the 'test' branch. Once you have the 'next step in the job' done, checked, and known good, squash the new commits in the test branch (those added above the current state of the PR branch) so that they become a single commit in your 'test' branch, and cherry-pick that commit into the PR branch. Otherwise you can accidentally mess up the PR branch without meaning to. And always make backup branches in case you do something bad by accident :-) One thing to consider is things like the motors tab, where there are existing mechanisms to set default min and max. There is a percentage zoom that zooms in around the middle 50%. I think it would be a big job, but it would be great if things like motors would somehow automatically end up with a min-max range of 0-100 by default. Likewise in many debugs the range for values within the debug is defined either in a 0-N range, which 'zooms' in and out around N/2, or in a -N to +N range, which zooms around zero. If not defined, the range is min-max of the values in the variable (very not nice). It would be a big job but once this method is in place, I would be willing to go through the min and max configurations for those debugs. It would certainly simplify things if we only had to set min and max values :-) |
THE MANUAL The MinMax values can be changed:
To show context menu you must do right mouse click on Minimum or Maximum values field what you want to edit. The main menu include following parts:
The actions for all curves:
The single curve submenu has same actions: The main menu has extended mode. You need press the 'Shift' key to activate it and select the submenu, what you need. The 'Like this one' extended submenu. The 'Zoom in', 'Zoom out' extended submenu. The 'Default' extended submenu. The 'Full range' extended submenu. The 'One scale' extended submenu. The 'Centered' extended submenu. The single curve submenu has one 'Full range' extended item: If you open context menu for one curves chart, then you see the short menu: When you store the chart configuration in the workspace, the MinMax values stored for next using too. This is the VITE WEB version the PR |
…and Smoothing too
…e the analyser chart as visible/unvisible)
The small improvement: |
6fcf7dc
to
38fd5dc
Compare
|
PWA version was merged. This PR set as draft and labeled This PR should be closed. |
although useful, this file should not have been committed. |
Ok. I am closing this PR, but the github branch will be active sometime. |
|
Yes, this PR have many merge conflicts with Vite Web. |
i will do this workspace as default in this version too. |
Closed! |
Added setting of minimum and maximum values of curves on the graph.
The revision is fully compatible with the previous scaling method.
To use it, you need to:
Open "Configure graphs" dialog box.
Check new "MinMax" checbox on curve settings.
Set required values for minimum and maximum chart values for curve (there are real min max values as default).
You need to input min and max values in primary units as in logfile. You can look it at default min max values in text fields,
Click "Save changes".
This is the most versatile way to configure curves.
If it is necessary to plot some curves along the same axis, then you need to set the same or proportional ranges of values for them.
With unchecked "MinMax" checkbox the curve scaled in the standard way, as before.
There is a first step for improvment of curve scales. It will be improved in the future.

For example, it will be possible to automatically combine several curves on one axis.