grPointType (Function) In french: grTypePoint Modifies the shape of point for a specific category or value found in a Line, Area, Scatter and Radar chart.
// Transforms the point (category) 2 of series 1 into circle grPointType(CHART_MyChart, 1, 2, grPointCircle) // Transforms the point (category) 3 of all series into square grPointType(CHART_MyChart, 3, grPointSquare)
Syntax
Modifying the shape of point for a category (for all series) Hide the details
grPointType(<Chart name> , <Category number> , <Type>)
<Chart name>: Control name or character string Name of the chart to be used. This name corresponds to:- the chart name defined through programming with grCreate.
- the name of Chart control (found in the window editor or in the report editor).
<Category number>: Integer Index of category to modify. <Type>: Integer constant New type of point for the category:
| | grNotDrawn | Point not drawn. | grPointCircle | Point shaped like a circle. | grPointCross | Point shaped like a cross. | grPointDiamond | Point shaped like a diamond. | grPointSquare | Point shaped like a square. | grPointTriangle | Point shaped like a triangle. |
Modifying the shape of a specific point Hide the details
grPointType(<Chart name> , <Series number> , <Category number> , <Type>)
<Chart name>: Control name or character string Name of the chart to be used. This name corresponds to:- the chart name defined through programming with grCreate.
- the name of Chart control (found in the window editor or in the report editor).
<Series number>: Integer Number of the series where the type of point will be modified. <Category number>: Integer Index of category to modify. <Type>: Integer constant New type of point for the category:
| | grNotDrawn | Point not drawn. | grPointCircle | Point shaped like a circle. | grPointCross | Point shaped like a cross. | grPointDiamond | Point shaped like a diamond. | grPointSquare | Point shaped like a square. | grPointTriangle | Point shaped like a triangle. |
Remarks To change the type of all points found in a series, we recommend that you use grSeriesPointType.
This page is also available for…
|
|
|
|