Code Monkey home page Code Monkey logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
[deleted comment]

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
[deleted comment]

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024

Original comment by [email protected] on 20 Aug 2014 at 4:20

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024
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

from gwt-charts.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 13, 2024

Original comment by [email protected] on 3 Sep 2014 at 11:07

  • Changed state: Released

from gwt-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.