Hi Mn,
Works for me, but you need to provide the data...
$scope.c3Chart1 = {
data: {
columns: [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 130, 100, 140, 200, 150, 50]
],
type: 'line'
}
};
...
$scope.dashboard = {
widgets: [{
col: 0,
row: 0,
sizeY: 2,
sizeX: 2,
id: "widget1",
name: "Line",
options: $scope.chart1 // <--- wrong variable name!
}, {
...
If you fix that, it will start working. However, you need something to make
the size of the graph equal to the size of the grid-tile.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.