[C#] | public Mark addMark(double value, int lineColor [, string text [, string font [, double fontSize ]]]); |
[VB] | Public Function addMark(value As Double, lineColor As Integer [, text As String [, font As String [, fontSize As Double ]]]) As Mark |
ChartDirector 7.1 (.NET Edition)
Axis.
Usage
[C#] | public Mark addMark(double value, int lineColor [, string text [, string font [, double fontSize ]]]); |
[VB] | Public Function addMark(value As Double, lineColor As Integer [, text As String [, font As String [, fontSize As Double ]]]) As Mark |
Description
Arguments
Argument | Default | Description |
---|---|---|
value | (Mandatory) | The value on the axis to draw the mark line. |
lineColor | (Mandatory) | The color of the mark line. |
text | "" | The text label for the mark line. An empty string means there is no text label. By default, the text label and the tick on the axis will be drawn using the same color as the mark line. You can modify the colors by using the Mark.setMarkColor method. |
font | "" | The font used to draw the text label. |
fontSize | 8 | The font size used to draw the text label in points. |
Return Value