The ID of the chart to which the clip area is to be added
The ID of the axis to which the clip area is to be added
The SVG element to which the clip area is to be added
The location of the axis
The dimensions of the plot
The margins around the plot
The ID of the clip-path
Adds a clip area for the chart to the specified SVG element. The clip-area is given an
idofclip-series-<chart_id>, which because the chart ID should be unique, makes this unique as well