-
-
Notifications
You must be signed in to change notification settings - Fork 445
feat(cpn): make possible to use same scale in Log Viewer #6818
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
base: main
Are you sure you want to change the base?
Conversation
|
Have you considered putting 'Use common axis' checkbox on the same line as Zoom and expand Reset to also reset the new checkbox? |
Reset checkboxes state on 'Reset' button click
| default: | ||
| break; | ||
| if (!useCommonAxes) { | ||
| switch (plots.coords[i].yaxis) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 977 2 spaces to left
| auto [min, max] = this->GetMinMaxY(); | ||
| axisRect->axis(QCPAxis::atLeft)->setRange(min, max); | ||
| } else { | ||
| axisRect->axis(QCPAxis::atLeft)->setRange(yAxesRanges[firstLeft].min, yAxesRanges[firstLeft].max); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line1046 2 spaces to left
elecpower
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I am so pleased to see someone helping out on the Companion side and has Qt experience.

From bug #5216: Companion Log Viewer Scaling issue
Current Behavior
Depending the log file, the Viewer changes the scale from left to right what makes the selected (relevant) fields hard to read / compare. For example, selecting all Lipo Battery cells (C1-C6). File 073542, C5 and C6 are shown using the right scale while the others use the left scale as it supposed to see file 071847.
Expected Behavior
Use 1 scale for for all selected fields related to each other such as Lipo cells.
Summary of changes:
Use common axescheckbox was addedBefore:

After:
