Dim MyContainer As ABMContainer
MyContainer.Initialize(page, "MyContainer","tabpagewhite")
MyContainer.AddRows(1,True, "").AddCells12(1,"")
MyContainer.AddRows(1,True, "").AddCells12(1,"")
MyContainer.AddRows(1,True,"").AddCellsOS(1,0,0,0,5,5,5,"").AddCellsOS(1,2,2,2,5,5,5,"")
MyContainer.AddRows(1,True,"").AddCellsOS(1,0,0,0,5,5,5,"").AddCellsOS(1,2,2,2,5,5,5,"")
MyContainer.AddRows(1,True, "").AddCells12(1,"")
MyContainer.AddRows(1,True, "").AddCells12(1,"")
MyContainer.AddRows(1,True, "").AddCells12(1,"")
'After adding the necessary rows BuildGrid is called
MyContainer.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components
FrappeChart2.Initialize(page, "FrappeChart2", "bar", "Sales Chart", 250)
FrappeChart2.FrappeLabels.AddAll(Array As String("Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Jan", "Feb", "Mar"))
FrappeChart2.AddDataSet("Invoices", "light-blue", Array As Int(50,80,70,80,100,140,170,60,90,40,60,130), Array As String())
' Adding FrappeChart to a container, does not display
MyContainer.Cell(6,1).AddComponent(FrappeChart2.ABMComp)
' If added FrappeChart to a page, then it is working.
'page.Cell(5,1).AddComponent(FrappeChart2.ABMComp)