Time taken to complete graph

I kind of meant maybe having "y": { "format": {...}, "series": [...] } or
something


On Fri, Jul 4, 2014 at 3:56 PM, Leonard Martin <notifications@github.com>
wrote:

> In app/support/stagecraft_stub/responses/carers-allowance.json:
>
> > +        "type": "duration",
> > +        "unit": "s"
> > +      },
> > +      "axes": {
> > +        "x": {
> > +          "label": "Date",
> > +          "key": ["_start_at", "_end_at"],
> > +          "format": "dateRange"
> > +        },
> > +        "y": [
> > +          {
> > +            "label": "Average session time",
> > +            "format": {
> > +              "type": "duration",
> > +              "unit": "s"
> > +            }
>
> In theory yes, I'm just thinking about avoiding situations like
> https://github.com/alphagov/spotlight/blob/master/app/support/stagecraft_stub/responses/g-cloud.json#L170-L201
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/alphagov/spotlight/pull/627/files#r14562509>.
>