API Reference
ChartDataset`1
Represents an immutable, renderer-neutral collection of source rows that can be transformed before chart construction.
Inheritance
- Object
- ChartDataset`1
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method Chart.AddHistogram``1
- Method ChartGrid.FromFacets``2
- Method ChartGrid.FromFacets``2
Type Parameters
- T
- The source row type.
Methods
Bin(System.Func{`0,System.Double} arg1, System.Int32 arg2) #Partitions a numeric measure into equal-width bins.
Parameters
- arg1 System.Func{`0,System.Double}
- arg2 System.Int32
Filter(System.Func{`0,System.Boolean} arg1) #Returns rows accepted by the predicate without changing this dataset.
Parameters
- arg1 System.Func{`0,System.Boolean}
From(System.Collections.Generic.IEnumerable{`0} arg1) #Materializes a source sequence once into an immutable dataset.
Parameters
- arg1 System.Collections.Generic.IEnumerable{`0}
GetEnumerator() #GroupBy``1(System.Func{`0,``0} arg1, System.Collections.Generic.IEqualityComparer{``0} arg2) #Groups rows by key while preserving first-key and source-row order.
Parameters
- arg1 System.Func{`0,``0}
- arg2 System.Collections.Generic.IEqualityComparer{``0}
Select``1(System.Func{`0,``0} arg1) #Projects every row into a new immutable dataset.
Parameters
- arg1 System.Func{`0,``0}
SortByDescending``1(System.Func{`0,``0} arg1, System.Collections.Generic.IComparer{``0} arg2) #Returns rows ordered descending by the selected key without changing this dataset.
Parameters
- arg1 System.Func{`0,``0}
- arg2 System.Collections.Generic.IComparer{``0}
SortBy``1(System.Func{`0,``0} arg1, System.Collections.Generic.IComparer{``0} arg2) #Returns rows ordered by the selected key without changing this dataset.
Parameters
- arg1 System.Func{`0,``0}
- arg2 System.Collections.Generic.IComparer{``0}
Summarize``2(System.Func{`0,``0} arg1, System.Func{``0,System.Collections.Generic.IReadOnlyList{`0},``1} arg2, System.Collections.Generic.IEqualityComparer{``0} arg3) #Creates one summary row per group.
Parameters
- arg1 System.Func{`0,``0}
- arg2 System.Func{``0,System.Collections.Generic.IReadOnlyList{`0},``1}
- arg3 System.Collections.Generic.IEqualityComparer{``0}