AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Defines the size of points in a "Scatter" chart.
Reminder: The size of a point in a "Scatter" chart is equal to 1 pixel by default.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
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).
PHP Only the interactive Chart controls are available.
<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 example presents the different uses of the Chart control.
Different types of charts are presented:
- Pie
- Sunburst
- Line
- Scatter
- Column
- Area
- etc.

The main features presented here are the possibility to customize of charts from the code, as well as to fill the chart from an HFSQL data 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: wd290grf.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/06/2023

Señalar un error o enviar una sugerencia | Ayuda local