Sorts the current values collection using the supplied comparison function. Use CustomSort when you want to perform a special type of sorting on the values collection. You need to define a function based on the FMX.RS.ChartPanel.TValuesSortCompare signature.
If you want to do normal sorting, just call the
Sort method.
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Parameters
SCompare
Type: TValuesSortCompare
The following code sorts a shape chart from shapes with the smallest (width * height) area to largest area:
|