ChartDirector 6.0 (ASP/COM/VB Edition)
setTrimData(startPos [, len ])
Uses only a subset of the data series to draw charts.
In finance charts, "lead data" are commonly needed to plot technical indicators. For example, to show a 20-days moving average line for 30 days, one needs 50 days of data. It is because computing 20-days moving average requires 20 days of "lead data". The setTrimData method is a convenience method for trimming off these "lead data" so they will not appear on the chart.
|startPos||(Mandatory)||The index for the first data position to use for plotting charts.|
|len||7fffffff||The length of the data points used for plotting charts.
© 2017 Advanced Software Engineering Limited. All rights reserved.