Coder Social home page Coder Social logo

d3's People

Contributors

cryptix avatar iansmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

d3's Issues

facing error: "github.com/iansmith/d3/d3.go:52:16: cannot use self.obj.Call("selectAll", string(n)) (type *js.Object) as type js.Object in field value"

Thank you for the d3 package:

I am trying to get this package installed in my Linux Mint 17.3 box and getting the following errors:

$ go get -u github.com/gopherjs/gopherjs
$ go get github.com/gopherjs/jquery
$ go get -u honnef.co/go/js/dom

$ go get -u github.com/iansmith/d3

github.com/iansmith/d3

project/src/github.com/iansmith/d3/d3.go:52:16: cannot use self.obj.Call("selectAll", string(n)) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:60:16: cannot use self.obj.Call("data", arr) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:67:16: cannot use self.obj.Call("enter") (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:75:16: cannot use self.obj.Call("append", string(n)) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:84:16: cannot use self.obj.Call("style", string(prop), f) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:92:16: cannot use self.obj.Call("style", string(prop), value) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:101:16: cannot use self.obj.Call("text", f) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:109:16: cannot use self.obj.Call("text", v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:116:16: cannot use self.obj.Call("attr", string(p), v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:123:16: cannot use self.obj.Call("attr", string(p), v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:123:16: too many errors

//----------------------------------------------------------------------------------------------------------------------------------------//

My system info:

$ cat /etc/release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
cat: /etc/upstream-release: Is a directory

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.