constructor ValueList [line 62]
ValueList ValueList(
$s,
$name, [
$initialCapacity = -1])
|
|
Tags:
Parameters:
destructor __destruct [line 79]
method addChartValue [line 529]
void addChartValue(
$value)
|
|
Parameters:
method asDateTime [line 504]
method assign [line 344]
method clear [line 228]
Removes all values in the list.
Warning: You should not call this "clear" method directly. Call the series "clear" method instead.
Tags:
method CompareValueIndex [line 592]
void CompareValueIndex(
$a,
$b)
|
|
Tags:
Parameters:
method exchange [line 586]
void exchange(
$index1,
$index2)
|
|
Tags:
Parameters:
method fillSequence [line 579]
Renumbers all values in a ValueList class starting at zero.
Warning: Calling fillSequence removes any previous value in a ValueList.
Use fillSequence when deleting points at runtime.
Tags:
method getCount [line 495]
method getDataMember [line 107]
Field to use as source for this value list.
Default value: ""
Tags:
method getDateTime [line 144]
Allows values to be expressed either as numbers or as Date+Time
values.
Each Series value list has a boolean property called DateTime. The boolean DateTime method tells TeeChart what type the numbers are. The horizontal (x axis) and vertical (y axis) value defaults are number format (DateTime False). DateTime can be changed both at design-time and run-time, forcing the Chart to repaint. It used whenever a value must be converted to text, for example, to draw it as the chart axis labels. Axis labels will be drawn in DateTime or numeric format accordingly to the setting of the DateTime method.
You can also set the Chart Series ValueFormat and the Chart Axis DateTimeFormat formatting strings, to control how the values will be displayed.
Default value: false
Tags:
method getFirst [line 308]
Returns the First point value.
Tags:
method getLast [line 330]
Returns the Last point value.
This is the same value as the Count - 1 index value:
Tags:
method getMaximum [line 400]
The highest of all values in the list.
As new points are being added to Series, the IValueList object calculates the Maximum, Minimum and TotalABS properties.
This applies to all Series lists of values, such as XValues, YValues, etc.
Tags:
method getMaxValue [line 413]
Obsolete. Please use Maximum method instead.
Tags:
method getMinimum [line 432]
The lowest of all values in the list.
Tags:
method getMinValue [line 422]
Obsolete. Please use Minimum instead.
Tags:
method getName [line 219]
Returns the name of this ValueList.
The "Name" property is used as the "dataMember" of other series when they are linked through functions.
Tags:
method getOrder [line 172]
Determines if points are automatically sorted or left at original
position.
Runtime only.
This Order is used by default by the Series XValues to draw lines from Left to Right. Setting the XValues.Order property to loNone will respect the points order at point creation. This can be used to draw polygons.
Default value: None
Tags:
method getRange [line 383]
method getTotal [line 449]
The sum of all IValueList values.
When adding, deleting or modifying point values using the right methods, Total is automatically incremented and decremented.
Total is used by some Functions to improve speed when performing calculations against point values, where having already calculated the sum of point values is necessary.
Tags:
method getTotalABS [line 466]
The sum of all absolute values in the list.
Run-time and read only.
The values are first converted to their absolute value.
Pie series, for example, uses this property to calculate the percent each Pie slice represents.
Tags:
method getValue [line 475]
method getValues [line 485]
method indexOf [line 241]
int indexOf(
value
$value)
|
|
Returns the corresponding point index which has the specified Value.
You can use it for example to obtain X co-ordinates based on Y values, or vice-versa.
Tags:
Parameters:
method insertChartValue [line 312]
void insertChartValue(
$valueIndex,
$value)
|
|
Parameters:
method locate [line 340]
int locate(
value
$value)
|
|
Obsolete. Please use IndexOf method instead.
Tags:
Parameters:
method removeAt [line 258]
method removeRange [line 250]
void removeRange(
$index,
$count)
|
|
Tags:
Parameters:
method setCount [line 500]
method setDataMember [line 117]
void setDataMember(
value
$value)
|
|
Field to use as source for this value list.
Default value: ""
Tags:
Parameters:
method setDateTime [line 155]
void setDateTime(
value
$value)
|
|
Allows values to be expressed either as numbers or as Date+Time values.
Default value: false
Tags:
Parameters:
method setName [line 208]
void setName(
name
$name)
|
|
Returns the name of this ValueList.
The Name property can be used to link series when using functions. You can link one series ValueList to another series list, by using the setDataMember method.
For example:
mySeries.setDataSource( myCandle ); mySeries.getYValues().setDataMember(myCandle.getHighValues().getName());
Tags:
Parameters:
method setOrder [line 183]
void setOrder(
value
$value)
|
|
Determines if points are automatically sorted or left at original position.
Runtime only.
Default value: None
Tags:
Parameters:
method setValue [line 479]
void setValue(
$index,
$value)
|
|
Tags:
Parameters:
method setValues [line 490]
method sort [line 278]
Re-orders Series points, interchanging their position in the Series
Values lists.
By default, Series are set to sort points in ascending order using their X coordinates. This is accomplished with this code:
[C#]
tChart1.getSeries(0).getXValues().setOrder( loAscending )
tChart1.getSeries(0).getYValues().setOrder( loNone )
By default, Series draw points using the point ValueIndex, except in some non common situations like having the horizontal axis inverted.
Important Note: Re-Ordering Series points do NOT change point X coordinates. Series points which have no X coordinates are assigned a unique incremental number to determine the point horizontal positions. Automatic Point indexes start at zero. You will need to change every point X coordinate when sorting Series points with automatic X values.
Tags:
method trim [line 290]
method __get [line 48]
method __set [line 55]
void __set(
$property,
$value)
|
|
Overrides
TeeBase::__set() (parent method not documented)
Parameters: