Allow a variety of data series for statement of assets V2 #4235
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, this is a proposition to add derived data series to the statement of assets chart.
Closes #605
Closes #707
Closes #1529
Note : This is based on the PR #3754 from @shivampaw. As this PR was without update since February, I would like to propose some update if this is ok.
I fetched the PR and tried to rebase as best as I could despite the conflicts, and then add my commits. I am not sure if this was the best approach.. There are lots of commits (some cancelling each other) but at least this allows to keep @shivampaw in the contributions.
Otherwise for a clear straight forward history out of rebase/merge conflict shenanigans (but without shivampaw history): master...mierin12:portfolio:derived_data_series_in_statement_of_assets_chart_squashed
Similarities and differences with #3754:
Similarity:
TYPE_PARENT
andGroupedDataSeries
kept. Some of its methods are slightly changed. So the type ofinstance
is a bit more complicated.Differences:
DataSeriesSerializer
modification where we have to combined back the usual data series and those new ones (so if what I did there is incorrect, we should be wary of backward compatibility concern. But it looks ok).ClientDataSeriesType
done a bit differently to include also the booleans required to draw the data series either as a line or as a bar, and with an area or not.Results:
Note on taxonomy labels:
For the selection labels, two propositions (before/after commit 14df145):
Then for its legend it is simplified with the simple name of the taxonomy, and the tooltip of legend shows the full path.
Multiselection topic:
No multiselection issue I believe. And the tree is already uncluterred by the use of the two selection dialogs.
Multiselection allows here to plot several derived distinct derived data series.
Legend label:
Lots of
( )
maybe another format could be used ?Widget Statement of Assets creating a link with the statement of assets charts seems to work well with this.
Issue: https://forum.portfolio-performance.info/t/customize-filter-invested-capital/15474
Issue: https://forum.portfolio-performance.info/t/delta-fur-klassifizierung-anzeigen/15669
Issue: https://forum.portfolio-performance.info/t/delta-diagramm-fur-ausgewahlte-aktien/6787
Issue: https://forum.portfolio-performance.info/t/graphs-of-investment-and-performance/23365
Issue: https://forum.portfolio-performance.info/t/filtermoglichkeit-allgemeiner-datenreihen/25460
Issue: https://forum.portfolio-performance.info/t/add-invested-capital-in-one-account-to-charts/10854
Issue: https://forum.portfolio-performance.info/t/investiertes-kapital-eines-depots-anzeigen-lassen/20766
Issue: https://forum.portfolio-performance.info/t/delta-im-berechnungszeitraum-fur-einzelne-depots/17238
Issue: https://forum.portfolio-performance.info/t/investiertes-kapital-in-vermoegensaufstellung-pro-konto/13855
Issue: https://forum.portfolio-performance.info/t/zeitlicher-verlauf-des-werts-im-moment-der-investition-vs-aktueller-wert/20326
Issue: https://forum.portfolio-performance.info/t/investiertes-kapital-nach-klassifikation-im-vermogensaufstellungsdiagramm/28110
and I guess I am forgetting some 😅