Chooses how y is derived from the data. "identity" plots y verbatim
and every other value aggregates y grouped by x.
Arguments
- chart
Defines which chart to modify.
- stat
Defines how y is aggregated. One of "identity", "count",
"sum", "mean", "min", "max", "sd", or "var".
Value
chart, with its stat set.