Use the Scripted Elements form to define the data script to fetch data for a complex report type such as line chart or bar chart.

Line chart parameter

Following are the basic parameters used to define the properties and formatting of a line chart.

Bar chart parameters

Following are the basic parameters used to define the properties and formatting of a bar chart.

Table 3. bar chart parameters
Parameter Description Reference value
@property {String} barProperties.direction

The direction of plotting the bars in the chart.

For more information about defining a bar direction, see https://poi.apache.org/apidocs/dev/org/apache/poi/xddf/usermodel/chart/BarDirection.html.

@property {String} barProperties.grouping - grouping of bars

Grouping style of the bar in the chart.

Use options such as standard, clustered, stack. For more information about bar grouping properties, see https://poi.apache.org/apidocs/dev/org/apache/poi/xddf/usermodel/chart/BarGrouping.html.

@property {Number} barProperties.overlay

Size of overlapping among the bars in the chart.

Accepted numeric value range is from 0 to 100.