Hi
The following example is working correctly, but now I need to add a label that shows the SUM of the selected columns.
That is, I must copy the same SUM: value that is shown in the tooltip.
Every time you deselect a bar, the SUM tag should show a lower value -sum.
Once you have deselected all the bars, the label will show SUM: 0, financially you must fade out and destroy the label.
If a bar is selected again, a new label will be displayed and the same previous destruction cycle is repeated.
Desired result with the new label:
My example link: https://jsfiddle.net/ingezone/osebLw23/1/
I have done several tests but the selection of the bars is blocked. Please! your help.