AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
  • Taking the orientation into account
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
Modifies the orientation of chart axes.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Reverses the X-axis and the Y-axis
// Chart control
CHART_MyChart.Orientation(grYCoordinate, grAtLeft, grAtBottom)
Syntax
<Chart control>.Orientation([<First axis> [, <Orientation of horizontal axis> [, <Orientation of vertical axis>]]])
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
<First axis>: Optional constant
Type of coordinates to display on the horizontal axis:
grXCoordinate
(default value)
X-coordinates are displayed on the horizontal axis.
grYCoordinateY-coordinates are displayed on the vertical axis.
<Orientation of horizontal axis>: Optional constant
Orientation of the horizontal axis:
grAtLeftThe horizontal axis is oriented to the left (the negative values are on the right and the positive values are on the left).
grAtRight
(default value)
The horizontal axis is oriented to the right (the negative values are on the left and the positive values are on the right).
<Orientation of vertical axis>: Optional constant
Orientation of vertical axis:
grAtBottomThe vertical axis is oriented to the bottom (the negative values are at the top and positive values are at the bottom).
grAtTop
(default value)
The vertical axis is oriented to the top (the negative values are at the bottom and positive values are at the top).
Remarks

Taking the orientation into account

The change of orientation is taken into account during the next call to <Chart>.Draw.
Component: wd290grf.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

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