|
|
|
|
|
- Use conditions and limits
- Creating and drawing a chart programmatically
grDestinationImage (Function) In french: grDestinationImage Defines an Image variable as destination of a chart. MyImage is Image MyImage.Width = 100 MyImage.Height = 100 grCreate("MyChart", grPie) // Defines the destination of the chart drawing grDestinationImage("MyChart", MyImage) // Adds the data grAddData("MyChart", 1, 10) ... // Draws the chart grDraw("MyChart")
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 contained in the Image variable will be deleted.
- This function cannot be used with the Chart controls.
Creating and drawing a chart programmatically To draw a chart:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|