I am able to overcome the problem. On Wed, Nov 11, 2009 at 11:18 AM, Suresh <[email protected]>wrote:
> i also tried the below option by passing null and i am getting Type > missmatch exception.Is there a way to set an emty cell using java. > > data.addRowFromValues(,,null,); > > On Nov 11, 11:13 am, Suresh <[email protected]> wrote: > > i tried row.addCell(null); this but it is showing a compilation > > error. > > Adding a dummy data is a false approach as it would mislead the graph. > > > > i feel funny and baffled because i am able to skip the data using > > javascript as shown below by not passing anything for column1 but > > could not find any answer using java data source library. > > > > data.addColumn('date', 'Date'); > > data.addColumn('number', 'Sold Pencils'); > > data.addColumn('number', 'Sold Pens'); > > > > data.addRows([ > > [new Date(2008, 1 ,1), 30000,200], > > [new Date(2008, 1 ,2), ,300], > > [new Date(2008, 1 ,3), 55022,400], > > [new Date(2008, 1 ,4), ,450], > > ]); > > > > On Nov 9, 3:01 am, Bug Chart <[email protected]> wrote: > > > > > > > > > Hi, > > > > > just add dummy data for column1, or null. > > > > > HTH > > > > > BugChart > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
