PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Use conditions and limits
  • Creating and drawing a chart by programming
  • Changing destination
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 (with quotes)
Name of chart to use, defined by grCreate.
<"Parent" window>: Character string (with or without quotes)
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 (with quotes)
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 by 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 : wd250grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment