Hi I am trying to create a Datatable using Google Visualization client using java , i have following method to create a simple table chart , the code does not show any error , I have the out upput of the method to be written to a html file using stringbuffer but i am getting error as below , can someone please help me resolving the issue
Code : public AbstractDataTable createTable()
DataTable data = DataTable.create();
data.addColumn(ColumnType.NUMBER, "Hours per Day");
data.setValue(0, 0, "Work");
data.setValue(0, 1, 14);
data.setValue(1, 0, "Sleep");
data.setValue(1, 1, 10);
Adding to html file using : footer.append("<TD width='50%'><b><font color='#ff3333' face='Verdana' size=2>:"+ createTable() +"</b></font></TD>");
Error on run : Exception in thread "Thread-16" java.lang.UnsatisfiedLinkError: com/google/gwt/visualization/client/DataTable.create()Lcom/google/gwt/visualization/client/DataTable;
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message and are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited. --
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment