pvvOnLegendChartClick
The function sets up a legend click handler and sends data to the subroutines (ID, name, fill color, border color, legend point values).

1. Click
and specify the container in which the chart will be created.
2. Select a subroutine.
2. Select a subroutine.
