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