Hello and thanks for your response. I can´t use setQuery for two things. One, setQuery needs to be a valid query and it is used to query the datasource, not to send custom parameters. In my tomcat I have got two steps, in the first one I query the database with my custom mysql query (and here is where I need the custom parameters), and the second one it just query the DataTable (the result of the first query) with whatever it is in Query#setQuery.
Two. The content of setQuery is appended to the URL so is sent equaly by GET. So same restrictions apply. El lunes, 19 de noviembre de 2012 08:39:20 UTC+1, asgallant escribió: > > Try using the > Query#setQuery<https://developers.google.com/chart/interactive/docs/reference#Query_setQuery>method > to set the parameters. > > On Sunday, November 18, 2012 9:24:41 PM UTC-5, Ignacio Elguezabal wrote: >> >> Hello, >> I am using google visualization API as a chart generator for some of our >> BI reports. >> I am using the Java visualization library on the server side as well. The >> thing is that using google.visualization.Query I can only send parameters >> to my datasource using GET, but I find that the size restriction of GET >> method is not enough, and I would like to send POST variables to my >> datasource using google.visualization.Query. I need to send informations >> about how to filter members, but there could be a lot of members so I would >> end up with something like google.visualization.Query(" >> http://DATASOURCE?members:23,4324,24,241,1234,1234,1243...") >> Is there a way to use Query and send parameters by POST?? >> Thank you very much for your help >> >> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/9FQi451qQzYJ. 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.
