PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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
// Définition d'une fenêtre de titre "Achats" comme destination du graphe "MonGraphe"
grDestinationWnd("MonGraphe", "", "Achats")
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: wd270grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment