Show TOC

 ChartLocate this document in the navigation structure

Definition

A Web item that allows data to be displayed graphically in various charts, such as column, profile and line charts.

Use

Using the Chart Web item, you can display data graphically in your Web application.

Structure

The following information lists the parameters for the Chart Web item, arranged according to the various parameter groupings.

Display

Parameter Description

Width in Pixels (WIDTH)

You use this parameter to specify the width of the Web item.

Height in Pixels (HEIGHT)

You use this parameter to specify the height of the Web item.

Visibility (VISIBILITY)

You use this parameter to specify whether the Web item is to be visible in the Web application.

With Tray (WITH_TRAY)

You use this parameter to specify whether the Chart Web item is to be displayed with an icon that allows the Web item to be expanded and collapsed. For more information about this parameter, see Parameter Tray

Internal Display

Parameter Description

Edit Chart (CHART_CUSTOMIZING)

You use the button for this parameter to navigate to the Chart Designer. In the Chart Designer, you can make various settings for the chart. See Editing Charts .

Chart Type (CHART_TYPE)

You use this parameter to select the required chart type. The default value is Column Chart.

Legend Type

(LEGEND_TYPE)

You use this parameter to make the following settings for the legend:

  • Legend (default setting)

    In the default setting, the legend is displayed with position South.

  • None (NONE)

    The legend is hidden.

  • Data Table (DATATABLE)

    Specifies that the system is to display the data in a table below the chart.

  • Legend (LEGEND_POSITION)

    The legend is displayed. The option Chart Legend Position is also displayed. You can choose from the following options:

    • North (N)
    • East (E)
    • South (S) (default value)
    • West (W)
    • North-East (NE)
    • North-West (NW)
    • South-East (SE)
    • South-West (SW)
  • Only Legend (LEGEND_ONLY)

    The legend is displayed without a chart.

Show result (RESULTS_VISIBLE)

You use this parameter to specify whether the results are to be displayed in the chart or hidden.

In the default setting, this parameter is deactivated, and the totals rows and columns for the underlying data provider are not displayed. This allows you to suppress totals that might adversely affect the chart display without having to change the data provider.

Swap Display Axes (AXES_SWAPPED)

You use this parameter to swap the chart axes in the display without changing the navigational state of the query view.

Note  

You achieve the same effect if you swap two free characteristics with one another in the underlying query view.

Show Expanded Hierarchy Nodes (OPEN_HIERARCHY_NODES_VISIBLE)

You use this parameter to specify whether expanded hierarchy nodes are to be displayed or hidden in the chart.

If you deactivate this parameter, it is possible to remove the expanded nodes from the chart generation when the display hierarchy is active. This ensures that the total of the values displayed is the overall result.

Display Exceptions (EXCEPTIONS_VISIBLE)

You use this parameter to specify whether exceptions are to be displayed in the chart or are hidden.

This parameter is deactivated by default and no exceptions are displayed in the chart, even though the data provider on which it is based has exceptions. See Displaying Exceptions in Maps and Charts .

Behavior

Parameter Description

Allow Navigation (INTERACTION_ALLOWED)

You use this parameter to specify whether navigation and other interactions are to be possible in the Web application.

Data Binding

Parameter Description

Data Provider (DATA_PROVIDER_REF)

You use this parameter to assign a data provider to the Web item. The Web item obtains the data and metadata that it needs to generate the output and commands from this data provider.

We advise you to adhere to the conventions supported by the Web Application Designer when specifying names: Names can be a maximum of 30 characters and consist of characters A-Z, 0-9 and _, but cannot start or end with _. Adhering to these conventions makes it easier to upgrade to subsequent SAP releases.

Affected Data Providers (LINKED_DATA_PROVIDER_REF_LIST)

You use this parameter to specify the list of data providers to which all chart commands are sent.

Chart Texts

Parameter Description

Title (TITLE)

You use this parameter to specify the language-dependent text for the title of the chart.

Diagram Subtitle (Language-Dependent) (SUBTITLE)

You use this parameter to specify the language-dependent text for the subtitle of the chart.

Legend Title (Language-Dependent) (TITLE_LEGEND)

You use this parameter to specify the language-dependent text for the title of the legend.

Manual Axis Description

(OVERRIDE_AXIS_DESC)

You use this parameter to specify whether you want to override automatic axis labeling.

If you do not select this parameter, the system creates labeling for the chart axes of simple charts such as column, bar, line, and profile charts. For example, the name of a key figure appears on the Y axis in a bar chart.

For more information, see Automatic Axis Labeling for Simple Charts .

If you select this parameter, you can choose from the following options for overriding automatic labeling of the axes:

  • Category Axis (X): Title (Language-Dependent) (TITLE_CATEGORY_AXIS)

    You use this parameter to specify the language-dependent text for the title of the category axis (X).

  • Value Axis (Y): Title (Language-Dependent) (TITLE_VALUE_AXIS)

    You use this parameter to specify the language-dependent text for the title of the value axis (Y).

  • Secondary Category Axis (X): Title (Language-Dependent) (TITLE_SEC_CATEGORY_AXIS)

    You use this parameter to specify the language-dependent text for the title of the secondary category axis (X). This parameter is only needed for specific chart types such as histograms or scatter charts.

  • Secondary Value Axis (Y): Title (Language-Dependent) (TITLE_SEC_VALUE_AXIS)

    You use this parameter to specify the language-dependent text for the title of the secondary value axis (Y).

Manual Axis Label

(OVERRIDE_AXIS_LABEL)

You use this parameter to specify whether you want to override the automatic display for the axis label (for example, units or currencies).

If the units and currencies in the query and other settings for the axis are the same and you do not select this parameter, these units, currencies, and settings are displayed automatically in the chart. 

If you select this parameter, you can choose from the following options for overriding the automatic display:

  • Category Axis (X): Unit (Language-Dependent) (UNIT_CATEGORY_AXIS)

    You use this parameter to specify the language-dependent text for the unit of the category axis (X).

  • Value Axis (Y): Unit (Language-Dependent) (UNIT_VALUE_AXIS)

    You use this parameter to specify the language-dependent text for the unit of the value axis (Y).

  • Secondary Category Axis (X): Unit (Language-Dependent) (UNIT_SEC_CATEGORY_AXIS)

    You use this parameter to specify the language-dependent text for the unit of the secondary category axis (X). This parameter is only needed for specific chart types such as histograms or scatter charts.

  • Secondary Value Axis (Y): Unit (Language-Dependent) (UNIT_SEC_VALUE_AXIS)

    You use this parameter to specify the language-dependent text for the unit of the secondary value axis (Y).

The texts, such as chart titles and chart subtitles, as well as the titles and units of the axes, are all language-dependent. You can enter the texts in the Chart Designer or in the Web Application Designer using the text input dialog for the relevant parameters.

For more information about Web item Chart, see Context Menu Functions .