Friday 21 April 2017

getMonth() in model of moments

I have a model containing momments like this: enter image description here

What I want is to get the month from it. Instead of that array of Momments I want an array of months.

I tried to do it like in the picture using model.xAxisDates.getMonth() but it returns undefined.

Any ideas how to do it right? Thanks



via migea

No comments:

Post a Comment