Syntax
[C/C++:]
void ggSetTextChartAttribs(float width, float height, int jslcr, int head, int line);
[F90:]
subroutine ggSetTextChartAttribs(width, height, jslcr, head, line)
real, intent(in) :: width, height
integer, intent(in) :: jslcr, head, line
Arguments
width
Column width in user space coordinates
height
Column height in user space coordinates
jslcr
Justification flag for column entry
|
= GLEFT |
Left justification |
|
= GCENTRE |
Centre justification |
|
= GRIGHT |
Right justification |
head
Header switch for Text Chart columns
|
= GNOHEAD |
No header cell for column |
|
= GHEAD |
Header cell added at top of column |
line
Text chart frame line style index
|
= GCURRENT |
Specifies the current line style |
|
= 1 to 256, |
Specifies the line style index |
|
>256 |
Specifies the current line style |
Description
The routine ggSetTextChartAttribs() defines the general characteristics for the text chart routines. The size of the Text Chart column is set by
width and
height which are in user space coordinates. ggSetTextChartAttribs() takes the absolute values supplied in the arguments. If either the
width and/or
height = 0.0 then a default size of column is defined, which is 10 times the character width and twice the character height times the number of rows required respectively. The character dimensions are those current at the time the Text Chart is output.
jslcr sets the justification of text or value entries of Text Chart columns which may be set to left, centre, or right justified. Left justified strings start half a character width away from the left hand side of the column and right justified strings end half a character width away from the right hand side of the column.
If
head = GHEAD a header cell is added to the top of the column thus increasing the number of rows by one and the header string supplied in the Text Chart output routine is displayed centrally in that cell. If
head = GNOHEAD, no header cell is added and the header string supplied in the Text Chart output routine is ignored.
Column frame boxes are drawn in the line style set by the value of
line. If
line < 0 then no column frame is drawn. Filled rectangles, line styles and symbols within Text Chart columns have their own line style settings passed as arguments. All other Text Chart elements, ie,  header strings, text strings, values and percentages are displayed in the current GINO line style.
See Also
ggSetTextChartAttribs UsageggEnqTextChartAttribs