• Managing marks
WINDEV
WEBDEV
WINDEV Mobile
Others
<Chart>.SurfaceMarkCaption (Function)
Allows you to specify the mark caption for a Surface chart.
Versions 21 and later
This function is now available for WINDEV applications in Linux.
New in version 21
This function is now available for WINDEV applications in Linux.
This function is now available for WINDEV applications in Linux.
Example
CHART_MyChart.SurfaceMarkCaption(grXCoordinate, 1, "January")
Syntax
<Chart control>.SurfaceMarkCaption(<Mark axis> , <Value> , <Caption>)
<Chart control>: Control name
Name of the Chart control to use (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).