AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the screen coordinates of a point or the screen coordinates of a value found in a chart.
This function allows you to retrieve the coordinates of a chart area in order to draw in this area with the drawing functions.
Note: This function must be used after function <Chart>.Draw (when the graph has been drawn).
Ejemplo
// Coordinates of the center of a Radar chart displayed in a Chart control
Coordinates is string
Coordinates = CHART_Radar.PointInfo(grXCoordinate, grAxisX, grMin) + "," + 
		CHART_Radar.PointInfo(grYCoordinate, grAxisY, grMin)
// Coordinates of the useful area of a chart displayed in a Chart control
Useful_Area is string
Useful_Area = CHART_Lines.PointInfo(grXCoordinate, grAxisX, grMin) + "," + ...
		CHART_Lines.PointInfo(grXCoordinate, grAxisX, grMax) + ":" + ...
		CHART_Lines.PointInfo(grYCoordinate, grAxisY, grMin) + ","+ ...
		CHART_Lines.PointInfo(grYCoordinate, grAxisY, grMax)
// Coordinates of the area included between the minimum and maximum Y-coordinate
Area is string
Area = CHART_Lines.PointInfo(grYCoordinate, 1, grMin) + "," + ...
		CHART_Lines.PointInfo(grYCoordinate, 1, grMax)
Sintaxis
<Result> = <Chart control>.PointInfo(<Type of axis> , <Series number> , <Category number>)
<Result>: Integro
Coordinates of the specified point (in pixels) according to the specified axis. The coordinates are specified in relation to the chart (and not in relation to the screen).
<Chart control>: Nombre del control
Name of the Chart control to use (in the window or page editor).
<Type of axis>: Constante de tipo Integer
Type of the axis taken into account when calculating the coordinates:
grXCoordinate
(Default value)
The coordinate is calculated on the X-axis.
grYCoordinateThe coordinate is calculated on the Y-axis.
<Series number>: Integro
  • Number of the affected series.
  • Constant used to determine the coordinates of the point corresponding to the axis terminals:
    grAxisXCoordinates of bounds on the X-axis.
    grAxisYCoordinates of bounds on the Y-axis.
<Category number>: Integro
  • Number of the affected category.
  • Constant used to determine the coordinates of the point corresponding to the axis terminals:
    grMaxCoordinates of upper bound.
    grMinCoordinates of lower bound.
Clasificación Lógica de negocio / UI: Código neutro
Componente: wd300grf.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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