portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.88k stars 597 forks source link

Original size in Security Chart offsets the Market Trend vs Purchase value areas #4063

Open mierin12 opened 3 months ago

mierin12 commented 3 months ago

Describe the bug In Security Chart, when Market Trends vs Purchase value is used and a negative and positive area are visible, the option "Original size" (accelerator key 0), the pos/neg area are offset from the Market Trend. The effect is sometimes not very visible, sometimes well visible.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'All Securities'
  2. Click on 'Chart'
  3. Tick 'Market Trend vs Purchase Value'
  4. Select a period where both a negative and positive area are visible
  5. Use Original Size (0)
  6. See error

Expected behavior No offset

Screenshots From Kommer file : Before using "Original Size": Capture d’écran 2024-06-08 155722 After using "Original Size": Capture d’écran 2024-06-08 155354

Desktop (please complete the following information):