• Managing marks
WINDEV
WEBDEV
WINDEV Mobile
Others
Allows you to specify the mark caption for a Surface chart.
Example
grSurfaceMarkCaption(CHART_MyChart, grXCoordinate, 1, "January")
Syntax
grSurfaceMarkCaption(<Chart name> , <Mark axis> , <Value> , <Caption>)
<Chart name>: Character string (with or without quotes)
Name of the Surface chart to use. This name corresponds to:
• the chart name defined by programming with grCreate.
• the name of Chart control (found in the window editor or in the report editor).
<Mark axis>: Integer constant
Type of axis on which the marks will be displayed:
 grXCoordinate X axis. Versions 18 and latergrZCoordinateNew in version 18grZCoordinategrZCoordinate Z axis. grYCoordinate Y axis.
<Value>: Real
Value of mark for which the caption will be modified.
<Caption>: Character string
New caption for the mark.
Remarks

Managing marks

In order for the mark caption to be displayed:
• a mark must exist at the specified value. Otherwise, the mark caption will not be displayed.
• the mark must have a value. The caption will not be displayed if a mark has no value.
Reminder: The marks of a Surface chart can be defined:
• in the editor, in the description window of Chart control ("General" tab).