Login Page - Create Account

Support Board

Date/Time: Tue, 24 Apr 2018 01:13:36 +0000

Post From: ACSIL sc.DataStartIndex

[2017-12-21 01:55:42]
User553714 - Posts: 144
From the documentation I understand that sc.DataStartIndex is used to set the Index of the first element at which a subgraph should start to be drawn.

What I don't understand and which isn't clear in the documentation is it's scope of application; when set does this apply to all Subgraphs that are drawn, i have 30+ SG's so does this force all these to start calculation at the set DataStartIndex? If this is the case, is there anyway to reduce it's scope to a specific SG, for example to a Moving Average SG?

For example, how is DataStartIndex passed to sc.TEMA?
sc.DataStartIndex = EMALength.GetInt() - 1;
sc.TEMA(sc.BaseDataIn[InputData], Avg, EMALength);