Formatting a Series

In this section:

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, add a trendline to a series, or change the appearance of markers on a series.

You can access the full set of formatting options on the Series tab and Field tab. For more information, see Series Tab and Field Tab.

You can also access a subset of frequently-used options by right-clicking a series element on a chart to open a menu of those options.

Tip: The options that you see on the menu depend on the type of chart that you are creating. For example, the Series Type option would not appear on the menu for a pie chart, but it would appear for a bar, line, and area chart.

Associated Dialog Boxes

In this section:

Whether you access series options from the ribbon or the shortcut menu, you are presented with a dialog box of options. The following dialog boxes are commonly used for formatting a series:

For Instructions on how to open these dialog boxes, see the procedures in Using Series Properties.

Format Series Dialog Box

The Format Series dialog box contains options to format the fill and border of each series on a chart. To access this dialog box, on the Series tab, in the Style group, click Style.

The Format Series dialog box contains the following tabs:

  • Fill
  • Border
  • Effect (for HTML5 charts only)

Use the Fill tab to modify the color of a chart series.

The Fill tab is shown in the following image.

Format Series Dialog Box Fill Tab

The Fill tab contains the following options:

  • No fill. Select this option to remove the color from the series.
  • Solid fill. Select this option to display the Color and Transparency options.
    • Color. Click this icon to open the Color dialog box, where you can select a color for the series.
    • Transparency. Move the slider to make the bands opaque (0%) or transparent (100%). The default is 0%.
  • Gradient fill. Select this option to display the direction of the gradient, the color pattern of the gradient, and the degrees of transparency for the two colors that make up the gradient. A gradient is a smooth color transition or blending of one color to another. The number of colors to use in a gradient is defined by the stop or pin elements.
    • Direction. Select from this drop-down menu to set the direction of the gradient fill. For example, Gradient right or Gradient left.

Use the Border tab to specify a border for a chart series.

The Border tab is shown in the following image.

Format Series Dialog Box Border Tab

The Border tab contains the following options:

  • Show Border Color. Select this option to show a border color around each series.
  • Border Color. Click this icon to open the Color dialog box, where you can select a color for the border.

Use the Effect tab to specify styling and shadowing options for HTML5 charts.

The Effect tab is shown in the following image.

Note: This tab only displays when working with HTML5 charts.

The Effect tab contains the following options:

  • Riser Style. Use this drop-down menu to select a riser style. Options include: None, Bevel, Cylinder, Darken, Inverted Darken, Lighten, and Inverted Lighten.
  • Show Shadow. Select this option to set a shadow.

Edit Title Dialog Box

To edit the title of a series, right-click a series on the canvas, and click Change Title. The Edit Title dialog box contains a text field in which you can type the title for a series on a chart. Click OK and the title appears on the chart.

If you have specified an amper (&) variable in your title while working in Live Preview, _FOC_NULL displays to indicate that an amper variable that has not been evaluated. It indicates that the value will be evaluated at run time.

Traffic Light Condition Dialog Box

The Traffic Light Condition dialog box contains fields for adding new conditional styling or modifying existing conditional styling by applying a traffic light color to the selected field.

The Traffic Light Condition dialog box is shown in the following image.

Traffic Light Condition Dialog Box

The Traffic Light Condition dialog box contains the following fields.

  • Relational Operators. Select from this drop-down menu to set the relational operator. For example, Equal to.
  • Type/Value. Click this unlabeled field to open a dialog box that contains the following fields:
    • Type. Opens a drop-down menu of the following values Constant and Field. Select Constant to enter a constant value. Select Field to open a visual display of the fields in your data source.
    • Value: Enables you to specify a value based on the Type that you select.

      Note: If you are creating a Traffic Light condition on a full date field, the Value field will have a calendar icon adjacent to it. You can use this icon to select a date using a calendar control.

    • Get Values. Select a value option from this drop-down list. For example, All or First.

