Hey Bibhas
thanks for your answer. You used the series functionality by "iterating" over the years, but my data looks like this:
var testDate = { mycollection : [ {year : 2007, revenue : 900000, loss: 15000},
{year : 2008, revenue : 500000, loss: 12000},
{year : 2009, revenue : 1200000, loss: 40000},
{year : 2010, revenue : 850000, loss: 30000},
{year : 2011, revenue : 920000, loss: 50000},
{year : 2012, revenue : 860000, loss: 10000},
]
If there is no other option, we need to change the data format and use the series functionality like you did... but i hope i can avoid this step