In this section: |
Once you have created a visualization, you can customize and style individual visuals within the visualization. For example, you can add axis titles to a bar chart visual or a title or header for a visual within a visualization. For visuals, the customization options vary depending on the type of visual (for example, the formatting options for bar visuals differ from those that are available for pie visuals).
In this section: |
Vertical and horizontal axes are based on the orientation of the visual. For example, in a vertical visual, the horizontal axis refers to the X axis and the vertical axis refers to the Y axis. In a horizontal visual, the horizontal axis refers to the Y axis and the vertical axis refers to the X axis. This is important to consider, since options could change depending on the orientation of the visual.
A chart can contain the following types of axis labels:
Reference: |
The Format Axis dialog box includes options for formatting both vertical and horizontal axes. The Format Axis dialog box contains the following tabs:
You can use the Format Vertical Axis dialog box to specify formatting options for the vertical axis in your chart.
Use the Scale tab to modify scale properties.
The Scale tab contains the following options:
When working with vertical axis options in InfoAssist, the Include zero on scale check box is cleared by default when setScaleMustIncludeZero() is not present in the StyleSheet. When this setting is not present, the value is false. The TIBCO WebFOCUS® Reporting Server, however, sets the value to true. This produces inaccurate results at run time.
To resolve this issue, add the setScaleMustIncludeZero() setting to the StyleSheet. For example, setScaleMustIncludeZero(getY1Axis(),true);
You can also select the Include zero on scale check box in the Format Vertical Axis dialog box, which can be accessed from the Axes option in the Labels group on the Format tab, and then clear it. This writes the setting into the FOCEXEC and sets the value to false. Select the check box for this option again to set the value to true.
Use the Title tab to show or hide the axis title, and create and style the title for the axis.
The Title tab contains the following options:
Use the Labels tab to format the layout of the axis labels.
The Labels tab contains the following options:
The Format Labels drop-down menu provides a list of preset formats that you can apply to labels. When you select a custom format, it must be defined using a custom format pattern. See the following table for a list and description of the characters that you can use in a custom format.
Character |
Description |
---|---|
# |
Is a digit. |
0 (zero) |
Shows as absent. |
. (period) |
Is a placeholder for a decimal separator. |
, (comma) |
Is a placeholder for a grouping separator. |
; (semicolon) |
Separates formats. |
- (dash) |
Is the default negative prefix. |
% (percent) |
Divides by 100 and shows as a percentage. |
x |
Determines that any other characters can be used in the prefix or suffix. |
‘ (apostrophe) |
Is used to quote special characters in a prefix or suffix. |
Use the Advanced tab to modify additional axis properties.
The Advanced tab contains the following options:
For instructions on how to open this dialog box, see the procedures in Using Axis Properties.
You use the Format Horizontal Axis dialog box to specify formatting options for the horizontal axis in your chart.
The General tab contains the Show axis line check box, which controls the display of the axis line. When this check box is selected, you can style the axis line.
The General tab contains the following options:
Use the Title tab to create and style the title for the axis.
The Title tab contains the following options:
Use the Labels tab to format the layout of the axis labels.
The Labels tab contains the following options:
Use the Advanced tab to modify additional axis properties.
The Advanced tab contains the following options:
For instructions on how to open this dialog box, see the procedures in Using Axis Properties.
How to: |
The following sections contain procedures for customizing an axis. The procedures are organized by the tab and group in which their associated options appear on the ribbon.
Axis labels appear by default.
The axis labels are hidden from the chart.
Note: You can only apply a staggered effect to horizontal axis labels.
The axis labels are staggered.
The following image shows a chart with the horizontal axis labels staggered.
The axis labels are rotated.
The following image shows a chart with the vertical axis labels rotated 45 degrees.
The Format Axis dialog box opens.
The axis labels are formatted accordingly.
The following image shows a chart with the vertical axis label styled in blue Arial font.
Note: You can only set axis scale to vertical axis labels.
The Format Axis dialog box opens.
The axis scale is set accordingly.
The Format Axis dialog box opens.
The axis title is styled accordingly.
The following image shows a chart with titles added to the vertical and horizontal axis labels.
The Format Axis dialog box opens.
Options |
Available for Vertical Axis Labels |
Available for Horizontal Axis Labels |
---|---|---|
Exclude Minimum Label |
||
Exclude Maximum Label |
||
Descending Axis |
||
Show axis line |
||
Show zero line |
||
Custom Baseline (Value) |
||
Reverse Groups |
You can edit the color, weight, and style of all the lines that you set in the Line Style dialog box.
The axis advanced options are set accordingly.
How to: |
Data labels highlight important data points on a chart. They identify exact numbers. You can customize data labels in a variety of ways to make them stand out more clearly on the chart. For example, using the Format Labels dialog box, you can change the position, angle, color, or size of data labels.
Note: The Format Labels dialog box offers different options depending on the chart type that you are using.
The Format Legend dialog box contains options for formatting a legend on a chart.
The Format Legend dialog box displays.
How to: |
A legend contains information that is necessary to accurately interpret the data on a chart. By default, a chart displays either a vertical axis title if there is a single measure field, or a legend if there are multiple measure fields.
You can use the Format Legend dialog box to format the legend and customize its appearance on a chart.
The Format Labels dialog box opens.
How to: |
A series is a measure field that is included in a chart. You can format a series in a variety of ways. For example, you can change the color of a series or change the appearance of markers on a series.
Markers are used to display points of data on a line chart. They are also used in the legend to identify the data that is on the chart. The different marker shapes distinguish one series from another.
The markers are formatted.
The following image shows a diamond marker for Product Category.
When working with visualizations, you can use various filtering and editing tools to format the display of measure and dimension data in any given visual. For example, for measures, you can use the Edit Format option to set the display of decimals in the values of your selected measure. For measures and dimensions, you can add filters to limit the display of information. These options, which can be found on the right-click menu of a field, are defined and described in the following table.
Option | Description |
---|---|
Filter Values |
Creates a filter for the selected measure or dimension. You can select all values or only the one the data values that you want to display. In this way, you can exclude unwanted data. For visualizations, prompts are created, by default. However, you can clear this option when setting your filter options. This option displays for both measures and dimensions. |
Sort |
Enables you to set sorting options for the measure or dimension that you select. For example, you can sort your data values in ascending or descending order, or you can set limits for the display of information, the value for which is set to No Limit, by default. This option displays for both measures and dimensions. |
Visibility |
Controls the display of the selected measure or dimension in a visual. The default value is Show, but if you set the option to Hide, the values are hidden from the visual. This option displays for both measures and dimensions. |
Change Title |
Enables you to edit the title of the measure or dimension. In the Edit Title dialog box, type the new title in the Enter Title field, and click OK. Depending on the axis that you select, the new label will be applied accordingly. This option displays for both measures and dimensions. |
Edit Format |
Enables you to change the format of a field. This includes field type, display options, field length, and the specification of applicable decimal points. For more information, see Changing a Field Format. This option displays for measure fields only. Note: Any changes to the format of a field will be reflected in the tooltip for visualizations at design and run time. |
Drill Down |
Opens the Drill Down dialog box, where you can create multiple drill down links on a data field to external procedures or websites. This option is available for any measure field in a visualization. |
More |
Provides access to Aggregation functions, which enables you to apply Aggregation functions (for example, Sum, Average, and Count) to the numeric field that you select. This option is only available for measure fields. This option displays for both measures and dimensions. |
Delete |
Deletes the selected field. This option is available in every field container. Note: In the Query and Filter panes, you can select and delete multiple data fields at one time. Press the Ctrl key, select two or more data fields, right-click, and then click Delete. |
Create Group |
Allows you to create a group of elements based on the field data type that you select. Once you define a new group, a higher-level field is created that contains the selected elements. This option is available for dimension fields of non-numeric format or attribute. For more information, see Dynamic Grouping. |
How to: |
A typical visualization contains multiple charts, maps, and grids. You begin with the default canvas and insert any number of visuals. You can control the placement of these visuals using the handles that display when you drag a data field onto the canvas or insert a new visual.
You can add a visual in one of two ways:
When you drag a visual on top of another visual, this activates a shaded area. This shaded area provides a preview of where the visual cell will dock if you release the mouse. It also indicates the size of the resulting visual.
The handles display within the shaded area. They allow you to indicate where you would like to place the current visual relative to the others on your canvas. The handles are located in the upper-right corner of the selected visual, as shown in the following image.
You can indicate the placement of a chart, map, grid, or text object in a visualization.
Use the handles that display in the upper-right corner of the selected visual to select the location for the new visual, for example, below or to the right.
To set positioning of the new visual or text object, drag it on top of another visual. Use the handles that display in the shaded area to select a position relative to the underlying visual.
Use the handles that display in the shaded area to select a position relative to the underlying visualization.