The Traffic Light Condition dialog box contains the following buttons:

  • Selected Condition. Click this icon to select a condition to work on.
  • New. Creates a new rule.
  • Delete. Deletes a rule.
  • Color. Opens the Color dialog box.
  • Drill Down. Opens the Drill Down dialog box, where you can drill down to a webpage or a URL using Multi Drill functionality. Specify the following:
    • URL of the webpage or location of the report
    • An alternate comment
    • Target (New Window, Same Window, a value that you enter)
    • Parameters that you want to use (Name, Value)

    Note: In InfoAssist, when the output destination is set to Single Tab or New Tab, the drilldown target cannot be displayed in the Same Window so a new window will be generated. When the report is run outside of InfoAssist the Same Window setting will be respected.

Series Elements Shortcut Menu

When you right-click a series, a menu of options opens. The menu contains options that are available on the Field and Series tabs.

The menu options are described in the following table. The table provides links to the sections of this document in which those options are also discussed.

Option

Description

Filter Values

Enables you to create or modify a WHERE statement, using the Filter dialog box. With a WHERE statement, you select only the data that you want to display, and exclude unwanted data.

For information on filtering your data, see Data Tab and Field Tab.

Sort

Enables you to sort the series in either ascending or descending order.

Visibility

Controls the display of the selected series (field) on a chart. The value Hide suppresses the display of the series, and the default value Show displays the series.

For instructions, see How to Hide a Field in a Series.

Change Title

Enables you to edit the title of the selected series. In the Edit Title dialog box, type the new title in the Enter Title field, and click OK.

For instructions, see How to Change the Title in a Series.

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.

Note: Any changes to the format of a field will be reflected in the tooltip for charts at run time, as well as for visualizations at design and run time.

Series Type

Changes the chart type of the selected series to bar, line, or area. The option None (default) returns the series to the chart type that was in effect before you changed it. This option applies to bar, line, and area chart types only.

For instructions, see How to Change the Type of a Series.

Series Color

Enables you to specify the color of the selected series, using the Color dialog box. For more information, see Using the Color Dialog Box.

More Style Options

Opens the Format Series dialog box. For more information, see Format Series Dialog Box.

Data Labels

Controls the display of data labels (values) on the selected series. The default value Hide suppresses the display of labels, and the value Show displays labels.

This option does not apply to the gauge chart type.

For instructions, see How to Show and Hide Data Labels.

Color Mode

Controls how color is applied to a series (measure field) on a chart. The possible settings are By Series (default) and By Group. For example, assume that there is only one series on a sample bar chart. The By Series setting applies the same color to all the bars in the series. The By Group setting applies a different color to each bar.

For instructions, see How to Control the Color Mode.

Add Trendline

Draws a line on a chart to indicate a statistical trend.

This option does not apply to the pie, funnel, 3D, gauge, or stock chart type.

For an example of a chart with a trendline, see How to Add a Trendline.

Drill Down

Opens the Drill Down dialog box, where you can configure a hyperlink or a drill-down procedure for the selected field. Clicking that field in the report output, at run-time, redirects you to the URL you specified or executes the indicated procedure.

More

Contains the Aggregation Functions, Traffic Light Conditions, and Missing options.

Aggregation Functions assign an aggregation value to a numeric measure field in a report. For instructions, see How to Display Aggregations on Measures.

Traffic Light Conditions enables you to specify the color of numeric measure fields in the output, depending on conditions that you set. You can use the Traffic Light Condition dialog box to specify the conditions and colors.

For instructions, see How to Apply Traffic Light Conditions With Drill-Down to a Numeric Measure Field (By Constant) and How to Apply Traffic Light Conditions With Drill-Down to a Numeric Measure Field (By Field).

The Missing option allows you to show or hide fields with no value.

Delete

Removes the selected series from the report and updates the Live Preview accordingly.

Using Series Properties

In this section:

How to:

