Re: Using Plotly.js in Nim

2017-09-23 Thread sdwfrost
I know I have to wrap them; it's a matter of how to access the nested 
functions...


Re: Using Plotly.js in Nim

2017-09-22 Thread Tiberium
Well you would wrap this functions too? And I really think you should make it a 
real wrapper 


Re: Using Plotly.js in Nim

2017-09-22 Thread sdwfrost
PS. One more thing; the more sophisticated examples using Plotly.d3.csv, 
Plotly.d3.json etc. (see [here](https://plot.ly/javascript/)). How can this 
nested structure be kept in Nim?


Re: Using Plotly.js in Nim

2017-09-22 Thread jlp765
This is an excellent example (YMMV).

It raises a question: `Is there a guide for JS development in Nim?`

I looked in the "docs", and "learn" and came across [Nim backend 
integration](https://nim-lang.org/docs/backends.html#nim-code-calling-the-backend-javascript-invocation-example)

Should an FAQ question be added, something like `"How do I use Nim to write a 
JS App"?`