Yes Sander, thanks for pointing out the over looked error. I have corrected it but still I could not able to see the charts in the gridster (4 grey coloured boxes in plunker do not have c3 charts in them) . Plunker <http://plnkr.co/edit/HLGFljPRxdXL5HNZrbfV?p=preview>
On Thu, Dec 29, 2016 at 1:18 PM, Sander Elias <[email protected]> wrote: > 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 a topic in the > Google Groups "Angular" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/angular/zhtc_ZnyyZo/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
