AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
  • Use conditions and limits
  • Creating and drawing a chart through programming
  • Changing destination
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 a window as chart destination. During the next call to grDraw, the chart will be drawn in an independent window.
Example
// Define a window whose title is "Purchases" as destination of "MyChart"
grDestinationWnd("MyChart", "", "Purchase")
Syntax
grDestinationWnd(<Chart name> , <"Parent" window> , <Window title>)
<Chart name>: Character string
Name of chart to use, defined by grCreate.
<"Parent" window>: Character string
Name of "parent" window of chart window. If this parameter corresponds to an empty string (""), the chart window will be placed in front of the current window.
<Window title>: Character string
Title of new window where the chart will be drawn during the call to grDraw.
Remarks

Use conditions and limits

  • The chart is drawn in an independent window. This window will be opened (during the call to grDraw) in front of the current window. The position of this window can be defined by grWndSize.
  • This function cannot be used with the Chart controls.
  • This function cannot be used in the report editor.

Creating and drawing a chart through programming

To draw a chart:
During the next call to grDraw, the chart will be drawn in an independent window.

Changing destination

If the chart was previously displayed in a control, this chart will be erased from the control during the next call to grDraw.
Component: wd290grf.dll
Versión mínima requerida
  • Versión 9
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