(SOLVED) SVG chart support?

UI Components for JSF
Post Reply
Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

26 Jul 2010, 09:10

Is there any svg-chart support for jsf?
My problem is that I want to make the chart page for webkit browser of smart phones.
I need the svg tagslibrary for the JSF.
Tuvshin
Last edited by Tuvshin09 on 17 May 2011, 11:35, edited 1 time in total.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

26 Jul 2010, 10:20

Hi,

I don't know about JSF, but there is an JS library for SVG chats and more http://raphaeljs.com/ Especially here for charting http://g.raphaeljs.com/

I intend to port this library to JSF in the future, but not now (no needs at the moment). Maybe in 2-3 mounth. You can try to use it native in your web app.

kind regards.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

26 Jul 2010, 10:58

Hi Oleg.
Thanks for the post. :)
Tuvshin

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

26 Jul 2010, 13:40

The nice thing that it can also render charts and other things in Internet Explorer by using of VML. They wrote "Raphaël currently supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+." I have tested it with Google Chrome. It works fine in Chrome too.

I found Raphaël a couple weeks ago. Before I wrote a viewer which rotates / zoom images by using of Canvas / VML. It was not quite simple. With Raphaël it's child's play, just one line to rotate or scale an image.

Have much fun :-)
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin


cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 May 2011, 14:19

That is Canvas btw not SVG.

Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

21 Jun 2011, 09:13

Hi Cagatay. This cool canvas chart has solved my developing problem. :)
I wanted to build a chart included jsf-web for webkit browser of Iphone. It works very cool. I like it
Great job. thank you.
Tuvshin

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 57 guests