-
Notifications
You must be signed in to change notification settings - Fork 613
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
Additional percentage y axis in security chart #3006
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
After feedback in the forum I added chart settings for show/hide the horizontal marker lines for both axes. |
Hey @OnkelDok, great work on improving the chart widget in PP (this and other patches, e.g. the measurement tool)! Github currently says "This branch has conflicts that must be resolved", so would you mind to rebase this PR on the current master? Also, I wonder if you saw @chirlu's comments on suggested patch workflow: #3248 (comment) (and following comments there) and agree with them? E.g.:
In the ideal world, following that would workflow allow patches to be reviewed/merged faster/easier. It would also allow others to test them in the meantime easier. (I'd be interested to try it when I have time for example.) Thanks! |
Thank you, @pfalcon, for pointing out about open conflicts. I haven't checked this PR for a long time. Are there automatic notifications when a PR moves into conflicting state after commits in the target branch? I understand @chirlu s points, but have to admit that I have not followed them in a lot of my past PRs. This project is my first experience with github. Are there global github best practices of creating, expand and maintain PRs or is this more project specific? |
e56375d
to
e2df237
Compare
e2df237
to
c64027d
Compare
Thanks @OnkelDok for the contribution. A couple of thoughts:
BTW, @OnkelDok are you using the Resource Bundle Editor plugin? It sorts the keys in the correct position, it escapes all special characters (and it just makes it easier to edit all translations of one key at once). You might want to check it out. |
* chart options to show/hide horizontal lines for both axis Issue: #3006 Signed-off-by: OnkelDok <[email protected]> [squashed commits; rebased to master] Signed-off-by: Andreas Buchen <[email protected]>
merged :-) |
Yes, I think I used it in this PR. But I'm not 100% sure. Thank you for merging. |
Not that I know of. But Github gets updated all the time, so, who knows. Otherwise I guess can check from time to time, or rely on passers-by to ping about it ;-).
Ah, great work then again!
I'd say it's more project-specific, though a lot of well-maintained projects seem to converge on similar set of guidelines, at least in spirit. I for one found @chirlu's recommendations very familiar and well-resonating with my own experince, that's why I brought them up ;-). Btw, unrelated and offtopic, but did you see a situation when for a low-amplitude security, an Y scale is being selected poorly, so that the chart is shown as almost a flatline? I saw such cases, and interested to debug it, that's why I'm looking into charts-related patches, to see how other folks hacked on them. |
* chart options to show/hide horizontal lines for both axis Issue: portfolio-performance#3006 Signed-off-by: OnkelDok <[email protected]> [squashed commits; rebased to master] Signed-off-by: Andreas Buchen <[email protected]>
This PR introduces an additional y axis with percentage values on the left side of the diagram.
It shows percentage values of the prices compared to the first quote in chart or the purchase price (depending on the configured mode):
Mode market trend
Mode development to purchase price
In logarithmic mode this new y axis is disabled/invisible.
Also requested here: https://forum.portfolio-performance.info/t/prozentuale-achsen-beschriftung-im-kursdiagramm/6333