I'm getting some deep nvd3 error when I try to configure a simple line chart using angular-nvd3.
I edited the example plunker given and it seems it might be my data that is malformatted, since swapping the options only still works.
Here is an malfunctioning plunkr: http://plnkr.co/edit/fznNKBw6hwNYavfZ3Nvi?p=preview
the options:
$scope.options = {
"chart": {
"type": "lineChart",
"height": 450,
"useInteractiveGuideline": true,
"dispatch": {},
"xAxis": {
"axisLabel": "Months"
},
"yAxis": {
"axisLabel": "Team size",
}
}
};
the data:
$scope.data = {
"key": "Monthly",
"values": [{
"x": 0,
"y": 2
}, {
"x": 1,
"y": 6
}, {
"x": 2,
"y": 10
}]
}
Anybody who can spot the issue?