Defines the histogram data for each series, with:
the number of the series concerned in SeriesId (the first series will be number 1).
the values of the points related to the series SeriesId, held in the array ArrPoints.
the labels associated with each point in the series SeriesId, held in the array ArrLabels.
the error values associated with each point in the series SeriesId, held in the array ArrErrors (these values are only taken into account if the Y_ERROR_BAR property is set to "_HST_DEFINED_ERROR").
This method must be called once for each series in the histogram.
Syntax | |
CALL_METHOD NameHistogramObject DEFINE_DATA SeriesId ArrPoints ArrLabels ArrLegends ArrErrors |
|
Parameters |
|
SeriesId (I) |
NUM_BIN_4 type |
ArrPoints (I) |
NUM_E(15,4) type array |
ArrLabels (I) |
ALPHA(250) type array |
ArrErrors (I) |
NUM_E(15,4) type array |
Conditions for use |
None |
The arrays ArrPoints, ArrLabels and ArrErrors must contain at least as many elements as there are points.
Syntax | ||||||||||||||||||||||||||
CALL_METHOD NameHistogramObject DEFINE_DATA_COLORS SeriesNb ArrColors |
||||||||||||||||||||||||||
Parameters |
||||||||||||||||||||||||||
SeriesNb (I) |
NUM_BIN_4 type Number of series in the histogram. |
|||||||||||||||||||||||||
ArrColors (I) |
NUM_BIN_4 type array Color array or the special value _HST_COLOR_RANDOM. If this parameter is specified as _HST_COLOR_RANDOM, the object chooses colors for its constituent series itself.
Possible values:
The values _HST_SERIES_COL_PASTELRED, _HST_SERIES_COL_PASTELGREEN, _HST_SERIES_COL_PASTELBLUE, _HST_SERIES_COL_PASTELCYAN, _HST_SERIES_COL_PASTELMAGENTA and _HST_SERIES_COL_PASTELYELLOW can be superimposed between 1 and 15 times to produce a color gradient (with constant + 15 being the palest tone in the gradient). The _HST_SERIES_COL_SHADE value can be superimposed on the constants _HST_SERIES_COL_BLUE to _HST_SERIES_COL_WHITE (see above) to add a black tint to the color. |
|||||||||||||||||||||||||
Conditions for use |
None |
The array ArrColors must contain at least as many elements as there are slices.
Defines the histogram's general characteristics, with:
the number of series in the histogram in SeriesNb.
the number of points in the histogram in PointNb;
the values in the array ArrLabels, corresponding to the labels associated with the points with the same position in each series.
the values in the array ArrLegends, corresponding to the legends associated with each series.
Syntax | |
CALL_METHOD NameHistogramObject DEFINE_GRAPHIC SeriesNb PointNb ArrLabels ArrLegends |
|
Parameters |
|
SeriesNb (I) |
NUM_BIN_4 type |
PointNb (I) |
NUM_BIN_4 type |
ArrLabels (I) |
ALPHA(250) type array |
ArrLegends (I) |
ALPHA(250) type array |
Conditions for use |
None |
The array ArrLabels must contain at least as many elements as there are points.
The array ArrLegends must contain at least as many elements as there are series.
Prints the histogram.
Syntax | |||||||
CALL_METHOD NameHistogramObject PRINT_GRAPHIC PrinterName Mode |
|||||||
Parameters |
|||||||
PrinterName (I) |
ALPHA(250) type Name of the printer used to print the chart. If this parameter is not specified, the computer's default printer is used. |
||||||
Mode (I) |
NUM_BIN_4 type Print mode used to print the chart.
Possible values:
|
||||||
Conditions for use |
None |
Note: This method is not implemented by the Cloud generator.