This method will set the series size of a manually sized and manually indexed series of floating numbers or strings.
Two Column Number Series: |
---|
1)Selecting either the Number or String data-type option available in the IPV and BPV variable creation dialog. 2)Disable the default "Auto-Index -- Uses [n] as Lookback from Current Day" 3)When the "Auto-Index" option is disabled, the series will be a "Manual Index" series with 100 rows. 4)If you know the number of rows will be different, you can change them now, or change is scripting using this topic's function. |
•All Manual-Indexed series have a minimum size of 1, and a maximum size of 1,000,000 elements. Do not attempt to access a manual series element location with an index value less than 1, or greater than the actual size of the series. •Series index number violations will errors that will stop execution. •Manual series created with the default or any other value can be re-sized using this function. •Size of a series can be obtained by using the GetSeriesSize function. •This function can be used to increase or decrease the size of a manually Indexed series. •When a manual series size is changed, the values currently in the series row location are retained. •When rows are removed, the values in the removed rows will be deleted. •When the size is increased, the new element rows are initialize with the default value shown in series creation dialog. |
Two-Column Series Note: |
---|
A manually indexed single column number series can have two columns. To add a column to one column series, use the SetSeriesSize [optional] parameter ( See "Add Column Example" ). |
Syntax: |
---|
SetSeriesSize( SeriesName, column_1_Size, [column_2_Size] ) |
Parameter: |
Description: |
---|---|
SeriesName |
Adjust size series name. |
column_1_Size |
New series size integer value. |
[column_2_Size] |
Optional second series integer size. |
Links: |
---|
See Also: |
Edit Time: 9/18/2020 11:34:44 AM |
Topic ID#: 556 |