Home | Sign in | English UK

  • Size of a point
  • Points in the "Scatter" charts
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Defines the size of points found in a "Scatter" chart.
Reminder: The size of a point in a "Scatter" chart is equal to 1 pixel by default.
// Increase the size of points in "MyChart".
// This chart is a "Scatter" chart.
grScatterPointSize(CHART_MyChart, 3)
grScatterPointSize(<Chart name> , <Size>)
<Chart name>: Character string (with or without quotes)
Name of 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, page editor or report editor.
<Size>: Integer
Size of a point (in pixels).

Size of a point

The displayed point is a square whose size of side is calculated via the following formula: (<Size>*2)-1 pixels.
Point size

Points in the "Scatter" charts

  • In the "Scatter" charts, a point is defined by its coordinates (X coordinate and Y coordinate).
  • The data defined by grScatterPointSize will be taken into account during the next call to grDraw.
  • grScatterPointSize can only be used for the "Scatter" charts. This function has no effect with the other types of charts.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This example shows the different uses of the chart control.
The following charts are presented:
- Semi-circular
- Donut
- Pie
- Sunburst
- Line
- Scatter
- 3D Scatter
- Column
- Area
- Bubble
- Radar
- Funnel
- Surface
- Waterfall
- Composite
- Comparative

The main features presented in this example are the customization of charts by programming, as well as the method used to fill a chart from an HFSQL file or in the editor.
The Chart functions Unit examples (WINDEV): The Chart functions
[ + ] Using the main chart designer features of WINDEV:
- Create a Pie, Column or Line chart
- Define the display area of a chart
- Define the chart options (legend, percentage, ...)
- Draw a line on a chart
Component : wd250grf.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment