SharpPlot Reference > SharpPlot Methods > GroupBy Method

SharpPlot.GroupBy Method

Prepare key-based grouping criterion prior to plotting data. This is typically used to summarize data which results from a database query. It may be called more than once to set up a hierarchy of summaries, typically used with the table chart.

Example

sp.GroupBy(barleyvariety);
sp.GroupBy(barleyfarm,GroupByFunction.Average);

See the tutorial on grouping and splitting data for more examples.

Overloads

See also ...

Grouping and Splitting database data | SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2021