gxt charts : No source code is available for type
I am using gxt-2.1.1 with GWT 2.0 and running on Eclipse Galileo.
My code compiles by the java compiler but generates the following error with the GWT compiler.
[ERROR] Line 95: No source code is available for type com.extjs.gxt.charts.client.Chart; did you forget to inherit a required module?
The import causes no problem: import com.extjs.gxt.charts.client.Chart;
However, if I use the Chart type...or any other class from charts package, I get the above error.
This is the code that generates the problem:
Chart chart2 = new Chart("NewChart");
Any help or hints is appreciated.
PS: I used other ext gwt libraries and encounter this problem ONLY with charts.
on : yourapp.gwt.xml:
<inherits name='com.extjs.gxt.charts.Chart' />
the main problem that it's quite impossible to find any documentation for GXT 2.. you can only find some odds and ends and try to gather them together. the things like that you are talking about we found by me only after looking throug doesns of forums.