Hey guys,
I'm receiving the following error when trying to render a chart, or updating one:

I think it's related to my data since when my server returns an empty array, there is no error on the console and the chart is drawn empty, as expected, but I couldn't find whats wrong...
I used this doc to build it: Doc
And I also made a pen to reproduce it: CodePen
Could you tell where I messed up, o maybe what I'm missing?
Thanks in advance!
Here is the correct way to define series data
var series = [
{
name: 'Luke Skywalker',
data: [
{
x: 'Topico 1',
y: 60
}
]
},
{
name: 'Rey Skywalker',
data: [
{
x: 'Topico 1',
y: 120
}
]
}
]
Oh! That was so obvious! I'm sorry for that :/
Anyway, thank you very much for pointing this out! :D
Most helpful comment
Here is the correct way to define series data