The following sections contain procedures for customizing a series.

Procedure: How to Select a Series

  1. Create a chart.
  2. On the Series tab, in the Select group drop-down menu, select the Series that you want to customize.

    The Series appears in the drop-down menu field.

Procedure: How to Format the Fill and Border of a Series

  1. Create a chart.
  2. Open the Format Series dialog box in one of the following ways:
    • Ribbon: On the Series tab, in the Style group, click Style.
    • Shortcut Menu: Right-click a series on the chart, and click More Style Options.

    The Format Series dialog box opens.

  3. Use the fill and border options to format the series.

    For more information, see Format Series Dialog Box.

  4. Click OK to close the dialog box.

    The Format Series dialog box closes. The series fill and border are formatted accordingly.

  5. Click Run to generate the report.

Enhancing Series Using the Series Tab

How to:

The Properties group contains commands for enhancing charts, such as changing the type or adding a trendline, for the selected series.

Procedure: How to Change the Type of a Series

  1. Create a bar, line, or area chart.
  2. Access the list of series types in one of the following ways:
    • Ribbon: On the Series tab, in the Properties group, open the Type drop-down menu.
    • Shortcut Menu: Right-click a series on the chart, and point to Series Type.
  3. Select the type that you want the series to become.

    The chart contains the new series type.

Procedure: How to Add a Trendline

A trendline is a line that is drawn over the plot area of a chart or visual to show the pattern of data points. The pattern reveals a statistical trend. In particular, the slope of the trendline, which is calculated by subtracting and dividing two different x, y coordinate values, is a value that indicates the rate at which the y value of a line rise or falls as the x value increases. Once the slope of your chart or visual is determined, you can further extrapolate your results and gain further insight into your data.

Note: The mathematical equation for the selected trendline option is only available in Chart mode. It is not available in Visualization mode.

  1. Create a chart or visual.
  2. Access the menu of trendline types in one of the following ways:
    • Ribbon: On the Series tab, in the Properties group, open the Trendline drop-down menu.
    • Shortcut Menu: Right-click a series on the chart or visual, and point to Add Trendline.
  3. Select the type of trendline that you want to display.

    The trendline appears on the canvas.

  4. Optionally, to display the mathematical equation for the selected trendline option, on the Series tab, in the Properties group, click Equation.

    The following image shows a trendline that appears with the Linear option.

    Chart With Trendline

Formatting Charts Using the Series Tab

Procedure: How to Apply Smooth Line Effect to a Line Chart

  1. Create a line chart.
  2. Select a series on the line chart.
  3. On the Series tab, in the Line group, click Smooth Line.

    The Smooth Line effect is applied to the series.

Procedure: How to Hide a Series Line Between Markers

Lines appear between markers by default.

To hide a series line between a marker:

  1. Create a line chart.
  2. Select a series on the line chart.
  3. On the Series tab, in the Series group drop-down menu, select the series that you want to hide.
  4. In the Line Group, click Connect Lines.

    The series line between the markers disappears.

    To make the series line reappear, click Connect Lines again.

Procedure: How to Change the Appearance of a Marker

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.

  1. Create a line chart.
  2. Select a series on the line chart.
  3. On the Series tab, in the Line group, click Marker to open a drop-down menu of options.
  4. From the Marker drop-down menu, select the marker shape. For example, Diamond or Hourglass.

    The markers are formatted.

    The following image shows a triangle marker for gross profit data and a star marker for revenue data.

    Line Chart With Circle and Square Markers

Procedure: How to Expand Pie Slices

  1. Create a pie chart.
  2. On the Series tab, in the Select group, from the drop-down menu, select one of the following:
    • All Series expands all slices out from the center of the pie.
    • A specific series expands that particular slice out from the center of the pie.
  3. In the Pie group, click Expand.

    The pie expands accordingly.

