score:3

Accepted answer

you don't need both allseries and pieseries. i would get rid of pieseries. you can assign as many series to your allseries list as you need and they can be of any type. so change your pieseries.add to the following:

allseries.add(new series
{
   type = charttypes.pie,
   name = "total rooms",
   data = new data(puncte.toarray())
})

then the following statement will work and all of your required series to the chart:

.setseries(allseries.select(s => new series { type = s.type, name = s.name, data = s.data }).toarray());

Related Query

More Query from same tag