| Quick
Reference... |
Attribute Name
|
LineStats |
| Type |
Integer
(0..31) |
| Summary: |
Sets
the type of statistical line to applied to the graph. |
|
Description:
The LineStats attribute lets
you superimpose statistical lines and curves on several graph types.
Statistical lines are available for line (including lin/log, log/lin,
log/log, and overlay line graphs), 2D scatter, high-low-close, open-high-low-close,
candlestick, and box-whisker (parametric data only) graphs. Curves are
available for all of these graph types except candlestick.
Simply set LineStats to any
one of the following values...
| Value |
Statistical
Lines |
| 0 |
No statistical lines
(default) |
| 1 |
Mean line |
| 2 |
Min/max line |
| 3 |
Mean and min/max lines |
| 4 |
Standard-deviation line |
| 5 |
Standard-deviation and
mean lines |
| 6 |
Standard-deviation and
min/max lines |
| 7 |
Standard-deviation,
min/max, and mean lines |
| 8 |
Best-fit line |
| 9 |
Best-fit and mean lines |
| 10 |
Best-fit and min/max
lines |
| 11 |
Best-fit, min/max, and
mean lines |
| 12 |
Best-fit and standard-deviation
lines |
| 13 |
Best-fit, standard-deviation,
and mean lines |
| 14 |
Best-fit, standard-deviation,
and min/max lines |
| 15 |
All lines--best-fit,
standard-deviation, min/max, and mean |
| 16-31 |
Same as above, with
curve fitting--add 16 to each of the above settings to enable a
curve (curves aren't available for candlestick graphs, for which
settings 16-31 duplicate settings 0-15) |
-
Mean plots a line parallel to the X axis through the mean (average)
value of the data set.
- Min/max plots a pair
of lines parallel to the X axis through the maximum and minimum values
of the data set.
- Standard deviation plots
a pair of lines parallel to the X axis through the standard deviation
of the data set above and below the mean.
- Best fit plots a first-order
regression fit--a straight line fitted to the trend of data points.
It's identical to the polynomial curve of order 1 (CurveType setting
0, CurveOrder setting 1).
- Curve plots a curve defined
by the CurveType, CurveSteps, and CurveOrder properties.
Number of lines or curves
The number of statistical
lines or curves drawn depends on the graph type:
- For line and scatter
graphs, you get one line (or pair of lines for min/max and standard
deviation) per data set.
- For high-low-close, open-high-low-close,
and candlestick graphs, you get one line (or pair of lines) for the
entire graph, based on the close values.
- For box-whisker graphs,
you get one line (or pair of lines) for the entire graph, based on
the median values.
Remarks:
None.
| Example... |
<CFXGRAPHICSSERVER
... LineStats="4"
... >
will
add a standard deviation line to the graph. Note that you can only
have one LineStats attribute per tag.
|
|