raunaqmathur / google-visualization-java

Automatically exported from code.google.com/p/google-visualization-java
0 stars 0 forks source link

Need to be able to add blank table values #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a feature request.

I know that when using annotated timeline on the client, I can leave "blanks" 
within the data table and the visualization will nicely interpolate between 
known values. Unfortunately, when I use this library to create a data table 
servlet in Java, I do not see a way to do this. 

I would like to be able to leave "holes" in my data table. This might be done, 
for example, by adding a "addEmptyCell()" method to TableRow; this would be in 
parallel to the addCell(Value) method.

Original issue reported on code.google.com by Paul.Ges...@gmail.com on 10 Dec 2010 at 5:01

GoogleCodeExporter commented 9 years ago
Look at 
http://code.google.com/apis/visualization/documentation/dev/dsl_javadocs/com/goo
gle/visualization/datasource/datatable/value/Value.html

You can use Value.getNullValueFromValueType() or XXXValue.getNullValue().

Please comment if this doesn't solve your problem.

Original comment by jinji....@gmail.com on 5 Jan 2011 at 8:41