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.75k stars 577 forks source link

Securities Account chart : add colors to invested capital and delta #4103

Open mierin12 opened 1 week ago

mierin12 commented 1 week ago

Hello, this is a proposition to add a bit of colors to the currently grey Invested Capital/Delta data series of the new Securities Account charts.

This PR is proposing to use the same colors as in the Securities chart: same yellow for invested capital than for "share held" and the same blue/red area for positive/negative Delta as for the pos/neg "market trend vs purchase price", through CSS to deal with light and dark theme.

Notes :

Some examples for different kind of portfolio and theme: Before: grey2

grey3

grey4

After (delta is bi-color) : current PR Light_InvArea_Delta_Area_2

Light_InvArea_Delta_Area_3

Light_InvArea_Delta_Area_4

Dark_InvArea_Delta_Area_2

Dark_InvArea_Delta_Area_3

Dark_InvArea_Delta_Area_4

After (delta is kept as a line) PR to be simplified Light_InvArea_Delta_Line_2 Light_InvArea_Delta_Line_3 Dark_InvArea_Delta_Line_2 Dark_InvArea_Delta_Line_3