Can you post the javascript generated by the PHP (ie, view the page in a 
browser an copy-paste the source)?

Going with what you posted, though, I would guess that you are passing a 
string of dash-separated dates to callDate, which would make each callDates*
i* (incidentally, why not just use the newDate array for this?) a single 
date.  Assuming then, that you want your date range for the tooltip to be 
newDate[i] - newDate[i+1], try replacing your data.addRow lines with this 
(for my own sanity, I am using arrays instead of your method, but this is 
easily enogh adapted to your method:

var rows = [];
for (i = 0; i < 7; i++) {
    rows[i] = [
        {v: callDates[i], f: callDates[i] + " - " + callDates[i+1]},
        parseInt(callCounts[i]),
        parseInt(callCountsPre[i])
    ];
}
data.addRows(rows);

You will have to pass one more date in your chartDate list (for the end 
range of the 7th date).  Note that I haven't tested this, it may mess with 
the axis as well as the tooltips.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/aWzooCsIHVcJ.
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.

Reply via email to