To generate a more complex chart than the system is naturally capable of creating, write
a rendering script.
The customization described here was
developed for use in specific instances, and is not supported by ServiceNow
Customer Support. This method is provided
as-is and should be tested thoroughly before implementation. Post all questions and
comments regarding this customization to our community forum
To generate a more complex chart than the system is naturally capable of creating, write a
rendering script. This rendering script must return a JFreeChart chart
object and can do whatever needs to be done as long as the end result is a chart object. ServiceNow provides some helper script
which should reduce the reliance on the JFreeChart API.
Included here is an example of a script used to generate a combination chart that displays the
number of open incidents per month, the number of closed incidents per month, and the backlog of
incidents in the same time frame. The custom chart shown here has generators that produce the sets
of data necessary to produce the chart. The rendering script is used to build a chart that
combines this data.
To access the Custom Chart form, navigate to
and select a custom chart from the list.