So you want to redraw the whole dashboard in the dialog box? You will have to place appropriate container div's for all the controls and the chart in the dialog box, change the ChartWrapper and ControlWrappers' "containerId" parameters to match the new div's, and then redraw the Dashboard (the container div used to construct the Dashboard has no significance as far as I am aware, so you don't need to worry about that).
On Monday, January 14, 2013 3:16:41 PM UTC-5, Michelle Stewart wrote: > > The original controls will be covered when the dialog is called. And I > would like them to be able to manipulate the chart from the dialog. I > guess that's why I'm thinking I may need to redraw essentially the whole > dashboard. This is the only chart the controls are manipulating. I am > simply under the impression that the only way to use controls is through a > dashboard. So what I'm trying to determine is what is the minimum amount > of information or objects or variables I need to have populated at a global > level so that I can take one of these dynamic dashboards generated in a > ajax.Success method and still be able to redraw it for my zoom. > > > On Mon, Jan 14, 2013 at 1:07 PM, asgallant > <[email protected]<javascript:> > > wrote: > >> Even when using a Dashboard, you can still manipulate and redraw >> individual charts separately. >> ChartWrapper's<https://developers.google.com/chart/interactive/docs/reference#chartwrapperobject>expose >> methods for changing all of their parameters, and you can call their >> #draw methods independently of the Dashboard to redraw them with the >> updated parameters. >> >> >> On Monday, January 14, 2013 11:24:22 AM UTC-5, Michelle Stewart wrote: >>> >>> I have a series of buttons that when clicked each pass a separate chart >>> to the same function that redraws the chart in a jQuery UI dialog window >>> where it is much larger and can be easily printed (via a separate >>> function). Some of my data does not easily fit into these charts and is >>> better displayed through dashboards which I generate dynamically using a >>> function similar to the filter chart function shown in my >>> jsFiddle<http://jsfiddle.net/mstewart/hdwBN/>. >>> I've mastered the art of redrawing a simple chart (see zoomChart function >>> at the bottom of my fiddle). How can I do the same thing with my >>> dashboards? (Redraw them larger). I would like the functionality to be >>> maintained so that the chart filtered multiple ways could be rapidly >>> printed and complex data can be retrieved in the larger display. I see the >>> Dashboard object but don't see a way to easily alter some of the properties >>> like I can with the drawChart method. I have been looking around and came >>> across >>> this<https://groups.google.com/forum/?fromgroups=#!searchin/google-visualization-api/redraw$20dashboard/google-visualization-api/lSpi6FVcg-s/kRiuVMX46X4J>post, >>> which sounded promising but doesn't seem to have anything to do with >>> dashboards. Do I have to go all the way back to the raw data and >>> reconfigure everything for the new location? >>> >>> Any help will be greatly appreciated, >>> Michelle >>> >> -- >> 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/-/DVXFxEK3L_8J. >> >> To post to this group, send email to >> [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> > > > > -- > Michelle Stewart > Nysus Solutions > -- 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/-/8ITnnx4YKGsJ. 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.
