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
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
grDestinationImage (Function)
In french: grDestinationImage
Defines an Image variable as destination of a chart.
Example
MonImage is Image
MonImage.Width = 100
MonImage.Height = 100
grCreate("MonGraphe", grPie)
 
// Définit la destination du dessin du graphe
grDestinationImage("MonGraphe", MonImage)
// Ajoute les données
grAddData("MonGraphe", 1, 10)
...
// Dessine le graphe
grDraw("MonGraphe")
Syntax
grDestinationImage(<Chart name> , <Name of Image variable>)
<Chart name>: Character string
Name of chart to use, defined by grCreate.
<Name of Image variable>: Image variable
Name of the Image variable where the chart will be drawn.
Remarks

Use conditions and limits

  • The chart will be drawn in the specified Image variable. The chart will be drawn on a white background. The previous drawing found in the Image variable will be erased.
  • This function cannot be used with the Chart controls.

Creating and drawing a chart through programming

To draw a chart:
Component: wd270grf.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment