Show TOC

Process documentationChart Integration Locate this document in the navigation structure

 

You use this process to integrate charts with business components of mobile applications. The process can be of two types:

  • Automatic integration

  • Custom integration using Mobile Application Studio (MAS).

Prerequisites

For custom integration: You have installed MAS.

Process

Automatic Integration

Charts are integrated automatically with the mobile application when you:

  • Set the status of the chart to Executable in MSY

  • Assign the chart to a specific business component in a mobile application

You can then view the charts in the   Charts   Overview   component of the mobile application.

For more information, see Chart Overview.

Custom Integration

You can integrate a chart with a mobile application using the chart integration tile, which is available, by default, in MAS.

The chart integration tile contains the chart control and raises custom events corresponding to all the events raised by the chart control.

The chart integration tile also exposes methods and properties corresponding to methods and properties exposed by the chart control. Therefore, you can create tile sets (in MAS), which directly use the chart integration tile.

To integrate a chart:

  1. Identify an existing tile set or create a new tile set and include the chart integration tile.

  2. Raise an event to supply the Chart Unique Identifier and the parameter values for the chart.

  3. Handle this event at the tile set level.

  4. Call the Render Chart method from the chart integration tile.

  5. Generate the tile using the MAS UI Generator for the relevant mobile application.

    For more information, see Mobile Application Studio.