Thanks for bringing it to our notice. You were facing the issue due to trailing comma in chart-options data: data, // random generator below. Removing trailing comma should work fine in your case. We have updated the code in docs, please try with latest code or try removing trailing comma data: data // random generator below