-
Notifications
You must be signed in to change notification settings - Fork 28
Adding area as "d" attribute #22
Comments
I was not only |
Yes, I will. Thanks! |
@spaced, can you confirm me that you correctly compile this: https://github.com/giampaolotrapasso/scala-js-d3-example-app/tree/areachart-example ? I've imported the implicits but I still have the error. Let me know if I did something wrong with client code or there are still problems with the "d" attribute.. |
I fixed the area functions:
area is Area[Data], not a Area[DataArray] Other small fixes: you cant extend Scalajs-d3 0.3.3 requires now scalajs 0.6.8. You can rebase from my updated example github. |
Hi @spaced, thanks for the fixes. What about contribute to your example project with a PR? This way other devs can see more activity on the project. I think you could prepare a basic index with links to the examples like https://github.com/mbostock/d3/wiki/Gallery, of course. |
I'm completely new to D3 and Scala.js, but I have the impression, that the following should work:
The code compiles with |
I'm trying to implement this: http://bl.ocks.org/mbostock/3883195
but last line does not compile since
As error said, there's no signature that allows to pass an
Area
instance.By the way, I'll do a pull request to put this into examples.
The text was updated successfully, but these errors were encountered: