I have looked all over the internet and consulted with several books, but I cannot find an example illustrating what I am trying to do. I hate asking about it on SO because it seems like a really basic question, but I hit my head on the wall in the last few hours, so here it is:
How to do it:
item = ((100,May),(160,June),(300,July),(140,August))
in it:
{
item:[
{
value:100,
label:'May'
},
{
value:160,
label:'June'
},
{
value:300,
label:'July'
},
{
value:140,
label:'August'
}
]
}
source
share