Hi, I can't really use your code in order to recrate the bug, but since it doesn't happen to most of the users, there must be something specific that you do. What browser + OS are you using?
Can you send a standalone js code that recreate the problem? Regards, VizGuy On Wed, Mar 25, 2009 at 3:43 PM, rcrisman <[email protected]> wrote: > > Heres the Javascript w/ PHP > > <script type="text/javascript"> > google.load("visualization", "1", {packages: > ["annotatedtimeline"]}); > google.setOnLoadCallback(drawData); > function drawData() { > var data = new > google.visualization.DataTable(); > data.addColumn('date', 'Date'); > data.addColumn('number', 'Repairs'); > data.addColumn('string', 'title1'); > <?php > echo " data.addRows($rownum);\n"; > while($row = mysql_fetch_assoc($sql)) { > > $int_y_pos += $int_y_step_small; > > echo " data.setValue(" . $int_y_pos . ", 0, > new Date(" . $row > ['date'] . "));\n"; > echo " data.setValue(" . $int_y_pos . ", > 1," . $row['count'] . "); > \n"; > > if ($row['date'] == '2005, 10-1, 03') { > echo " data.setValue(" . $int_y_pos > . ", 2,'Hamfest 2005');\n"; > } elseif ($row['date'] == '2006, 10-1, 02') { > echo " data.setValue(" . $int_y_pos > . ", 2,'Hamfest 2006');\n"; > } elseif ($row['date'] == '2007, 10-1, 01') { > echo " data.setValue(" . $int_y_pos > . ", 2,'Hamfest 2007');\n"; > } elseif ($row['date'] == '2008, 09-1, 29') { > echo " data.setValue(" . $int_y_pos > . ", 2,'Hamfest 2008');\n"; > } > > } > ?> > > var time = new > google.visualization.AnnotatedTimeLine > (document.getElementById('time_div')); > time.draw(data, {displayAnnotations: true}); > } > </script> > > On Mar 25, 9:41 am, rcrisman <[email protected]> wrote: > > Update..... My problem is still there even when the Timeline is all on > > its own and no styling or any other charts are on the page. > > > > <html> > > <head> > > The javascript here > > </head> > > <body> > > <div id="time_div" style="width: 940px; height: 240px;"></div> > > </body> > > </html> > > > > That is all that makes up the page and the effect seen in the screen > > shot in the previous post is still there. > > > > On Mar 17, 10:59 am, rcrisman <[email protected]> wrote: > > > > > the bug i am see is the annotations are showing up under and to the > > > right of the time line and covering up one other chart. I have been > > > digging through the API and can't find anything wrong. > > > > > Heres a Screenshot of the bug:http://images.tentec.com/annotations.jpg > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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 -~----------~----~----~----~------~----~------~--~---
