gets the sum of property values
| property | string | a data property |
| data | object | a dataset with items of a group |
| number | sum of property values |
$$("mychart").group({
by:"year",
map:{
sales:["sales","sum"]
}
});
// displays the total sales for each year