getChart

Aggregates the data in an Event Collector area (work items, cases, process templates, process instances, or events) to obtain audit information about the area.

This operation aggregates, then returns, the audit information in a tabular format, which is consumable by charting libraries such as Highcharts. (The <bpm-highcharts> business component, which uses this service operation, uses the Highcharts library to display charts.)

Usage

BPMChartService.getChart(chartModel,callback)

Parameters

Parameter Type Description
chartModel ChartModel object Data model to be used by the service request. The response populates ChartModel.data with the audit data requested.
callback Function Callback function to handle success or failure results from the request.