Some settings in the editor menu are available for all chart types, some are only applicable for specific charts. This chapter describes the settings that are available for all chart types. They are: |
||
n |
||
n |
||
n |
||
n |
||
n |
||
n |
||
n |
||
See Chapter 4 for settings that are applicable to specific chart types. |
Select the Graph Type option from the menu to change the general format of the graph: |
||
|
||
Select the tabs in the Graph Type dialog to see the available graph types in each of these categories: |
||
|
3D charts |
|
|
Bar charts |
|
|
Line charts |
|
|
Area charts |
|
|
Pie charts |
|
|
Scatter charts |
|
|
Stock Charts |
|
|
Special (Polar, Radar, Histogram) charts |
|
This dialog is displayed when the 3D tab is selected in Graph Types Settings. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
3D Bars (GraphType=0): Standard 3D chart. Display a bar for each value in the data set. |
||
3D Pyramid (GraphType=1): Pyramids are a good type for showing volume information, like an amount of some item. |
||
3D Octagon (GraphType=2): Octagons drawn in 3D. |
||
3D Floating Cubes (GraphType=4): Excellent 3D type for data values that are close to each other. You can see under and around the cubes. |
||
3D Floating Pyramids (GraphType=5): Pretty, diamond-like pyramids floating in air trace out your data points. |
||
3D Connected Series Area (GraphType=6): Good for showing trend information along the series dimension. |
||
3D Connected Series Ribbon (GraphType=7): Good for showing trend information along the series dimension. |
||
3D Connected Group Area (GraphType=9): Good for showing trend information along the group dimension. |
||
3D Connected Group Ribbon (GraphType=10): Good for showing trend information along the group dimension. |
||
3D Surface (GraphType=12): Graphs all data points as a 3D surface, like a rolling wave. |
||
3D Surface with Sides (GraphType=13): Graph all data points as a 3D surface, with solid sides. |
||
3D Honeycomb Surface (GraphType=14): Graphs all data points as a 3D surface using a "honeycomb" effect. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
( value ); | ||
Where: value = a number in the range 0-7, 9-10, 12-14 |
|
This dialog is displayed when the Bar tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
Vertical Clustered Bars (GraphType=17): Side by side groups of bars. The standard type of two-dimensional bar chart. |
||
Vertical Stacked Bars (GraphType=18): Stacked groups of bars. Each stack is comprised of all series in this group, added up to get a total. The axis is the total value of the cumulative points. |
||
Vertical Dual-Axis Clustered Bars (GraphType=19): Also called a Dual-Y chart. Any series can be assigned to either of the two axes. |
||
Vertical Dual-Axis Stacked Bars (GraphType=20): Also called a Dual-Y stacked chart. Separate stacks will be created for the data on each of the two axes. |
||
Vertical Bi-Polar Clustered Bars (GraphType=21): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Bi-Polar Stacked Bars (GraphType=22): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Percent Bars (GraphType=23): A bar version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
Horizontal Clustered Bars (GraphType=24): Side by side groups of bars. The standard type of two-dimensional bar chart. |
||
Horizontal Stacked Bars (GraphType=25): Stacked groups of bars. Each stack is comprised of all series in this group, added up to get a total. The axis is the total value of the cumulative points. |
||
Horizontal Dual-Axis Clustered Bars (GraphType=26): Also called a Dual-Y chart. Any series can be assigned to either of the two axes. |
||
Horizontal Dual-Axis Stacked Bars (GraphType=27): Also called a Dual-Y stacked chart. Separate stacks will be created for the data on each of the two axes. |
||
Horizontal Bi-Polar Clustered Bars (GraphType=28): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Bi-Polar Stacked Bars (GraphType=29): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Percent Bars (GraphType=30): A bar version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
( value ); | ||
Where: value = a number in the range 17-30 |
|
This dialog is displayed when the Line tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
Vertical Absolute Line (GraphType=41): Lines draw on top and under each other to show the absolute relationships between data series. |
||
Vertical Stacked Line (GraphType=42): Lines stack on top of each other. The axis is the cumulative total of all the groups. |
||
Vertical Dual-Axis Absolute Line (GraphType=43): Also called a Dual-Y line chart. Any series can be assigned to either of the two axes. |
||
Vertical Dual-Axis Stacked Line (GraphType=44): Also called a Dual-Y stacked line chart. Separate stacks will be created for the data on each of the two axes. |
||
Vertical Bi-Polar Absolute Line (GraphType=45): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Bi-Polar Stacked Line (GraphType=46): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Percent Line (GraphType=47): A line version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
Horizontal Absolute Line (GraphType=48): Lines draw on top and under each other to show the absolute relationships between data series. |
||
Horizontal Stacked Line (GraphType=49): Lines stack on top of each other. The axis is the cumulative total of all the groups. |
||
Horizontal Dual-Axis Absolute Line (GraphType=50): Also called a Dual-Y line chart. Any series can be assigned to either of the two axes. |
||
Horizontal Dual-Axis Stacked Line (GraphType=51): Also called a Dual-Y stacked line chart. Separate stacks will be created for the data on each of the two axes. |
||
Horizontal Bi-Polar Absolute Line (GraphType=52): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Bi-Polar Stacked Line (GraphType=53): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Percent Line (GraphType=54): A line version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
( value ); | ||
Where: value = a number in the range 41-54 |
|
This dialog is displayed when the Area tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
Vertical Absolute Area (GraphType=31): Areas draw on top of each other to show the absolute relationships between data series. Use when some data "pokes up" behind other. |
||
Vertical Stacked Area (GraphType=32): Areas stack on top of each other. The axis is the cumulative total of all the groups. |
||
Vertical Bi-Polar Absolute Area (GraphType=33): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Bi-Polar Stacked Area (GraphType=34): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Vertical Percent Area (GraphType=35): An area version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
Horizontal Absolute Area (GraphType=36): Areas draw on top of each other to show the absolute relationships between data series. Use when some data "pokes up" behind other. |
||
Horizontal Stacked Area (GraphType=37): Areas stack on top of each other. The axis is the cumulative total of all the groups. |
||
Horizontal Bi-Polar Absolute Area (GraphType=38): A Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Bi-Polar Stacked Area (GraphType=39): A Stacked Dual-Y chart with the two axes physically split into separate sections, so that each can be seen independently of the other. |
||
Horizontal Percent Area (GraphType=40): An area version of a pie chart. Each group calculates the percent of the total required for each series. The axis goes from 0 to 100%. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
( value ); | ||
Where: value = a number in the range 31-40 |
|
This dialog is displayed when the Pie tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
Pie (GraphType=55): The most widely used chart for displaying percentages of a total. |
||
Ring Pie (GraphType=56): A ring variant of a pie chart. The total of all slices is placed in the center. Very popular in Asian countries. |
||
Multi Pie (GraphType=57): A separate pie is drawn for each group in the data set. A pie variation on Percent Bars. |
||
Multi Ring Pie (GraphType=58): A separate ring pie is drawn for each group in the data set. |
||
Multi Proportional Pie (GraphType=59): Each pie is sized in proportion to its total across the entire data set. |
||
Multi Proportional Ring Pie (GraphType=60): Each ring pie is sized in proportion to its total across the entire data set. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
setGraphType( value ); |
||
Where: value = a number in the range 55-60 |
|
This dialog is displayed when the Scatter tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
XY Scatter (GraphType=61): TWO values per marker, X and Y, in that order. A standard X-Y plot. |
||
XY Scatter Dual-Axis (GraphType=62): Dual-Y scatter chart. TWO values per marker, X and Y, in that order. |
||
XY Scatter with Labels (GraphType=63): THREE values per maker, X, Y and text label, in that order. Each XY point is discreetly labeled. |
||
XY Scatter with Labels Dual-Axis (GraphType=64): A Dual-Y scatter chart with labeled markers. Requires THREE values per marker, X, Y, and text label, in that order. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
setGraphType( value ); |
||
Where: value = a number in the range 61-64 |
|
This dialog is displayed when the Stock tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
Stock Hi-Lo (GraphType=73): Requires TWO values per maker: High and Low, in that order. A standard financial equity chart. |
||
Stock Hi-Lo Dual-Axis (GraphType=74): Dual-Y HiLo chart. TWO values per marker: High and Low. |
||
Stock Hi-Lo Bi-Polar (GraphType=75): Dual-Y chart with the axis split into separate sections. TWO values per marker: High and Low. |
||
Stock Hi-Lo Close (GraphType=76): THREE values per marker: High, Low and Close, in that order. A standard financial equity chart. |
||
Stock Hi-Lo Close Dual-Axis (GraphType=77): Dual-Y version of HiLoClose chart. Requires THREE values per marker: High, Low, and Close. |
||
Stock Hi-Lo Close Bi-Polar (GraphType=78): Dual-Y chart with the axis split into separate sections. THREE values per marker: High, Low, and Close. |
||
Stock Hi-Lo Open-Close (GraphType=79): FOUR values per marker: Open, High, Low, and Close. A standard financial equity chart. |
||
Stock Hi-Lo Open-Close Dual-Axis (GraphType=80): Dual-Y version of OpenHiLoClose chart. FOUR values per marker: Open, High, Low, and Close. A standard financial equity chart. |
||
Stock Hi-Lo Open-Close Bi-Polar (GraphType=81): Dual-Y chart with two axes split into separate sections. FOUR values per marker: Open, High, Low, and Close. |
||
Stock Hi-Lo with Volume (GraphType=82): Display stock performance along with volume. Requires THREE values per marker: High, Low and Volume. |
||
Stock Hi-Lo Close with Volume (GraphType=88): Display stock performance along with volume. Requires FOUR values per marker: High, Low, Close, and Volume. |
||
Stock Hi-Lo Open-Close with Volume (GraphType=83): Display stock performance along with volume. Requires FIVE values per marker: Open, High, Low, Close, and Volume. |
||
Open-Hi-Lo-Close Candle Stock Chart (GraphType=70): Requires FOUR values per marker: Open, High, Low, and Close, in that order. |
||
Open-Hi-Lo-Close Candle Stock Chart with Volume (GraphType=71): Requires FIVE values per marker: Open, High, Low, Close and Volume. |
||
Candle Stock Open-Close Chart (GraphType=72): TWO values per marker: Open and Close. A "candle" financial equity chart. |
||
Candle Stock Open-Close Chart with Volume (GraphType=84): THREE values per marker: Open, Close, and Volume. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
setGraphType( value ); | ||
Where: value = a number in the range 70-84 |
|
This dialog is displayed when the Special tab is selected in Graph Types. When you move the mouse pointer over a chart in the list, the message area at the bottom of the dialog describes the chart. Click on the graph type you want to assign to the chart in the main window. The chart is automatically updated to reflect the selected graph type. The contents of the menu will also be changed to reflect options that are available for each chart type. |
|
From left-to-right and top-to-bottom, selections in this dialog include the following: |
||
XY Polar (GraphType=65): A polar coordinate scatter chart. Requires TWO values per marker in the following order: X (degree) and Y (distance from the center). |
||
XY Polar Dual-Axis (GraphType=66): A Dual-Y polar coordinate scatter chart. Requires TWO values per marker in the following order: X (degree) and Y (distance from the center). |
||
Radar Line (GraphType=67): A circular line chart. Excellent for cyclical data, such as hourly or monthly figures. |
||
Radar Area (GraphType=68): A circular area chart. Excellent for comparisons or cyclical data sets. |
||
Radar Line Dual-Axis (GraphType=69): A Dual-Y variation on Radar Line. Excellent for two sets of cyclical data. |
||
Vertical Histogram (GraphType=85): Standard histogram. Groups all of the data together and assigns it to "buckets" based on value. There are no series or groups in this chart type. |
||
Horizontal Histogram (GraphType=86): Groups all of the data together and assigns it to 'buckets' based on value. There are no series or groups in this chart type. |
||
A selection in this dialog will add the GraphType property to the code that describes the chart: |
||
setGraphType ( value ); | ||
Where: value = a number in the range 65-69, 85-86 |
The color and line settings option is used to change the color of objects in the chart: |
||
|
||
The Color and Line Setting dialog includes different tabs depending on the object in the chart that is selected. |
||
If an object with an interior is selected (i.e., riser or chart frame), these tabs are displayed: |
||
|
Select the fill color of objects |
|
|
Select the line color of objects |
|
When a line object is selected in a chart and you can change the width of the line, the color grid dialog includes these tabs: |
||
|
Select the line color of objects |
|
|
Line Width |
|
This dialog is displayed when the Color and Line Settings option is selected from the menu. Select an object in the chart and select a color from the grid to change the color of any object in the chart. If a line object is selected, the following method is added to the code that describes this graph: |
|
setBorderColor (aGetObjectIDMethod(),new Color(value,value,value)); |
||
If an object with an interior is selected, the following method is added to the code that describes this graph: |
||
setFillColor (aGetObjectIDMethod(),new Color(value,value,value)); |
||
Example: setFillColor ( getCubeFloor(),new Color(192,192,192)); |
ý NOTE: |
Note that aGetObjectIDMethod() is not a Perspective for Java method. It is a notation convention used in this document to indicate one of the Perspective for Java methods that returns an object ID. The Editor chooses the appropriate method based on the object that is selected in the chart. For example, the getO1Label() method is used if the O1 Axis Label is selected in the chart. |
|
This dialog is displayed when a line object is selected in the chart and the Line Width tab is selected in Color and Line Settings. Use the Line Width slider bar to specify the width of a line object. A value of zero selects a line width of one pixel. Values greater than zero specify the relative width of the line in pixels depending on the applet size. |
|
Select the Apply button to assign the width to the line. This selection will add a setLineWidth() method to the code that describes this graph: |
||
setLineWidth (aGetObjectIDMethod(),value); |
||
Example: setLineWidth( getY1ZeroLine(), 2 ); |
ý NOTE: |
Note that aGetObjectIDMethod() is not a Perspective for Java method. It is a notation convention used in this document to indicate one of the Perspective for Java methods that returns an object ID. The Editor chooses the appropriate method based on the object that is selected in the chart. For example, the getO1Label() method is used if the O1 Axis Label is selected in the chart. |
The Font Settings menu is used to select a font name, size, and format of text objects and to enable/disable text autofitting: |
|||
|
|||
This dialog is displayed when the Font Settings options is selected from the menu: |
|||
|
|||
n |
Select a text object in the graph (Chart Title, Subtitle, Footnote, Axis Labels, Legend Text, etc.) |
||
n |
Select items in the Font Settings dialog to change the format of the selected text object. |
||
The drop-down list boxes in this dialog can be used to select a font name and size. The Wrap check box enables/disables wrapping of the selected text object. When this box is not checked, the selected text object must be displayed on one line. When this box is checked (þ ), the text can be displayed on multiple lines. |
|||
|
Toggle autofitting of the text object. |
||
|
Toggle Bold, Italic, Underline, and Shadow |
||
|
Left, Center or Right Justify text |
||
|
Display text object horizontally |
||
|
Rotate text object left, counter-clockwise 90 degrees |
||
|
Rotate text object right, clockwise 90 degrees |
||
The font selections in this dialog add the following properties and methods to the code that defines this chart: |
|||
Editor Field |
Property/Method |
||
Font Name |
setFontName ( aGetObjectIDMethod(), true | false ); |
||
|
setAutofit ( aGetObjectIDMethod(), true | false ); |
||
Font Size |
setFontSizeVC ( aGetObjectIDMethod(), value ); |
||
Wrap |
setTextWrap ( aGetObjectIDMethod(), true | false ); |
||
|
setFontStyle ( aGetObjectIDMethod(), value ); |
||
|
setShadowDisplay ( aGetObjectIDMethod(), true | false ); |
||
|
setTextJustHoriz ( aGetObjectIDMethod(), value ); |
||
|
setTextRotation ( aGetObjectIDMethod(), value ); |
ý NOTE: |
Note that aGetObjectIDMethod() is not a Perspective for Java method. It is a notation convention used in this document to indicate one of the Perspective for Java methods that returns an object ID. The Editor chooses the appropriate method based on the object that is selected in the chart. For example, the getO1Label() method is used if the O1 Axis Label is selected in the chart. |
This menu option is used to define chart titles: |
|||
|
|||
When the Chart Titles option is selected from the menu, a menu is displayed in the following format: |
|||
|
|||
This dialog is used to define chart title, subtitle, footnote, and axis title strings. The number of axis titles (O1, O2, X1, Y2, and Y2) will be different depending on the Graph Type. |
|||
n |
Enter a title string in each field where you want to define title text and select the Apply button to display title strings in the chart. |
||
n |
Delete title strings in each field where you do not want titles displayed and select the Apply button to clear text in the chart. |
||
The selections in this dialog add the following methods to the code that defines this chart: |
|||
Editor Field |
Method |
||
Chart Title |
setTextString (getTitle(),"Title String"); |
||
Chart Subtitle |
setTextString (getSubtitle(),"Subtitle String "); |
||
Chart Footnote |
setTextString (getFootnote (),"Footnote String "); |
||
Y1 Axis Title |
setTextString (getY1AxisTitle(),"Y1 Axis Title"); |
||
Y2 Axis Title |
setTextString (getY2AxisTitle(),"Y2 Axis Title"); |
||
O1 Axis Title |
setTextString (getO1AxisTitle(),"O1 Axis Title"); |
||
O2 Axis Title (where applicable) |
setTextString (getO2AxisTitle(),"O2 Axis Title"); |
||
X1 Axis Title (where applicable) |
setTextString (getX1AxisTitle(),"X1 Axis Title"); |
||
ý NOTE : |
If the default display attribute of a chart title is false, the setDisplay() method will also be added to the code to enable the display of the defined title. Example: setDisplay(getO2Title(),true); If you clear a title string, the setDisplay method will be added to the code to disable display of the cleared text object. Example: setDisplay(getO2Title(), false); |
This menu option is used to load and save GIF images to or from an FTP site: |
|||
|
|||
When the Create GIF, Load and Save option is selected from the menu, a menu is displayed in the following format: |
|||
|
|||
n |
Use the horizontal tabs at the top of this menu to select: 1) Save Chart Image as GIF to File, 2) Save Chart as Text to File, or 3) Load Chart Text from File. |
||
n |
Specify the location (FTP Host, User ID, Password, Directory, and File Name) from which a text file is to be loaded or where you want to save the currently display chart as a GIF or text file. |
||
n |
Select the "Save..." or "Load..." button at the bottom of the menu to save the chart as a text file or load the text file or .GIF image. |
||
The selections in this dialog add the following methods to the code that defines this chart: |
|||
Editor Field |
Method |
||
Save Chart Image as GIF to File |
sendGIFToFTP ( FTP Host, User ID, Password, Directory, File Name ); |
||
Save Chart as Text To File |
sendChartToFTP ( FTP Host, User ID, Password, Directory, File Name ); |
||
Load Chart Text From File |
getChartFromFTP ( FTP Host, User ID, Password, Directory, File Name ); |
This menu item is used to apply a gradient to an area object in a chart: |
||
|
||
When the Apply Gradient Fill option is selected from the menu, a menu is displayed in the following format: |
||
|
||
n |
Select a gradient fill pattern (e.g., Blue to Black, Blue Tube, Red Tube) and direction (Right, Left, Down, Up, etc.). |
|
n |
Select an object in the chart. |
|
n |
Select the "Apply Gradient" button to apply the gradient fill to the object in the graph. Gradients can be applied to any filled object (not lines) in the chart (including text objects). |
|
The selections in this dialog add the following properties and methods to the code that defines this chart: |
||
setFillType (aGetObjectIDMethod (), 2); | ||
setGradientDirection (aGetObjectIDMethod (), value); | ||
setGradientNumPins (aGetObjectIDMethod (), value); | ||
setGradientPinLeftColor (aGetObjectIDMethod (),new Color(value,value,value), value); | ||
setGradientPinPosition (aGetObjectIDMethod (),value,value); | ||
setGradientPinRightColor (aGetObjectIDMethod (),new Color(value,value,value),value); | ||
As an example, the following methods select the background object in the chart and assign the "Sunset" gradient to the object in the Radial, Center, Top direction: |
setFillType(getBackgrnd(),2); |
|
setGradientDirection(getBackgrnd(),10); |
|
setGradientNumPins(getBackgrnd(),2); |
|
setGradientPinLeftColor(getBackgrnd(),new Color(255,0,0),1); |
|
setGradientPinLeftColor(getBackgrnd(),new Color(0,0,255),0); |
|
setGradientPinPosition(getBackgrnd(),1.0,1); |
|
setGradientPinPosition(getBackgrnd(),0.0,0); |
|
setGradientPinRightColor(getBackgrnd(),new Color(255,0,0),1); |
|
setGradientPinRightColor(getBackgrnd(),new Color(0,0,255),0); |
This menu item is used to apply a texture to an area object in a chart: |
||
|
||
When the Apply Texture Fill option is selected from the menu, a menu is displayed in the following format: |
||
|
||
n |
Select a texture fill pattern. |
|
n |
Select an object in the chart. |
|
n |
Select the "Apply Texture" button to apply the texture to the object in the graph. Textures can be applied to any object in the chart (including text objects). |
|
The selections in this dialog add the following methods to the code that defines this chart: |
setFillType(getSeries(#),3); |
|
setTextureDisplayMode(getSeries(#),0); |
|
setTextureURL( getSeries(#), "file:/drive:/directory/FileName.GIF"); |
|
As an example, 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"); |