void CBCGPChartVisualObject::AddDataPoints | ( | const CBCGPDoubleArray & | arYValues, |
int | nSeries = 0 , |
||
CBCGPDoubleArray * | parXValues = NULL , |
||
CBCGPDoubleArray * | parY1Values = NULL , |
||
BOOL | bRecalcMinMaxValues = TRUE |
||
) |
Adds several data points at once.
Call this method to add a batch of data points. Set bRecalcMinMaxValues to FALSE if you're planning to add several batches before chart is displayed. After that you have to call RecalcMinMaxValues() manually.
Unlike AddDataPointsOptimized() using this method does not optimize memory consumptions and still allows individual data point customization.
arYValues | Array of Y values. |
nSeries | Series index. |
parXValues | Array of X values. |
parY1Values | Array of Y1 values. |
bRecalcMinMaxValues | TRUE - calculate series minimum and maximum. |