Here is the output of the jsonp from the webservice I am calling (I have removed a bunch of extraneous data but maintained the overall structure). I'm only interested the "SubRows" grouping. I'd like to break out visits (y-axis) by start-date (x-axis) in a line chart. How would I represent the schema for this datasource?
"data" : [
{
"YttQZfDcyK6" :
{
"measures" :
{
"Visits" : 22214391
} ,
"SubRows" : [
{
"start_date" : "2011-01-01",
"measures" :
{
"Visits" : 605521
} ,
"SubRows" : null
},
{
"start_date" : "2011-01-02" ,
"measures" :
{
"Visits" : 672939
} ,
"SubRows" : null
} ]
}
} ]
Thanks ahead of time.
"data" : [
{
"YttQZfDcyK6" :
{
"measures" :
{
"Visits" : 22214391
} ,
"SubRows" : [
{
"start_date" : "2011-01-01",
"measures" :
{
"Visits" : 605521
} ,
"SubRows" : null
},
{
"start_date" : "2011-01-02" ,
"measures" :
{
"Visits" : 672939
} ,
"SubRows" : null
} ]
}
} ]
Thanks ahead of time.