Procedure: How to Hide a Pie Slice

  1. Create a pie chart.
  2. On the Series tab, in the Select group, from the drop-down menu, select the series that you want to hide. Then, in the Pie group, click Hide.

    The slice is hidden.

Procedure: How to Filter Values in a Series

  1. Create a chart.
  2. Select a series on the chart.
  3. Open the Filter dialog box in one of the following ways:
    • Ribbon: On the Field tab, in the Filter group, click Filter.
    • Shortcut Menu: Right-click a series, and click Filter Values.

    The Filter dialog box opens.

  4. Select values for values and prompts.
  5. Click OK to close the dialog box.

    The series values are filtered.

Procedure: How to Sort the Fields in a Series

  1. Create a chart.
  2. Select a series.
  3. Sort the series in one of the following ways:
    • Ribbon: On the Field tab, in the Sort group, click Up to sort the series values from smallest to largest, or click Down to sort the series values from largest to smallest.
    • Shortcut Menu: Right-click a series on the chart, and point to Sort, and then Sort again. Click Ascending to sort the series values from smallest to largest, or click Descending to sort the series values from largest to smallest. Select Limit to open a list of values to display for a sort group.

    The chart appears with the series sorted accordingly.

Procedure: How to Hide a Field in a Series

  1. Create a chart.
  2. Hide a field in a series in one of the following ways:
    • Select the field in the Query pane.
    • Right-click the field in the chart.
    • Ribbon: Select the field in the Query pane or by right-clicking it in the chart. On the Field tab, in the Display group, click Hide Field. Click Hide Field again to make the series reappear.
    • Shortcut Menu: Right-click a series in the Query pane, or in the chart, point to Visibility, and then click Hide. Right-click the same series, point to Visibility, and then click Show to make the series reappear.

    The field is hidden.

Procedure: How to Display Aggregations on Measure Data

You can display numeric measure data using a variety of aggregation values.

For more information, see Missing Data in a Chart.

  1. Create a chart.
  2. Open the list of Aggregation options in one of the following ways:
    • Ribbon: On the Field tab, in the Display group, click Aggregation.
    • Shortcut Menu: Right-click a series, point to More, and then Aggregation Functions.
  3. Select an aggregation function.

    The aggregation function is applied to the series.

    Note: If you change the Measure (Sum) Query field container in the Query pane from Sum to Print, Count, or List, the change overrides all assigned aggregation values.

Procedure: How to Display Aggregations on Dimension (Non-Numeric) Data

You can use various aggregations when working with dimension (non-numeric) fields in a chart, including Count, Count Distinct, and Percent of Count. The Count aggregation counts the number of occurrences of a field. Count Distinct counts the number of distinct values within a field. Percent of Count computes a field percentage, based on the number of instances found. When a dimension (non-numeric) field is placed in the Vertical Axis field container, it is converted to a Count field. You can subsequently change the aggregation to Count Distinct or Percent of Count.

  1. Create a chart.
  2. Convert a dimension (non-numeric) field into a Count field by placing it in the Vertical Axis field container.
  3. Select the series on which to perform an aggregation.
  4. Open the list of Aggregation options in one of the following ways:
    • Ribbon: On the Field tab, in the Display group, click Aggregation.
    • Shortcut Menu: Right-click a series, point to More, and then click Aggregation Functions.
  5. Select an aggregation function.

    The aggregation is applied to the series.

