ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
  • Image file
  • Inclusion
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 the size of the image containing the chart.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Define the size of the image containing "MyChart"
grImageSize("MyChart", 10, 10, 100, 150)
Syntax
grImageSize(<Chart name> , <x1> , <y1> , <x2> , <y2>)
<Chart name>: Character string
Name of chart to use, defined by grCreate.
<x1>: Real
X coordinate (in pixels) of the top left corner of the image.
<y1>: Real
Y coordinate (in pixels) of the top left corner of the image.
<x2>: Real
X coordinate (in pixels) of the bottom right corner of the image.
<y2>: Real
Y-coordinate (in pixels) of the lower-right corner of the image.
Remarks

Image file

If the destination of the chart corresponds to a BMP, EMF or WMF file, grImageSize initializes the dimensions of the chart image to save it.

Inclusion

The parameters defined by grImageSize will be taken into account during the next call to grDraw.
Component: wd290grf.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help