Density

The Density Plot is similar to the Scatter Plot, but better suited for larger sets of data points. Areas of the Density Plot with a high concentration of data points will appear darker and denser.

The Density Plot will use the first selected color in the defined palette.

Required Fields

  • table - the table to query.

  • conditions - the conditions to apply to the chart

  • x_axis_field - the field used to determine the x axis scale

  • y_axis_field - the field used to determine the y axis scale

  • record_limit - The maximum number of records to look at

Optional Fields

N/A

Return Data

An array of objects. Each object represents a record and contains the relevant data.

  • groupBy: The name of the group (always an empty string for density)

  • id: the sys_id of the record

  • name: the display name for the record

  • x: the value for the x axis field

  • xDisplay: the display value for the x axis field

  • y: the value for the y axis field

  • yDisplay: the display value for the y axis field

Example Payload

A screenshot of the data in ServiceNow:

Last updated