ChartDirector Ver 3.1 (PHP Edition Edition)

Mark


The Mark class represents mark lines. It is a subclass of TextBox. Mark objects are created using Axis.addMark.

MethodInheritedDescription
setValue(Self)Set the value of the mark line.
setMarkColor(Self)Set the line, text and tick colors of the mark line.
setLineWidth(Self)Set 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)Retrieve an opaque LineObj representing the mark line. The opaque LineObj is to be used in XYChart.addInterLineLayer for adding coloring between lines.
setTextTextBoxSet the text to be shown in the text box.
setFontStyleTextBoxSet the font of the text by specifying the file that contains the font.
setFontSizeTextBoxSet the font height and width in points.
setFontAngleTextBoxSet the rotation angle and layout direction of the text.
setFontColorTextBoxSet the color of the text.
setMarginTextBoxSet all margins (left, right, top, and bottom) of the text box to the same value.
setMargin2TextBoxSet the margins of the text box in pixels.
setAlignmentTextBoxSet the alignment of the text relative to the container box.
setPosBoxSet the coordinates of the top-left corner of the box.
setSizeBoxSet the width and height of the box.
setBackgroundBoxSet the background color, border color and 3D border effect of the box.
getWidthBoxGet the width of the box.
getHeightBoxGet the height of the box.
getImageCoorBoxGet the image map coordinates of the box as HTML image map attributes.