Add invested capital in one account to charts

Is it possible to add a chart that would show invested capital in the selected Account and not overall?
I have something like that for everything, but would like to have different charts for different accounts (or types of investments).

Screenshot 2020-09-05 at 11.37.27