Procedure: How to Apply Traffic Light Conditions With Drill-Down to a Numeric Measure Field (By Constant)

  1. Create a chart.
  2. Open the Traffic Light Condition dialog box in one of the following ways:
    • Ribbon: In the Query pane, select a field, and then on the Field tab, in the Display group, click Traffic Lights.
    • Shortcut Menu: Right-click a series on the chart, point to More, and then click Traffic Light Conditions.

    The Traffic Light Condition dialog box opens. For more information, see Traffic Light Condition Dialog Box.

  3. From the Relational Operators drop-down menu below the field name, select a relational operator. For example, Equal to.
  4. In the field to the right of the Relational Operators drop-down menu, click the down arrow for the Type drop-down menu.

    The Type dialog box opens.

  5. In the Type dialog box, select Constant.
  6. Enter a value in the Value field, or
    1. From the Get Values drop-down menu, select one of the following values All, First, Last, Minimum, Maximum, From File. The value that you select appears in the Get Values field.
    2. Select the value in the Get Values field. The value that you selected appears in the Value field.
  7. Click OK.

    The value that you selected appears in the field to the right of the operator drop-down menu.

  8. Click the Color button.

    The Color dialog box opens.

  9. Select a color.
  10. Click OK.

    The color appears in the Preview box.

  11. Click the Drill Down button.

    The Drill Down dialog box opens.

  12. In the Drill Down dialog box, specify each of the following:
    • Drill down to a report or a webpage
    • URL of the webpage
    • An alternate comment
    • Target (New Window, Same Window)
    • Parameters that you want to use (Name, Value)
  13. Click OK to close the dialog box.
  14. Click the New button to set traffic light conditions for additional fields.

Procedure: How to Apply Traffic Light Conditions With Drill-Down to a Numeric Measure Field (By Field)

  1. Create a chart.
  2. Open the Traffic Light Condition dialog box in one of the following ways:
    • Ribbon: In the Query pane, select a field, and then on the Field tab, in the Display group, click Traffic Lights.
    • Shortcut Menu: Right-click a series on your chart, point to More, and then click Traffic Light Conditions.

    The Traffic Light Condition dialog box opens. For more information, see Traffic Light Condition Dialog Box.

  3. From the Relational Operators drop-down menu below the field name, select a relational operator. For example, Greater than.
  4. In the field to the right of the operator drop-down menu, click the arrow for the Type drop-down menu.

    The Type dialog box opens.

  5. In the Type dialog box, select Field.

    The Type dialog box displays the Dimensions, Measures, and Properties of your data. You can display the data in the following ways:

    • View fields in business order. Select from the following options: Title, Description, Name, or Alias.
    • View fields in a sortable grid. Select from the following options: Name, Title, Alias, Format, Segment, Filename, Description, or Reference.
    • View the hierarchical structure of the data. Select from the following options: Title, Description, Name, or Alias.
  6. Select a field.
  7. Click OK.

    The field that you selected appears in the field to the right of the operator drop-down menu.

  8. Click the Color button.

    The Color dialog box opens.

  9. Select a color.

    The color appears in the Preview box.

  10. Click OK.
  11. Click the Drill Down button.

    The Drill Down dialog box opens.

  12. In the Drill Down dialog box, specify a value for each of the following:
    • Drill down to a report or a webpage
    • URL of the webpage
    • An alternate comment
    • Target (New Window, Same Window)
    • Parameters that you want to use (Name, Value)
  13. Click OK to close the dialog box.
  14. Click the New button to set traffic light conditions for additional fields.

Procedure: How to Change the Title of a Series

  1. Create a chart.
  2. Open the Edit Title dialog box in one of the following ways:
    • Shortcut Menu: Right-click a series on the chart, and click Change Title.
    • Query Pane: Right-click a series, and click Change Title.

    The Edit Title dialog box opens.

  3. In the Enter Title field, type the new name for the series.
  4. Click OK to close the dialog box.

    The series has a new title.

Procedure: How to Control the Color Mode

When you create a single-series chart, all series groups appear in the same color. To use a different color for each group, set the color mode to By Group.

  1. Create a chart.
  2. Right-click a series on the chart, point to Color Mode, and then click By Group.

    A different color is applied to each group in the series. To return to the default display of the series in one color, right-click the series, point to Color Mode, and then click By Series.

  3. Click Run to generate the report.

Procedure: How to Delete a Series

  1. Create a chart.
  2. Right-click a series on the chart, and click Delete.

    The series is deleted.