PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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.
Example
// Define a window whose title is "Purchases" as destination of "MyChart"
grDestinationWnd("MyChart", "", "Purchase")
Syntax
grDestinationWnd(<Chart Name> , <Window Name> , <Window Title>)
<Chart Name>: Character string (with quotes)
Name of chart to use, defined by grCreate.
<Window Name>: 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 the <Window Name> 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.
Components
WINDEVReports and Queries wd230grf.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment