Yes. visualization-datasource-1.1.1.jar On Feb 23, 1:15 am, MC Get Vizzy <[email protected]> wrote: > Are you using the data source library? > > > > > > > > On Tue, Feb 21, 2012 at 11:29 PM, [email protected] <[email protected]> wrote: > > I also tried DataTimeValue but couldn't make it work with > > addRowFromValues. > > > I am able to work around the problem with using TableRow and > > DataTimeValue. > > TableRow tr = new TableRow(); > > tr.addCell(GetDataTimeValue(milliseconds)); > > tr.addCell(rand.nextInt(1000000)); > > data.addRow(tr); > > > It is as if that addRowFromValues has a bug accepting DataTimeValue > > for DATETIME column. > > > On Feb 21, 12:39 pm, "[email protected]" <[email protected]> wrote: > > > addRowFromValues is not happy with Date, nor string, nor long. > > > > DataTable data = new DataTable(); > > > ArrayList<ColumnDescription> cd = new > > > ArrayList<ColumnDescription>(); > > > cd.add(new ColumnDescription("time", ValueType.DATETIME, "time")); > > > cd.add(new ColumnDescription("value", ValueType.NUMBER, "value")); > > > data.addColumns(cd); > > > data.addRowFromValues(new Date(milliseconds), > > > rand.nextInt(1000000)); > > > -- > > 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.
-- 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.
