Comments (11)
I meant: “All series on a given axis must be of the same data type”
Original comment by [email protected]
on 17 Oct 2013 at 9:18
- Added labels: ****
- Removed labels: ****
from gwt-charts.
I got a little further..
When setting the role via
DataColumn col = DataColumn.create(ColumnType.BOOLEAN);
col.setRole(RoleType.CERTAINTY);
dataTable.addColumn(col);
I get following error:
(Error)
@com.googlecode.gwt.charts.client.DataTable::addColumn(Lcom/googlecode/gwt/chart
s/client/DataColumn;)([JavaScript object(110832)]): Invalid type: function() {
var result = __static(dispId, this);
if (result[0]) {
throw result[1];
} else {
return result[1];
}
}.
Original comment by [email protected]
on 17 Oct 2013 at 10:32
- Added labels: ****
- Removed labels: ****
from gwt-charts.
DataColumn in general doesn't seem to work.
DataTable dataTable = DataTable.create();
//fails:
DataColumn dataColumn = DataColumn.create(ColumnType.STRING);
dataColumn.setLabel("Year");
dataTable.addColumn(dataColumn);
//works:
dataTable.addColumn(ColumnType.STRING, "Year");
Original comment by [email protected]
on 12 Feb 2014 at 9:09
- Added labels: ****
- Removed labels: ****
from gwt-charts.
Concerning the javascript error reported above, when using the DataColumn class.
I have been able to work around the problem by changing the following method in
the DataColumn class.
Original Code :
private final native void setType(String type) /*-{
this.type = [email protected]::getName();
}-*/
Replaced code:
private final native void setType(String type) /*-{
this.type = type;
}-*/
Original comment by [email protected]
on 8 Aug 2014 at 9:23
- Added labels: ****
- Removed labels: ****
from gwt-charts.
[deleted comment]
from gwt-charts.
[deleted comment]
from gwt-charts.
Cool, would be great to get this in the next build. I don't manage to rebuild
the jar (I'm not used to Maven)
Original comment by [email protected]
on 8 Aug 2014 at 5:40
- Added labels: ****
- Removed labels: ****
from gwt-charts.
Thanks for the patch!
Already commited and scheduled for the next release.
Original comment by [email protected]
on 20 Aug 2014 at 4:19
- Changed state: Fixed
- Added labels: Milestone-0.9.10
- Removed labels: ****
from gwt-charts.
Original comment by [email protected]
on 20 Aug 2014 at 4:20
- Added labels: ****
- Removed labels: ****
from gwt-charts.
thanks for the patch.
this worked too:
extend DataTable and add and use this method:
public final native int addCertaintyColumn()/*-{
return this.addColumn({type:'boolean',role:'certainty'});
}-*
/;
see
http://stackoverflow.com/questions/11979871/gwt-chart-api-googlecode-how-to-set-
roletype-to-a-column-of-a-datatable
Original comment by [email protected]
on 26 Aug 2014 at 11:29
- Added labels: ****
- Removed labels: ****
from gwt-charts.
Original comment by [email protected]
on 3 Sep 2014 at 11:07
- Changed state: Released
- Added labels: ****
- Removed labels: ****
from gwt-charts.
Related Issues (20)
- Re-attachin a chart with selection != null causes Exception HOT 2
- formatting labels by timezone in a datetime axis HOT 1
- TreeMap redeclares chartObject causing exception on clearChart() invocation HOT 2
- Unable to use setSelection() in PieCharts when using Java GWT HOT 4
- Examples in wiki unavailable (geochart) HOT 2
- Setting the CandlestickChartOptions has no effect HOT 2
- dev mode 2.6 crashes HOT 1
- No support for changing size of BubbleChart points HOT 1
- Is this library still supported ? HOT 1
- Update library to the June 25, 2014 version HOT 1
- De-Selecting and redrawing in SelectHandler Callback causes selection to be re-selected HOT 1
- Missing "MotionChart" ChartPackage HOT 1
- Getting selections on MAP HOT 2
- colorAxis Not Working for Geochart HOT 2
- getImageURI() HOT 1
- ChartLayoutInterface should accept doubles instead of ints
- ApiLoader is not a singleton HOT 2
- Getting the selected value from a DateRangeFilter HOT 8
- Are data.group or data.join methods available ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-charts.