[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] Q re max-loaded-items



Does anybody know why we have two options that limit the number of
periods that we evaluate:

--max-loaded-items
--nb-items

The documentation for nb-items in display_indicator states that it
"controls how many database records are loaded".

There is no documentation for max-loaded-items but in graphic.pl (the
only place it appears) it is used in the same way that nb-items is used
in display_indicator.

nb-items in graphic.pl is used to determine how many periods to plot
albeit the analysis might use more data.

As we all know, the options in the various scripts are very
inconsistent. So in striving for some sanity here, can anybody give some
feedback as to

1. Would it be ok to have the number of periods plotted in graphics.pl
be the same as the number of data loaded? In other words, is there a
need to limit the periods plotted to a smaller (larger does not make
sense, albeit that is not tested in the code) range than the data
loaded?

2. If there is a good reason to differentiate these two, why does the
same argument not apply to display_indicator.pl?

Please advise.

Thanks, Th.