ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
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
grSaveImage (Function)
In french: grSauveImage
Saves the image of a chart in an Image variable.
Example
imgChart is Image = grSaveImage(CHART_Chart1)
Syntax
<Result> = grSaveImage(<Chart name> [, <Width> , <Height>])
<Result>: Image variable
Image variable in which the chart image has been saved.
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of the Chart control in the window or report editor.
<Width>: Optional integer
Width of the image to generate. If the <Width> and <Height> parameters are not specified, the width and height of the Chart control will be used.
<Height>: Optional integer
Height of the image to generate. If the <Width> and <Height> parameters are not specified, the width and height of the Chart control will be used.
Remarks
  • The image generated by grSaveImage corresponds to the chart displayed in the Chart control when grSaveImage is called.
  • The tooltip and crosshairs are ignored.
Business / UI classification: UI Code
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help