Thanks VizGuy for the tip on toString, I went with this code (ugly,
but it works):
var startYr = range.start.getFullYear( range.start );
var startMo = range.start.getMonth( range.start );
var startDy = range.start.getDate( range.start );
var filterStart = { column: 0, value: new Date( startYr, startMo,
startDy ) };
and thanks for the packages array tip as well. You rock!
~Tim
On Oct 29, 4:37 pm, VizGuy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> From a quick look, your mistake related to the different ways toString is
> implemented in IE and FF.
> The substr(0, 15) returns a wrong value in IE, that then fails to construct
> another Date object from it.
>
> As a rule of thumb, toString functions are not something to count on, they
> are more debug tools.
>
> In addition, youcan save the two calls to load the charts, and use them once
> like this:
> window.google.load( "visualization", "1", { packages: [ "annotatedtimeline",
> "piechart" ] } );
>
> Good luck,
> VizGuy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---