I need to plot a chart where X-Axis contains timestamp upto a minute.
I am using GWT Visualization API and my data table looks like follows.
DataTable data = DataTable.create();
data.addColumn(ColumnType.STRING, "Day"); // 0
data.addColumn(ColumnType.DATETIME, "Time Stamp"); // 1
data.addColumn(ColumnType.NUMBER, "data1"); // 2
data.addColumn(ColumnType.NUMBER, "data2"); // 3
Then I add the datarows as follows.
data.addRow();
data.setValue(row, 0, pgs.day); // Day name as String
data.setValue(row, 1, pgs.timeStamp); //java.util.Date
data.setValue(row, 2, data1);
data.setValue(row, 3, data2);
When this chart is rendered, all the data points are grouped day wise.
In the bubble chart, all the data points show up one over the other on
a day.
Is there a way to have multiple data points on x-axis for a day that
correspond to time of the day?
--
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.