"curveResample"
The attribute "curveResample" enables the curve downsampling.
Synopsis
setValue(string shape, "curveResample", string curve, int
which);
shape.curveResample(string curve, int which);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
curve | Name of the curve |
which | Type of downsampling. Can be one of the following:
|
Description
The "curveResample" function can only be used in an NGA-project. In other projects the downsampling setting is ignored.
The attribute "curveResample" enables the downsampling of the specified curve. If you
zoom in, a new dpQuery
request is made with more details.
After a short time the requested data is shown. There might be
differences in the graphical presentation, if you are using
TREND_RESAMPLE_WITH_AVG
. This happens if only 1 value (= 1
database row) is retrieved instead of 2 because of a small available pixel space.
With TREND_RESAMPLE
there are no graphical differences.
The downsampling can be selected by selecting the type of downsampling in the corresponding combobox in the curve tab. The combobox will not be shown in any projects not using NGA.
WCCOAui -dbg trend ...
Assignment
Trend