Home › Forums › Chart Support › Multiple Datapoints Shifting › Reply To: Multiple Datapoints Shifting
@chandrakala-i,
Shift is a JavaScript array method that removes the first element from an array whereas slice is an array method that returns a shallow copy of a portion of an array. You can use slice method to remove specific number of elements from dataPoints array.
— Vishwas R Team CanvasJS