Yeah it looks like it is a compatibility thing - if you add an ID to the 'modal-content' container and direct the chart to their, it fails. Once you strip the 'model-content' class from that div, it works. I'll throw together a new jsfiddle and submit a bug report.
Thanks! Dan On Monday, 11 May 2015 15:32:16 UTC+1, Daniel LaLiberte wrote: > > I'm not sure how that incompatibility between Bootstrap's modal dialog and > the charteditor would be related to the Timeline chart. But perhaps there > are more issues of a similar nature. Let us know what you find. Thanks. > > On Mon, May 11, 2015 at 10:25 AM, Daniel Buttery < > [email protected] <javascript:>> wrote: > >> Hey, cheers for the response. Just done a quick search off the back of >> your comments and found this: >> >> >> https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1692 >> >> Looks like there are (or were) some incompatibilities between Charts and >> the Bootstrap modal dialog. I'll have a poke about and see if theres >> anything specific I can find and work around. >> >> Cheers! >> >> Dan >> >> On Monday, 11 May 2015 15:21:34 UTC+1, Daniel LaLiberte wrote: >>> >>> Daniel, >>> >>> I haven't figured out everything that is going on in your example, but >>> your modal dialog seems to be messing with the context in a way that >>> confuses the charts code. If I just replace the element that it draws in >>> with a simple div, it works: https://jsfiddle.net/4r04788w/2/ >>> >>> If you can figure out what the model dialog might be doing that triggers >>> this confusion, maybe we can do something about it. >>> >>> On Mon, May 11, 2015 at 8:50 AM, Daniel Buttery < >>> [email protected]> wrote: >>> >>>> https://jsfiddle.net/4r04788w/ >>>> >>>> I'm populating a Timeline with the data in the attached fiddle, and >>>> then calling some JS so that when a button is clicked you can get an >>>> enlarged view in a Bootstrap Modal. >>>> >>>> In the above example I'm grabbing the data from the chart itself (in >>>> preperation for making the code reusable), creating a Modal and populating >>>> a DataTable with the data - all looks as expected. >>>> >>>> However if you change from 'Table' to 'Timeline' in row 100 of the JS, >>>> it mucks up. Any ideas?? >>>> >>>> Thanks! >>>> >>>> Dan >>>> >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >>> - 978-394-1058 >>> [email protected] 5CC, Cambridge MA >>> [email protected] 9 Juniper Ridge Road, Acton MA >>> >> -- >> 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] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > - 978-394-1058 > [email protected] <javascript:> 5CC, Cambridge MA > [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA > -- 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.
