Hey, Sorry; Windows 7 - Chrome 30
<https://lh3.googleusercontent.com/-DCbhLhs2hxk/Ul_sl62Ab3I/AAAAAAAAAAM/46RdrLbyoAc/s1600/Untitled2.png> Bit overkill, removing the "position:relative" does nothing. Here's the code I'm using to build it up... //Create a holding div for the chart. chartOuterWrap = $(document.createElement('div')); chartOuterWrap.addClass('w-timeline-outerwrap'); //Create the data table. dt = new google.visualization.DataTable(SubWidget.dbdata); if (!SubWidget.colours_expanded) { SubWidget.colours_expanded = '#2aace2' } //Set chart options. var options = { 'width': SubWidget.container_width_expanded, 'height': SubWidget.container_height_expanded, 'backgroundColor': SubWidget.background_colour_expanded, 'colors': [SubWidget.colours_expanded], 'avoidOverlappingGridLines': SubWidget.avoid_overlapping_grid_lines_expanded, 'timeline': { 'colorByRowLabel': SubWidget.colour_by_row_label_expanded, 'groupByRowLabel': SubWidget.group_by_row_label_expanded, 'showRowLabels': SubWidget.show_row_labels_expanded, 'singleColor': SubWidget.single_colour_expanded, 'barLabelStyle': { 'fontName': 'OpenSansRegular' }, 'rowLabelStyle': { 'fontName': 'OpenSansRegular', 'padding': 5 } } }; //Instantiate and draw our chart, passing in some options. var chart = new google.visualization.Timeline(chartOuterWrap.get(0)); chart.draw(dt, options); return chartOuterWrap.get(0); SubWidget is just an object full of pre-set properties. -- 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/groups/opt_out.
