Skip to main content

Attribute functions

This section describes attribute functions that you can use in an attribute-formula. For edit functions, see "Edit functions".

Functions for attribute-formulas

Show/Hide functions

Function name

Feature

VISIBLE

Switches between show/hide.

Color functions

Function name

Feature

TEXT_COLOR

Changes the font color.

MONO_COLOR

Changes the monochrome color.

STROKE_COLOR

Changes the line color (ruled lines/borders).

FILL_COLOR

Changes the surface color (fill color).

Coordinate functions

Function name

Feature

MOVE

Changes the coordinates (by moving a specified amount).

POS

Changes the coordinates (by moving to a specified position).

START_POS

Changes the coordinates of the start point.

END_POS

Changes the coordinates of the end point.

SCALE

Changes the magnification ratio (enlarges/reduces the size).

ROTATE

Changes the rotation angle.

Text functions

Function name

Feature

BOLD

Changes the bold attribute of text.

ITALIC

Changes the italic attribute of text.

FONT_ID

Changes the full-width font.

HALF_FONT_ID

Changes the half-width font.

FONT_SIZE

Changes the font size.

TEXT

Changes the content of static text.

UNDERLINE

Highlights text with underlines and other styles.

PAINT

Highlights text with background fill.

AREA

Automatically adjusts the font size so that text fits in the specified area.

FONT_STYLE

Copies string attributes.

Shape functions

Function name

Feature

STROKE_STYLE

Copies line (ruled lines/borders)-related attributes.

FILL_STYLE

Copies surface (fill) attributes.

ARROW_STYLE

Copies arrow attributes.

Multi-page functions

Function name

Feature

PAGE_VISIBLE

Switches between show/hide (multi-page setting).

TEXT_PAGE_COLOR

Changes the font color (multi-page setting).

MONO_PAGE_COLOR

Changes the monochrome color (multi-page setting).

STROKE_PAGE_COLOR

Changes the line color (ruled lines/borders) (multi-page setting).

FILL_PAGE_COLOR

Changes the surface color (fill color) (multi-page setting).

Coordinate reference functions

Function name

Feature

XVAL

Retrieves the X coordinate.

YVAL

Retrieves the Y coordinate.

START_XVAL

Retrieves the X coordinate of the start point.

START_YVAL

Retrieves the Y coordinate of the start point.

END_XVAL

Retrieves the X coordinate of the end point.

END_YVAL

Retrieves the Y coordinate of the end point.

Chart functions

Function name

Feature

SET_CSV

Sets the CSV file.

ADD_VALUE_GRIDLINE

Adds a gridline at the specified value on the value axis.

GRIDLINE_TYPE

Retrieves the type of the axis that you are drawing.

GRIDLINE_INDEX

Retrieves the index of the axis that you are drawing.

ITEM_GRIDLINE_VALUE

Retrieves the value of the category axis that you are drawing.

VALUE_GRIDLINE_VALUE

Retrieves the value of the value axis that you are drawing.

ITEM_GRIDLINE_VISIBLE

Shows or hides the category axis gridlines.

VALUE_GRIDLINE_VISIBLE

Shows or hides the value axis gridlines.

ITEM_GRIDLINE_STROKE_WIDTH

Changes the line width of the category axis gridlines.

VALUE_GRIDLINE_STROKE_WIDTH

Changes the line width of the value axis gridlines.

ITEM_GRIDLINE_STROKE_COLOR

Changes the color of the category axis gridlines.

VALUE_GRIDLINE_STROKE_COLOR

Changes the color of the value axis gridlines.

ADD_GRIDLINE

Adds a gridline at the specified value.

GRIDLINE_VALUE

Retrieves the value of the axis that you are drawing.

LABEL_VISIBLE

Shows or hides label text.

LABEL_COLOR

Changes the color of label text.

LABEL_BOLD

Changes the bold attribute of label text.

LABEL_ITALIC

Changes the italic attribute of label text.

LABEL_SIZE

Changes the size of label text.

GRIDLINE_VISIBLE

Shows or hides the gridlines.

GRIDLINE_UNIT

Changes the intervals of the gridlines.

GRIDLINE_MAX_VALUE

Changes the maximum gridline value.

GRIDLINE_MIN_VALUE

Changes the minimum gridline value.

GRIDLINE_STROKE_WIDTH

Changes the line width of the gridlines.

GRIDLINE_STROKE_COLOR

Changes the color of the gridlines.

AUX_GRIDLINE_DIVISION

Changes the number of divisions for the auxiliary gridlines.

GRIDLINE_VALUE

Retrieves the value of the category axis that you are drawing.

AXISLABEL_VALUE

Retrieves the value of the axis label that you are drawing.

AXISLABEL_VISIBLE

Shows or hides the axis labels.

AXISLABEL_COLOR

Changes the font color of the axis labels.

AXISLABEL_BOLD

Changes the bold attribute of axis label text.

AXISLABEL_ITALIC

Changes the italic attribute of axis label text.

AXISLABEL_SIZE

Changes the size of axis label text.

VALUELABEL_VISIBLE

Shows or hides the value labels.

VALUELABEL_COLOR

Changes the font color of the value labels.

VALUELABEL_BOLD

Changes the bold attribute of value label text.

VALUELABEL_ITALIC

Changes the italic attribute of value label text.

VALUELABEL_SIZE

Changes the size of value label text.

DATASERIES_VALUE

Retrieves the name of the data series.

REF_VALUE

Retrieves the value that the data series is referencing.

STROKE_WIDTH

Changes the line width of the data series.

STROKE_COLOR

Changes the line color of the data series.

SECONDARY_MARKER_TYPE

Changes the type of the auxiliary marker.

SECONDARY_MARKER_STROKE_WIDTH

Changes the line width of the auxiliary marker.

SECONDARY_MARKER_STROKE_COLOR

Changes the line color of the auxiliary marker.

SECONDARY_MARKER_FILL_COLOR

Changes the fill color of the auxiliary marker.

System variables

Variable name

Feature

_SUBFORM_NO

Retrieves the number of the subform within the page. (The number is fixed to "1" if it is not a link-subform.)

_REPEAT_NO

Retrieves the row number within the repeat (1 or more).

_FORMCOPY_NO

Retrieves the number of the formcopy within the page (starting with 1).

_RECORD_DATA_NO

Retrieves the number of the detail record output within the form (starting with 1).

_RECORD_OUTPUT_NO

Retrieves the number of the record output (for all types) within the form (1 or more).