2👍
✅
Your obj.created
and obj.price
values are actually strings that just so happen to contain commas.
You can convert them to arrays using .split()
.
var label = obj.created.split(',');
var values = obj.price.split(',');
Source:stackexchange.com