Forum Replies Created by john@npdlink.com

Viewing 1 post (of 1 total)
  • OK a good solution for this that I found was easy using PhP is to subtract one (1) from the months as you scale them.

    EG:

    dataPoints: [
    @foreach($dataline as $data)
    { y: {{$data->totals}}, x: new Date({{$$data->year}},{{$data->month – 1}}) },
    @endforeach
    ]
    }]

    This will allow it to put January in first place or what ever month order you have the “COLLECTION” in.

Viewing 1 post (of 1 total)