When you render using a Dashboard, the entire Dashboard will want to use one DataTable. Generally, the way to do this is to have all your series in one data table and use the 'view.columns' option to limit the columns that each chart sees. It looks like you're currently creating a Dashboard for each chart, which is not how it's intended to work. Your example is a little complicated to modify, so here's an example written from scratch: http://jsfiddle.net/41rsjqg9/3/
I wasn't entirely sure what you were trying to do with the multiple axes since you had two charts, so I just omitted that part. On Wed, Apr 1, 2015 at 11:39 AM Alex Frie <[email protected]> wrote: > I am trying to make multipel charts that all are controled by one > dataslider. > Eatch chart got the sate x-axis and the same data in in. > > I tryed but for some reason it shows the same data in eatch chart. > You can see my test here: > http://jsfiddle.net/41rsjqg9/1/ > > This is not a finished code, but if anyone can tell me a way to do this I > will really appreciate it! > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
