Thanks. The advice about using an older version definitely helped. Just for reference, I saw the following problems in the 'current' version: - NumberFormat did not display colored text for a negative number, even though I specified negativeColor: 'red' - ArrowFormat did not display arrows - BarFormat did not display bars
-Greg On Saturday, June 25, 2016 at 6:00:27 PM UTC-4, Daniel LaLiberte wrote: > Hi Greg, > > The format.css is not being loaded properly in recent versions. Sorry > about that, and thanks for reporting it. > > You can work around this by changing 'current' to '42', or you can > explicitly load the format.css file by adding this to your html: > > <link rel="stylesheet" type="text/css" href=" > https://www.gstatic.com/charts/44/css/util/format.css"/> > > > On Fri, Jun 24, 2016 at 11:22 AM, Greg Sommerville <[email protected] > <javascript:>> wrote: > >> I've got some pretty simple code to use an ArrowFormat, but the arrows >> simply don't show up. Anyone have an idea of what's wrong here? >> >> var rawArray = [ >> ['Aardvarks', 12], >> ['Badgers', 16], >> ['Cougars', -22], >> ['Donkeys', 76], >> ['Elephants', 2] >> ]; >> >> var data = google.visualization.arrayToDataTable(rawArray, true); >> >> var formatter = new google.visualization.ArrowFormat(); >> formatter.format(data, 1); >> >> var options = { >> width: 300, >> showRowNumber: false, >> allowHtml: true >> }; >> >> var chart = new >> google.visualization.Table(document.getElementById('divChart')); >> chart.draw(data, options); >> >> >> -- >> 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 >> https://groups.google.com/group/google-visualization-api. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/c4cf8233-dfb1-420e-8223-138936a20d95%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/c4cf8233-dfb1-420e-8223-138936a20d95%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > [email protected] <javascript:> 5CC, Cambridge 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 https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/9dd9fc25-2cf0-46ef-a549-d40b21f74c26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
