Fill Properties

Fill properties can be changed for selected objects. To edit the fill properties, click on the object in the Object Manager or plot window. The properties are listed in the Property Manager on the Fill tab.

 

The Fill page in the Property Manager contains properties for all fills in the object. For example, a 3D ribbon/wall plot Fill page will include a Ribbon Fill Properties section for the ribbon fill, an Error Bar Fill Properties section for the error bar fill, and a Wall Fill Properties section for the wall fill.

 

The fill properties are set in the Property Manager on the Fill tab.

 

Sample

The sample shown next to the Fill Properties line shows the selected pattern, foreground color, and background color.

 

Pattern

The Pattern indicates the way that an object is filled. To change the Pattern, click on the existing pattern sample next to Pattern. In the list, select a new pattern from the fill palette. There are two types of fill patterns: Windows stock and bitmap images. Stock patterns and some bitmap patterns can have different foreground and background colors. All patterns can have the foreground or background color partially transparent.

 

Bitmap patterns can be scaled. Bitmap patterns are not available for contour maps, or surface maps. Click the to the right of the Pattern to import an image to use as a bitmap fill. For bar charts, you may wish to use the Image bar Bar style rather than a bitmap fill.

 

Foreground Color

The Foreground color is the color of the pattern lines or pixels. Click the existing color sample next to Foreground color to open the color palette. Click on a color in the palette to use it for the selected foreground fill color. Click the button to the right of the color sample to open the Colors dialog, setting a custom color.

 

Foreground Opacity

The Foreground opacity controls the transparency of the foreground portion of the pattern. To change the ForegroundOpacity, highlight the existing value and type a new value. Press ENTER on the keyboard to make the change. Alternatively, click and drag the to change the opacity percentage. Opacity values are between 0% (zero opacity, full transparency) to 100% (full opacity, zero transparency).

 

Background Color

The Background color is the color behind the pattern. All patterns must have a background color. If you do not wish to see the background color, change the Background opacity to 0%. Click the existing color sample next to Background color to open the color palette. Click on a color in the palette to use it for the selected foreground fill color. Click the button to the right of the color sample to open the Colors dialog, setting a custom color.

 

Background Opacity

The Background opacity controls the transparency of the background portion of the pattern. To change the Background opacity, highlight the existing value and type a new value. Press ENTER on the keyboard to make the change. Alternatively, click and drag the to change the opacity percentage. Opacity values are between 0% (zero opacity, full transparency) to 100% (full opacity, zero transparency).

 

To make a fill pattern appear transparent with only the foreground portion of the fill pattern showing, change the Background opacityvalue to 0%.

 

Stretch

Check the Stretch option to stretch image fills to completely fill the geometry. If Stretch is not selected, the image will be repeated to fill the geometry.

 

Scale

TheScalecontrols the density of the bitmap fillPattern. Clear the box next to the Stretch option and set the Scale factor to a value between 0.1 and 10. The larger the Scale, the larger the resulting pattern.

 

Direction

You can fill the plot in one of four directions by selecting one of the following from the Direction list. Down fills the area under the curve to the minimum Y Cutoff value. Up fills the area above the curve to the maximum Y Cutoff value. Left fills the area to the left of the curve to the minimum X Cutoff value. Right fills the area to the right of the curve to the maximum X Cutoff value.

 

When a Between Fill plots is used, the Direction options allow you to specify Horizontal or Vertical.

 

Cutoff

The Cutoff value controls the limits of the fill. To set the Cutoff value, highlight the existing value and type a new value. Press ENTER on the keyboard to make the change. To return the Cutoffto the default value, click the wordCustomand it will return toAuto. When theCutoffis set toAuto, the value is the minimum or maximum axis value.

 

For example, if Up is the selected Direction and the Cutoffis set toAuto, the fill will go to the Y axis maximum value. If 20 is entered as the Cutoff, the fill is above the curve to the Y Axis value of 20. Any area above the curve that is greater than the Y Axis value of 20 is not filled.

 

Gradient

The Gradient section sets the fill pattern to a gradient fill.

 

Gradient Type

