You have this problem in another post...
how to embed a d3.js script in a view correctly?

i replied there...
Hope it helps...


2014-05-17 15:01 GMT+01:00 DeadRabbittt <[email protected]>:

> Hi Guys,
>
> i tried setting up some pie charts and bar charts for my web2py. I wanted
> to use http://cmaurer.github.io/angularjs-nvd3-directives/ for this. I
> tried everything but i ended up with a blank page every time.
>
> If i write
> var nvd3TestApp = angular.module("nvd3TestApp", []);
>
>
> with [] parameter, i get the normal AngularJS things to work as described
> here : http://slides.com/amberdoctor/angularjs_and_web2py
>
> but if i add the parameter :
> var nvd3TestApp = angular.module("nvd3TestApp", ['nvd3ChartDirectives']);
>
> i get a blank page. I didnt even see ONE chart in 2 days, since i starting
> looking into this. Maybe somebody who got this working can provide some
> sample code how i can use this with web2py.
>
> Thanks in Advance :)
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to