Assembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
[RefreshPropertiesAttribute(RefreshProperties.Repaint)] public Object this[ int index ] { get; set; } |
Visual Basic |
---|
<RefreshPropertiesAttribute(RefreshProperties.Repaint)> _ Public Default Property Item ( _ index As Integer _ ) As Object Get Set |
Parameters
- index
- Type: System..::..Int32
Implements
IList..::..Item[([( Int32])])Remarks
This property can be used to access a specific data entry by numerical index. In Visual Basic, no casting is required. In C#, it is necessary to cast the return value to the appropriate type. Note that all values are stored as a Double(VB) or double(C#) data type internally. Data conversions are performed automatically and as appropriate for the inputted data type. For example, setting a data element to a DateTime value of January 1, 2002 will be stored internally as an Ole date, then converted to a Double/double with a result of 37257.
Acceptable input data types include Single, Double, Integer, Int16, Int64, Decimal and DateTime (VB) and float, double, int, Int16, Int64, decimal and DateTime (C#). When PointData is managed by the ChartCoordArray, PointF objects may also be used.
Note that the index must be between 0 and the Length of the array inclusive.