Textures and Gradients

You can use these properties and methods to apply textures and gradients to graph objects. To use a gradient or texture, the setFillType() method must select a gradient (setFillType(2);) or texture (setFillType(3);).

Example:

The following code shows how you can use the setFillType() and texture methods to assign a texture to series one in a graph.

setFillType(getSeries(1), 3 );
setTextureDisplayMode(getSeries(1), 0 );
setTextureURL(getSeries(1), "Hard_Rock_Green.gif" );

WebFOCUS