Show TOC

Configuration of Chart ComponentLocate this document in the navigation structure

Use

In the configuration of the chart component, you can change the chart type or the title of the chart.

The configuration comprises the following screen areas:

  • Toolbar

    The following buttons are available in the toolbar:

    • Display/Edit Feeder - to assign analytics feeder class CL_BS_ANLY_CHART_FEEDER

    • Display/Edit Parameters - for instance to display or add the analytic query

    • Configure Toolbar - for instance to determine the navigation destinations

    • Define Final Flag - the final flag prevents fields being changed in the Web Dynpro Customizing and Personalization

    • Export - to export the configuration of the chart for further processing in the Chart Designer

    • Import - to import the configuration of the chart that was edited with the Chart Designer

  • Preview

    In the Preview, you see the layout of the chart on the basis of the current configuration and sample data.

  • Configuration Dialog

    You can determine the attributes of the chart in the following areas: General Settings, Chart Appearance, Primary Axis Texts, and Selection in Chart.

Features

Configuration Dialog of Chart Component

The configuration dialog section comprises the following:

General Settings

You can determine the following attributes here:

  • Title

  • Tooltip

  • Height and Width in pixels

  • Export As Picture Allowed

Chart Appearance

You can determine the chart type and its properties here.

There are two ways of determining the chart type and its properties. You can either use the configuration dialog or you can import the configuration by XML file.

  • If you use the configuration dialog, the Standard Settings are displayed in the Determine Chart Appearance By field.

  • If you import the configuration by XML file, the Customizing Scheme (Chart Designer) is displayed in the Determine Chart Appearance By field.

The method chosen influences further setting options in the Chart Layout area:

  • Determine Chart Appearance By

    You have the following options:

    • Default Settings

      The configuration is based solely on the settings you make in the configuration dialog. For instance, you can change the chart type or title and unit of the axes.

    • Customizing Scheme (Chart Designer)

      You cannot perform complex configurations directly in the configuration dialog. These configurations are based on an XML file that is edited with an external tool and then imported into this configuration.

      Proceed as follows:

      1. Export the current configuration as an XML file.

      2. Change the configuration in the Chart Designer in the Edit Chart Customizing transaction (BS_ANLY_CD) or in a text editor.

        For more information, see the documentation of SAP NetWeaver under SAP NetWeaver.

      3. Choose Import in the toolbar to import the modified XML file.

  • Chart Customizing File

    The name of the imported XML file is displayed here.

    The file name is only displayed when you import the configuration by XML file (Determine Chart Appearance By Customizing Scheme (Chart Designer).

  • Chart Type

    You can choose from different chart types, for instance pie charts or vertical bar charts (see Chart Types).

    This field is only ready for input if you perform the configuration in the configuration dialog (Determine Chart Appearance By Standard Settings).

    Feeder class CL_BS_ANLY_CHART_FEEDER does not support the following chart types: Gantt charts, milestone trend analyses (MTA), heatmaps, time bars and stacked time bars, scatter charts and time scatter charts, time columns and stacked time columns.

    Note

    Two-dimensional chart types

    Charts are usually two-dimensional. A query is converted into a two-dimensional chart as follows:

    • Columns are displayed as a series.

    • Rows are displayed as categories.

    The first example applies to the following chart types:

    • Area chart and stacked area chart

    • Bar chart and stacked bar chart

    • Column chart and stacked column chart

    • Line chart and stacked line chart

    • Pipeline chart

    • Profile area chart and stacked profile area chart

    • Profile chart

    • Radar chart

    As the following figure shows, each column of the query results in an entry in the legend of the chart, and all values of the column are visualized uniformly with one color in the chart.



    Figure 1: Example of a two-dimensional chart

    On the other hand, the chart types - doughnut chart, polar chart, and split pie chart - are displayed as follows:

    Each row results in an entry in the legend, and all values of the row are visualized uniformly with one color.

    One-dimensional chart types

    The one-dimensional chart types - pie chart and tachometer chart - are also an option.

    As the following figure shows, a query is implemented as follows in a one-dimensional chart:

    • Only the first data column of the query is visualized.

    • Each value of the first column contains a legend entry and a separate color.



    Figure 2: Example of a one-dimensional chart
  • Display Values

    You can specify where the values are displayed in the chart, for instance on the axis, on a chart element, or both.

Primary Axis Texts

You can specify the following attributes:

  • Title and Unit of Category / Value Axis 1

  • Title and Unit of Value Axis 2

Selection in Chart

You can specify the following attributes:

  • Selection Type

    You can specify how the system behaves when you click a UI element (no selection or simple selection).

  • Selection Mode

    You can specify which data (Data Point, Whole Category, or Whole Data Series) is considered when you click a data point.

    If you use the analytics feeder class CL_BS_ANLY_CHART_FEEDER, the selection mode is fixed to Whole Category.

Navigation from Chart to Launchpad Destinations

To navigate from the chart, you can determine launchpad entries as navigation destinations.

In the configuration, you can influence the navigation in the chart with the feeder action BSA_CHART_NAVIGATE.

You can do this as follows:

  1. Choose Configure Toolbar, enter the feeder action and a description, and select the display type, such as a button or link.

  2. Select the row and choose Action Parameters.

    Enter the role and instance of the launchpad, and the application ID of the launchpad entry that is to be used as the navigation destination.

    Note

    To determine the application ID of a launchpad entry, proceed as follows:

    1. Call transaction LPD_CUST and open the required launchpad.

    2. Navigate to the launchpad entry for which you wish to determine the application ID.

    3. If you do not see the Application ID field in the Link Text and Optional Description area, then choose in the menu Start of the navigation path Extras Next navigation step General Settings End of the navigation path. In the dialog box, select Display Application IDs.

You can select a category at runtime by clicking a data point. A category corresponds to a data row in a BW report. A data point represents a key figure value. Depending on your chosen selection type, you can choose a button to navigate to the destination specified in the launchpad. The application ID makes the navigation destination unique.

Planning Functions and Planning Sequences

For analytical purposes, you can use predefined events to execute planning functions and planning sequences.

  1. Choose Configure Toolbar. The Configure Toolbar dialog box appears.

    Enter BSA_PLFUNC for planning functions or BSA_PLSEQU for planning sequences in the Feeder Action field. Enter the text that you want to be displayed on the user interface as the action text, and select the display type, such as Pushbutton or Link to Action.

  2. Select a row and choose Action Parameters. The Definition of Action Parameters dialog box is displayed.

  3. Enter the required data.

    • For BSA_PLFUNC: Enter the planning function and filter.

    • For BSA_PLSEQU: Enter the name of the planning sequence.