Added API to allow js Point.slice call (#12698)

New method in DataSeries to allow changing the sliced
configuration of an item.

Change-Id: I3bfabe9bd0564d2db2549b32887333f724b88a2c