void CBCGPChartTransitionFormula::SetTransitionCallback | ( | BCGPCHART_TRANSITION_CALLBACK | pCallback, |
LPARAM | lParam = NULL , |
||
BOOL | bGenerateDataPoints = TRUE |
||
) |
Sets transition callback.
Call this method to set a callback to implement custom transitions.
The transition callback is defined as following:
typedef CBCGPChartData (CALLBACK* BCGPCHART_TRANSITION_CALLBACK)(const CArray<CBCGPChartData, CBCGPChartData>& arData, int nDataPointIndex, CBCGPChartSeries* pFormulaSeries, LPARAM lp);
Input parameters:
pCallback | A pointer to a custom callback. |
lParam | User-defined data to be passed to the callback. |
bGenerateDataPoints | TRUE - recalculate output data points immediately. |