-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example #2
Comments
Hi, As the description says, it's still at a proof-of-concept stage and primarily used for our own internal development. So far, we only needed the selection API, so it's the only implemented part of D3 library for now. In future, we might write suitable documentation and examples for it, if we are convinced about its general usefulness. Until then, I wouldn't encourage anyone from using it in their project unless they are willing to modify it themselves when it's necessary. For pointers, you can either import '_com.greencatsoft.d3.svg.' or '_com.greencatsoft.d3.html.' and try calling methods on elements which are defined in traits under the For SVG transformation, there are some useful methods in the Sorry I couldn't help much. |
There's a D3 mapping here just for interest as it may not be as well known https://github.com/mathieuleclaire/scaladget/blob/master/scaladget/src/main/scala/fr/iscpif/scaladget/mapping/d3mapping.scala |
Thanks for the head up :) |
This isn't a bug but may indicate that one exists. I've been trying to run the demo of this project to see if it will help my on a project. My System: Lubuntu System 16.04 LTS, Scala 2.11.8, Java 1.8.0_111, Scala.js 0.6.13, Node 0.9.9, NPM 1.2.10 When I run
I have no problem.
also runs quickly, in a second, and gives no error but likely did nothing. When the
command is entered I get the following:
and when the
command is entered I get the following:
After installing Node.js and NPM I get the following when running, runDemo again:
What should I do here to get the demo working? |
@GWoodmansey I'm afraid you are a bit confused about your settings because the log shows scaladget, which is an entirely different project than scalajs-d3 which does not have any demo application of its own. |
Indeed I was. I realized later that I had made a mistake and couldn't find the post. Thanks for your response.
I am still looking for a simple way of integrating Bootstrap and Scala.js, and then use the whole works in a Scala/Play server. If you have any advice on that I would be grateful.
Regards,
Gordon
On Saturday, January 7, 2017 11:42 PM, Xavier Cho <[email protected]> wrote:
@GWoodmansey I'm afraid you are a bit confused about your settings because the log shows scaladget, which is an entirely different project than scalajs-d3 which does not have any demo application of its own.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@GWoodmansey As Bootstrap's public API contains only a small number of functions, I suppose writing a facade for the library would be a pretty easy task. You might want to read the relevant section in the official documentation if you haven't already: And I just found an existing binding for Bootstrap as well, although I haven't used it myself: It seems to be much more than a simple wrapper for the library, but I suppose you can at least take some hints from it if you intent to write a facade yourself. And as a final note, I'd like to suggest to post a question to the Scala.js mailing list if you need further help on this specific subject. I believe the chances of getting more relevant answers would be much higher in the mailing list, because this project isn't really actively developed and this issue has little to do with Bootstrap library. Hope this helps! |
Hi,
Is there any example to show how to use the code?
thanks
The text was updated successfully, but these errors were encountered: