The Mark class represents mark lines. It is a subclass of
. Mark objects are created using
| Method | Inherited | Description |
| setValue | (Self) | Sets the value of the mark line. |
| setMarkColor | (Self) | Sets the line, text and tick colors of the mark line. |
| setLineWidth | (Self) | Sets the line width of the mark line. |
| setDrawOnTop | (Self) | Determine whether the mark line is drawn at the front of the chart layers, or at the back of the plot area (that is, like grid lines). |
| getLine | (Self) | Retrieves an opaque LineObj representing the mark line. The opaque LineObj is to be used in XYChart.addInterLineLayer for adding coloring between lines. |
| setText | TextBox | Sets the text to be shown in the text box. |
| setFontStyle | TextBox | Sets the font of the text by specifying the file that contains the font. |
| setFontSize | TextBox | Sets the font height and width in points. |
| setFontAngle | TextBox | Sets the rotation angle and layout direction of the text. |
| setFontColor | TextBox | Sets the color of the text. |
| setAlignment | TextBox | Sets the alignment of the text relative to the container box. |
| setWidth | TextBox | Sets the width of the text box and wraps text if necessary. |
| setHeight | TextBox | Sets the height of the text box. |
| setMaxWidth | TextBox | Sets the maximum width of the text box and wraps text if necessary. |
| setTruncate | TextBox | Sets the maximum number of lines in the text box, and truncate the text if it exceeds the line count. |
| setMargin | TextBox | Sets all margins (left, right, top, and bottom) of the text box to the same value. |
| setMargin2 | TextBox | Sets the margins of the text box. |
| setPos | Box | Sets the coordinates of the reference point of the box, which by default is the top-left corner of the box. |
| setSize | Box | Sets the width and height of the box. |
| setBackground | Box | Sets the background color, border color and 3D border effect of the box. |
| setRoundedCorners | Box | Sets the border style to use rounded corners. |
| getLeftX | Box | Gets the left x pixel coordinate of the box. |
| getTopY | Box | Gets the top y pixel coordinate of the box. |
| getWidth | Box | Gets the width of the box. |
| getHeight | Box | Gets the height of the box. |
| getImageCoor | Box | Gets the image map coordinates of the box as HTML image map attributes. |
| setZOrder | Box | Sets the z-order (drawing order) for custom box objects. |