WebFOCUS Online Help > Creating Charts With Graph Tools > Customizing Graphs With the Graph Editor > Applying Texture Fill (All Graph Types)
How to: |
You can apply a texture pattern to any object or text in a graph.
The selections in the associated dialog box add the following methods to the code that defines this chart:
setFillType (getSeries (#), 3 ); setTextureDisplayMode(getSeries(#),0); setTextureURL( getSeries(#), "file:/drive:/directory/FileName.GIF");
setTextureDisplayMode(getSeries(#),0);
setTextureURL( getSeries(#), "file:/drive:/directory/FileName.GIF");
The following methods assign the Hard_Rock_Green.GIF texture file to series one in the chart:
setFillType (getSeries (1), 3 );
setTextureDisplayMode(getSeries(1),0);
setTextureURL(getSeries(1),"file:/C:/3dg/Editor/tiles/
Hard_Rock_Green.GIF");
WebFOCUS |