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 a chart widget in which you can apply the common indicators (total, transferals, delta, invested capital, dividend etc.) to any data series (account, security, taxonomy).
The issue of multiselection of #3754 is simplified here as only one data series is allowed in the chart (but several commons of a same data series are allowed). The inconvenience of a widget is that there is no legend (so no user defined color, area etc) and no csv export. But I believe this is still a useful widget.
I put in draft as there is one last common data not taken into account : the delta_percentage. Should it be included in this widget ? In which case a bit more work is required as it cannot be plotted directly on the same graph, and could be applied to benchmark, contrary to the other indicators, and the aggregation period would be relevant too. There is still some commented lines about delta_percentage that I can remove if it should not be considered here.
I was also not super sure :
DataSeriesSet
, some a bit random. No color difference between invested capital (since reporting period) and invested capital (since first transaction). This might be an issue in some cases ?Example from kommer of some common metrics applied to whole portfolio, Account, Security and Taxonomy :