All that we ask is that should be an object with x and y values, and for this properties should be an array with the same length and only numbers, for example:
{
x: [1,2,3],
y: [4,5,6]
}