Show TOC

Procedure documentationDesigning Charts Locate this document in the navigation structure

 

You use this procedure to design charts with specific attributes (chart type, status, and so on), sources of data, and layouts.

Prerequisites

  • You have identified the data to be displayed on the category axis, the subcategories, and the data series.

  • You have identified the business objects and business object properties required for the chart.

  • If the chart requires a business content provider as the source of data, you have created the business content provider.

    For more information, see Creating a Business Content Provider.

Procedure

  1. Choose   Charts   Details   in Mobile System Maintenance (MSY).

  2. Choose New and enter the required information.

    • Chart Status: Indicates whether a chart can be executed in a mobile application.

      Note Note

      You can set the status of the chart to Executable only after you specify the chart axis information. Only charts with the Executable status are available for integration with mobile applications.

      End of the note.
    • System Chart: Indicates a predefined chart that is provided by SAP; you cannot modify such charts.

  3. Choose the source of data: business content provider or business query.

  4. Specify the chart axis information.

    You can specify the business object property that you want to assign to each axis of the chart, such as the category axis, data series, and the subcategory.

    Example Example

    You want to create a column chart to depict activities (e-mail, meeting, telephone, letters) and their status (open, in process, completed). You want the chart to also show the total number of activities. To do this, you must specify the property:

    • Activity Type as the Category Axis

      The Category Axis is split into subcategories based on the different values of the Activity Status.

    • Number of Activities as the Value Axis (data series)

    • Activity Status as the Subcategory

    The chart appears as follows:

    This graphic is explained in the accompanying text.

    If the chart must show currency values, specify a currency conversion. This ensures that the currency appears based on the default currency type, such as Euros or Dollars, of the logged-in user.

    End of the example.

    Note Note

    If you specify a currency conversion, then you must also indicate the name of the field that contains the currency type.

    End of the note.
  5. Save the chart.

  6. Set the status to Executable and save again.

    The Customize and Show Chart pushbuttons are now available.

    • You can choose Customize to design the layout of the chart. You can set the background color, legend color, dimensions, text direction of labels, and so on for the chart in the Chart Designer tile.

      Choose Finished to save the layout.

    • You can use Show Chart to preview your chart.

      Note Note

      Choose Fetch Data Again to refetch the data and refresh the chart.

      End of the note.

Result

You have designed a chart. You can now:

  • Assign the chart to a business component of any mobile application. This allows users to view the chart in the application.

    For more information, see Chart Overview.

    Note Note

    The list of available mobile applications depends on the applications installed in your mobile client.

    End of the note.
  • Specify data filters known as parameters for the chart.

    For more information, see Defining Filtering Criteria for Reports and Charts.

  • Specify language-specific descriptions for the titles and text in the chart.

    For more information, see Chart Element Descriptions.

  • Integrate the chart with business components in mobile applications.

    For more information, see Chart Integration.

More Information

Example: Chart Design