Hi James,
I am unfortunately not familiar with GWT Visualization. I've seen threads about it though. But to answer your question, yes, it would be fairly straight forward to create a slick charting library. That doesn't mean it would be simple. The devil is usually as people say in the details.
However, because the core things are there all implemented in Lienzo, I don't personally think it would be that hard either and it would be crazy slick. What's even better it would run on anything that supports the HTML5 canvas spec. Now days that's a lot of devices out there, mobile, desktop. The charts could have some crazy animations also.
Move the three red dots around the screen and hit "animate". This is just one line of code for the user of the Lienzo API. The transform and all the details are worked out for the user behind the scenes.
Just to play around, for fun really, we created this pie chart. We didn't make it pretty or anything. Just made it draggable, no animation, shadows, cool gradients, nothing, a crud pie chart and it was just a few lines of code:
Hope that helps.
Regards.
Alfredo
On Tue, Dec 18, 2012 at 9:55 AM, James <jim.pxie@gmail.com> wrote:
Is it promising to use this library for reporting to replace other third party chart libraries such as GWT Visualization?
On Monday, December 17, 2012 5:34:17 PM UTC-5, Alfredo Quiroga-Villamil wrote:Forgot to mention ... You can also add a touch end handler and apply the same concept. This way it will work on mobile devices as well.
Sent from my iPhoneRather than create a new shape, I found I'm able to simply create a LienzoPanel that has a Layer in it. This Layer will be the canvas: on mouse events I can draw a PolyLine and add points to it. After any mouseUp event I can then JSONify the Layer and send that, which will have all shapes within it. --To post to this group, send email to google-we...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/eY8mcIzdLn4J.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ec4JGx0RqasJ.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Alfredo Quiroga-Villamil
AOL/Yahoo/Gmail/MSN IM: lawwton
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment