PieChart.cpp

Summary
PieChart.cpp
Functions
CompareLessPieChartGlobal ‘less’ compare function for data entries by their values.
CompareGreaterPieChartGlobal ‘greater’ compare function for data entries by their values.

Functions

CompareLessPieChart

bool CompareLessPieChart(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)

Global ‘less’ compare function for data entries by their values.

Parameters

pFirstEntryThe first data entry to be compared.
pSecondEntryThe second data entry to be compared.

Returns

A boolean value indicating if the first entry’s value is smaller than the second entry’s.

CompareGreaterPieChart

bool CompareGreaterPieChart(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)

Global ‘greater’ compare function for data entries by their values.

Parameters

pFirstEntryThe first data entry to be compared.
pSecondEntryThe second data entry to be compared.

Returns

A boolean value indicating if the first entry’s value is greater than the second entry’s.

bool CompareLessPieChart(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)
Global ‘less’ compare function for data entries by their values.
bool CompareGreaterPieChart(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)
Global ‘greater’ compare function for data entries by their values.
Close