Documentation

group

groups data

void group(object stats);

Parameters

statsobjectobject with group settings: 'by' and 'map' parameters

See also

Example

$$("mychart").group({
                by:"year",
                map:{
                    sales:["sales","max"]
                }
            });

Back to top