You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matteo Caprari <ma...@gmail.com> on 2009/12/10 17:20:10 UTC

Generating SVG charts with a list function

Hi.

I got a list function to output an SVG chart and blogged a tutorial.
If someone is interested, I can post the link.
-- 
:Matteo Caprari
matteo.caprari@gmail.com

Re: Generating SVG charts with a list function

Posted by Matteo Caprari <ma...@gmail.com>.
Hi Per.

Thank you for reading it :)

Raphael is amazing. But will only work in the browser.
I tried to use it for the article, hoping to make it work on the
server side using env.js but didn't get anywhere :(

To do nice stuff serverside-only, an ideal library would does fancy
svg stuff without assuming being executed in a browser. ie returning
only
xml.

An other solution is to use the python view server and a library like
this: http://sourceforge.net/projects/py-svg/

-teo

On Mon, Dec 14, 2009 at 3:17 PM, Per Ejeklint <ej...@mac.com> wrote:
> Also have a look at raphaëljs: http://raphaeljs.com/ and gRaphaël: http://g.raphaeljs.com/
>
> Thanks for the nice article Matteo!
>
> /Per
>
> 11 dec 2009 kl. 18.34 skrev Zachary Zolton:
>
>> Also, the SVGWeb JavaScript library looks promising:
>>
>> "SVG Web is a JavaScript library which provides SVG support on many
>> browsers, including Internet Explorer, Firefox, and Safari. Using the
>> library plus native SVG support you can instantly target ~95% of the
>> existing installed web base."
>>
>> http://code.google.com/p/svgweb/
>>
>> Basically, it uses Flash to render the SVG.
>>
>> On Thu, Dec 10, 2009 at 11:07 AM, Andrew Melo <an...@gmail.com> wrote:
>>> Thanks! I'll take a look at it after dinner.
>>>
>>> On Thu, Dec 10, 2009 at 6:04 PM, Matteo Caprari
>>> <ma...@gmail.com> wrote:
>>>> Hi Andrew.
>>>>
>>>> Recent versions of Firefox, Safari and Chrome display the SVGs in the
>>>> article correctly.
>>>> IE8 should work, but I have not tested it.
>>>> IE7 and below won't work.
>>>>
>>>> The blog post "generating SVG charts with couchdb" is at
>>>> http://caprazzi.net/posts/charting-data-with-couchdb/
>>>>
>>>> -teo
>>>>
>>>> On Thu, Dec 10, 2009 at 4:50 PM, Andrew Melo <an...@gmail.com> wrote:
>>>>> I'm interested. What's the status on SVG compatibility for, say, IE?
>>>>>
>>>>> -best,
>>>>> Andrew
>>>>>
>>>>> On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
>>>>> <ma...@gmail.com> wrote:
>>>>>> Hi.
>>>>>>
>>>>>> I got a list function to output an SVG chart and blogged a tutorial.
>>>>>> If someone is interested, I can post the link.
>>>>>> --
>>>>>> :Matteo Caprari
>>>>>> matteo.caprari@gmail.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> --
>>>>> Andrew Melo
>>>>> Andrew.Melo@gmail.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> :Matteo Caprari
>>>> matteo.caprari@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> --
>>> Andrew Melo
>>> Andrew.Melo@gmail.com
>>>
>
>



-- 
:Matteo Caprari
matteo.caprari@gmail.com

Re: Generating SVG charts with a list function

Posted by Per Ejeklint <ej...@mac.com>.
Also have a look at raphaëljs: http://raphaeljs.com/ and gRaphaël: http://g.raphaeljs.com/

Thanks for the nice article Matteo!

/Per

11 dec 2009 kl. 18.34 skrev Zachary Zolton:

> Also, the SVGWeb JavaScript library looks promising:
> 
> "SVG Web is a JavaScript library which provides SVG support on many
> browsers, including Internet Explorer, Firefox, and Safari. Using the
> library plus native SVG support you can instantly target ~95% of the
> existing installed web base."
> 
> http://code.google.com/p/svgweb/
> 
> Basically, it uses Flash to render the SVG.
> 
> On Thu, Dec 10, 2009 at 11:07 AM, Andrew Melo <an...@gmail.com> wrote:
>> Thanks! I'll take a look at it after dinner.
>> 
>> On Thu, Dec 10, 2009 at 6:04 PM, Matteo Caprari
>> <ma...@gmail.com> wrote:
>>> Hi Andrew.
>>> 
>>> Recent versions of Firefox, Safari and Chrome display the SVGs in the
>>> article correctly.
>>> IE8 should work, but I have not tested it.
>>> IE7 and below won't work.
>>> 
>>> The blog post "generating SVG charts with couchdb" is at
>>> http://caprazzi.net/posts/charting-data-with-couchdb/
>>> 
>>> -teo
>>> 
>>> On Thu, Dec 10, 2009 at 4:50 PM, Andrew Melo <an...@gmail.com> wrote:
>>>> I'm interested. What's the status on SVG compatibility for, say, IE?
>>>> 
>>>> -best,
>>>> Andrew
>>>> 
>>>> On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
>>>> <ma...@gmail.com> wrote:
>>>>> Hi.
>>>>> 
>>>>> I got a list function to output an SVG chart and blogged a tutorial.
>>>>> If someone is interested, I can post the link.
>>>>> --
>>>>> :Matteo Caprari
>>>>> matteo.caprari@gmail.com
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> 
>>>> --
>>>> Andrew Melo
>>>> Andrew.Melo@gmail.com
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> :Matteo Caprari
>>> matteo.caprari@gmail.com
>>> 
>> 
>> 
>> 
>> --
>> 
>> --
>> Andrew Melo
>> Andrew.Melo@gmail.com
>> 


