oesmith/morris.js — Issue #21: Days in xkey with date in Y-m-d format 
Author: Ceda
Created: 2012-02-29 21:40:53+00:00
State: open

Hi Olly,
pleas can you help me with this problem...
I get data with Google Analytics API Class and transform to this format..

data = [{"ga:date":"2012-01-01","ga:pageviews":"121","ga:visits":"21"},{"ga:date":"2012-01-02"... ... {"ga:date":"2012-01-31","ga:pageviews":"121","ga:visits":"221"}]

Morris Chart call

Morris.Line({
element: 'chart',
data: data,
xkey: 'ga:date',
ykeys: ['ga:pageviews','ga:visits']})

And in xkey ax is only year... i need show 31 days...
Pleas how do that?

Thank you!