Hi,

How would you hook up a Date formatter to show the quarter?  ie, I want to 
have my formatter run the getQuarter() function instead of providing the 
pattern listed.


var todayFormatter = new google.visualization.DateFormat({pattern: "MMM 
d"});

function getQuarter(someDate) {
        return Math.floor(someDate.getMonth()/3) + 1;
}

-- 
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.

Reply via email to