The Type controls whether a gradient fill pattern is used to fill the selected area. To change the Type, click on the current type and select the new type in the list. Select None, Linear, or Radial for the Type. When the Type is set to None, the gradient fill options are disabled. The fill is determined by the Pattern, Foreground, and Background options. When the Type is set to Linear, a linear color gradient fills the area. The colors change in a linear manner from the top to the bottom or from the left to the right of the area. When the Type is set to Radial, a radial color gradient fills the area. The colors change in concentric circles, either expanding from the interior and going out or from the exterior and going in. Some 3D objects, such as 3D bar charts, do not support Radial gradient fill.

 

This example has Type set to None.

This example has Type set to Linear.

This example has Type set to Radial.

 

Colormap

The Colormap option fills the graph components with a color gradient. Click the existing color gradient and select the desired predefined gradient from the list. Click the button to the right of the color gradient to open the Color Gradient dialog. This option is disabled if the Type is set to None.

 

Fill Orientation

The Fill orientation option sets the direction the gradient fills. When the Type is set to Linear, choose either Vertical or Horizontal for the Fill orientation. The Vertical option sets the gradient to change along the Y axis. The Horizontal option sets the gradient to change along the X axis. When Radial is selected as the Type, the Fill orientation options are Inward and Outward. This reverses the color direction. The Fill orientation option is not available when the Type is set to None.

 

The color gradient can be mapped to plot values when the Fill orientation is set to Linear. However the Data to Color Mapping section of the Color Gradient dialog is not available when the Fill orientation is set to Radial.

 

Use Plot Line Color for Ribbon Fill

For 3D XYY ribbon/wall plots, when the Line Color column is specified, the Use plot line color for ribbon fill option is available. The ribbon uses the same color as the Color column when the Use plot line color for ribbon fill option is checked.

 

The ribbon segments are filled with the same color as the line segments.

 

Spread Across Plot

The Spread across plot option is only available for 2D and 3D XYY bar charts, floating bar charts, and histogram plots. When this option is checked, the gradient fills across the entire plot rather than on a bar basis for histograms, bar charts, and floating bar charts. The spindle and diamond bar types do not support this feature in 3D charts.

 

This example has Spread across plot option checked with Horizontal as the Fill orientation.

This example has Spread across plot option cleared with Horizontal as the Fill orientation. Each bar is individually filled with the gradient.

 

 

This example has Spread across plot option checked with Vertical as the Fill orientation.

This example has Spread across plot option cleared with Vertical as the Fill orientation. The bars are individually filled with the gradient.

 

Filling Bar Charts with Color Column

The Color column option is available to 2D bar charts, floating bar charts, histograms, polar bar charts, box-whisker plots, bubble plots, 3D XYY bar charts, floating bar charts, histograms, 3D XYZ bar charts, and floating bar charts. The Color column option allows you to select colors from a specific column in the worksheet to use as the Foreground color. Each bar is colored from the designated worksheet column. If a worksheet row does not have a color specified, the Foreground color is used for that bar.

 

Colors can be specified in the worksheet by many different methods.

 

Method

Example

<color>

Red

<color>:<a>

Red:255

RGB(<r>,<g>,<b>)

RGB(255,0,0)

\COLOR(<r>,<g>,<b>,<a>)

\COLOR(255,0,0,255)

R<r> G<g> B<b>

R255 G0 B0

R<r> G<g> B<b> A<a>

R255 G0 B0 A255

\RGBR<r> \RGBG<g> \RGBB<b>

\RGBR255 \RGBG0 \RGBB0

 

where <r>, <g>, <b>, and <a> are red, green, blue, and alpha values between 0 - 255 and <color> is a color name as it appears in the color palette.

 

Filling Bar Charts with Color Table

Check the box next to Use color table to specify the bar chart bar color from a color table. The Color table option becomes active. Uncheck the box next to Use color table to turn off the color table functionality. A color table can allow each bar to use a separate color and fill property or the a repeating color and fill property. The Color Table dialog allows you to assign a color to each bar in the chart.

 

Color Table

Click the Set button next to Color table to open the Color Table dialog and control which colors are used in the graph.

 

Show Color Table Legend

Select the Show color table legend property to display a color table legend.

 

Different Fill for Bars

Select the Different fill if bars<base to add a second Fill Properties section. The Fill Properties (bars>base) section controls the fill colors for the bars that extend up from the base value. The Fill Properties (bars<base) section controls the fill colors for the bars that extend down from the base value.

 

Default Fill Properties

You can set most default fill properties in the Defaultssection of the File | Options command.

 

 

See Also

Fill Between Plots

Color Gradient

Color Table

Line Properties