Re: Generating SVG charts with a list function

Posted by Zachary Zolton <za...@gmail.com>.
Also, the SVGWeb JavaScript library looks promising:

"SVG Web is a JavaScript library which provides SVG support on many
browsers, including Internet Explorer, Firefox, and Safari. Using the
library plus native SVG support you can instantly target ~95% of the
existing installed web base."

http://code.google.com/p/svgweb/

Basically, it uses Flash to render the SVG.

On Thu, Dec 10, 2009 at 11:07 AM, Andrew Melo <an...@gmail.com> wrote:
> Thanks! I'll take a look at it after dinner.
>
> On Thu, Dec 10, 2009 at 6:04 PM, Matteo Caprari
> <ma...@gmail.com> wrote:
>> Hi Andrew.
>>
>> Recent versions of Firefox, Safari and Chrome display the SVGs in the
>> article correctly.
>> IE8 should work, but I have not tested it.
>> IE7 and below won't work.
>>
>> The blog post "generating SVG charts with couchdb" is at
>> http://caprazzi.net/posts/charting-data-with-couchdb/
>>
>> -teo
>>
>> On Thu, Dec 10, 2009 at 4:50 PM, Andrew Melo <an...@gmail.com> wrote:
>>> I'm interested. What's the status on SVG compatibility for, say, IE?
>>>
>>> -best,
>>> Andrew
>>>
>>> On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
>>> <ma...@gmail.com> wrote:
>>>> Hi.
>>>>
>>>> I got a list function to output an SVG chart and blogged a tutorial.
>>>> If someone is interested, I can post the link.
>>>> --
>>>> :Matteo Caprari
>>>> matteo.caprari@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> --
>>> Andrew Melo
>>> Andrew.Melo@gmail.com
>>>
>>
>>
>>
>> --
>> :Matteo Caprari
>> matteo.caprari@gmail.com
>>
>
>
>
> --
>
> --
> Andrew Melo
> Andrew.Melo@gmail.com
>

Re: Generating SVG charts with a list function

Posted by Andrew Melo <an...@gmail.com>.
Thanks! I'll take a look at it after dinner.

On Thu, Dec 10, 2009 at 6:04 PM, Matteo Caprari
<ma...@gmail.com> wrote:
> Hi Andrew.
>
> Recent versions of Firefox, Safari and Chrome display the SVGs in the
> article correctly.
> IE8 should work, but I have not tested it.
> IE7 and below won't work.
>
> The blog post "generating SVG charts with couchdb" is at
> http://caprazzi.net/posts/charting-data-with-couchdb/
>
> -teo
>
> On Thu, Dec 10, 2009 at 4:50 PM, Andrew Melo <an...@gmail.com> wrote:
>> I'm interested. What's the status on SVG compatibility for, say, IE?
>>
>> -best,
>> Andrew
>>
>> On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
>> <ma...@gmail.com> wrote:
>>> Hi.
>>>
>>> I got a list function to output an SVG chart and blogged a tutorial.
>>> If someone is interested, I can post the link.
>>> --
>>> :Matteo Caprari
>>> matteo.caprari@gmail.com
>>>
>>
>>
>>
>> --
>>
>> --
>> Andrew Melo
>> Andrew.Melo@gmail.com
>>
>
>
>
> --
> :Matteo Caprari
> matteo.caprari@gmail.com
>



-- 

--
Andrew Melo
Andrew.Melo@gmail.com

Re: Generating SVG charts with a list function

Posted by Matteo Caprari <ma...@gmail.com>.
Hi Andrew.

Recent versions of Firefox, Safari and Chrome display the SVGs in the
article correctly.
IE8 should work, but I have not tested it.
IE7 and below won't work.

The blog post "generating SVG charts with couchdb" is at
http://caprazzi.net/posts/charting-data-with-couchdb/

-teo

On Thu, Dec 10, 2009 at 4:50 PM, Andrew Melo <an...@gmail.com> wrote:
> I'm interested. What's the status on SVG compatibility for, say, IE?
>
> -best,
> Andrew
>
> On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
> <ma...@gmail.com> wrote:
>> Hi.
>>
>> I got a list function to output an SVG chart and blogged a tutorial.
>> If someone is interested, I can post the link.
>> --
>> :Matteo Caprari
>> matteo.caprari@gmail.com
>>
>
>
>
> --
>
> --
> Andrew Melo
> Andrew.Melo@gmail.com
>



-- 
:Matteo Caprari
matteo.caprari@gmail.com

Re: Generating SVG charts with a list function

Posted by Andrew Melo <an...@gmail.com>.
I'm interested. What's the status on SVG compatibility for, say, IE?

-best,
Andrew

On Thu, Dec 10, 2009 at 5:20 PM, Matteo Caprari
<ma...@gmail.com> wrote:
> Hi.
>
> I got a list function to output an SVG chart and blogged a tutorial.
> If someone is interested, I can post the link.
> --
> :Matteo Caprari
> matteo.caprari@gmail.com
>



-- 

--
Andrew Melo
Andrew.Melo@gmail.com