Attributes for Chart Widgets

Chart widgets use the Highcharts library. All attributes are JSON objects.

The attributes which can be set comprise:

Figure 181: Highcharts configuration options

General attributes:

Highchart-specific attributes:

Example of a Chart Widget

The following example shows the widget TicketsInView and explains the logic of the associated Admin Tool script ticketsInViewDataWidget.groovy. For the entire script, please see the code block above. Here, the lines of code are set in relation to the GUI elements which they configure.

Figure 184: Chart widget example with script code