PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Size of a point
  • Points in the "Scatter" charts
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
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.
Example
// Increase the size of points in "CHART_MyChart".
// This chart is a "Scatter" chart.
CHART_MyChart.ScatterPointSize(3)
Syntax
<Chart control>.ScatterPointSize(<Size>)
<Chart control>: Control name
Name of the Chart control used (found in the window editor, page editor or report editor).
<Size>: Integer
Size of a point (in pixels).
Remarks

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 <Chart>.ScatterPointSize will be taken into account during the next call to <Chart>.Draw.
  • <Chart>.ScatterPointSize 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 educational example present 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

The main features presented in this example are the ability to customize the charts by programming as well as the method used to fill a chart from a 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 23
This page is also available for…
Comments
Click [Add] to post a comment