Thanks for the replies. d3js looks very interesting, I will look into that.

On Tue, Jan 8, 2013 at 3:56 AM, Andrew W <awillima...@gmail.com> wrote:
> I haven't either, but I'd recommend a look at d3js.org, if you want to use
> svg.
>
> I've done something similar to this one, using a web2py generated json data
> feed - data driven layout !
>
> http://mbostock.github.com/d3/talk/20111116/bundle.html
>
>
>
>
>
>
> On Monday, January 7, 2013 7:29:10 AM UTC+13, villas wrote:
>>
>> Look at what he does here:
>>
>> http://keith-wood.name/svgBasics.html
>>
>> See the drawInitial function.
>> You need to load it, put it into a document.ready function or something.
>>
>>
>> On Sunday, January 6, 2013 2:14:13 PM UTC, jonas wrote:
>>>
>>> Hi.
>>>
>>> Has anyone here tried the jQuery svg lib http://keith-wood.name/svg.html?
>>>
>>> I tried to use it in web2py but with no success.
>>>
>>> the necessary lib was imported: <script
>>> src="{{=URL('static','js/jquery/jquery.svg.js')}}"></script>
>>> but is seems that the svg function is not present :
>>>
>>> <div class="test">svg should be here</div>
>>>
>>> <script>
>>>
>>> $('.test').svg();
>>>
>>> var svg=$('.test').svg('get');
>>> svg.circle(130, 75, 50, {fill: 'none', stroke: 'red', strokeWidth: 3});
>>>
>>> </script>
>>>
>>> the above snippet doesn't work. anyone tried this?
>>>
> --
>
>
>

-- 



Reply via email to