Hi Saurabh, Your best bet is to post this question to the Google Visualization API group. Since the mapping in the GALGWT project is generally 1:1, you should be able to get a solution there and code up the equivalent in your GWT application.
Google Visualization API group: http://groups.google.com/group/google-visualization-api Cheers, -Sumit Chandel On Fri, Jan 9, 2009 at 4:53 AM, saurabh hirani <[email protected]>wrote: > > Hi all, > > Thanks for developing a great product like GChart which integrates so > easily with GWT and works like charm. I had a query - I want to draw a > chart where I can click on any point along the x-y axis to determine > the point cordinates in model units. Once I get that, I can do an > addPoint() to add the point to the curve. > > I tried doing that in GChart but I did not find any methods through > which I can handle a mouse click event to get the x-y cordinates in > model units. I can get the cordinates by implementing an EventListener > for the chart but those cordinates are of the browser window and in > different units. So it does not help. How can we accomplish this in > GChart? > > Also, as GChart is a subclass of widget, I can use widget's methods on > it. But as Curve, Point are classes enclosed within GChart, I cannot > use widget methods on it. Am I right in saying this? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
