ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
  • 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: wd300grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help