Hello Akku There are generally two approaches to solving such a requirement. The first is having the "Go" button submit a form whose response is a server side html that is rendered to show a chart The other is sending an AJAX call and having client javascript code responding to that call draw the chart
What flavor do you prefer? Badtnik On Fri, Jun 11, 2010 at 5:42 PM, Akku <[email protected]> wrote: > Hi friends, > I get the same old json string using DataSourceHelper too. > Please anyone guide me how to process data using a servlet and showing > the chart in a "single event". > I used Requestdispatcher but that seems to be a bad idea. > I used DataSourceHelper.executeDataSourceServletFlow method too, but > get json string on the browser > I am trying to built a website and when the user clicks "go " button > the data should be processed by the servlet and chart should be drawn > by the html code > i am following this tutorial > http://code.google.com/apis/visualization/documentation/dev/dsl_get_started.html > need a design suggesion!!!! > Need guidance as to how should i go about it. > I get proper results when i follow the tutorial step by step but donno > how to integrate it. > regards > Akku > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" 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-visualization-api?hl=en.
