Chart Widget Configuration Options

Use the chart widget to display content about entities in a graphical form.

Note: Unlike the entity chart widget, the chart widget does not require JSON knowledge to create a chart. If the chart widget is not sufficient for your needs, you can use the entity chart widget and JSON to create a custom chart.
The following options can be configured when creating the chart widget.
Type Description
Entities to query The query that you write to return faceted data. For information and examples of requesting and navigating faceted data, see the Application Builder Faceting API Overview, which is part of the Application Builder Query API Overview.
Visualization options The display method for this widget. Not all fields are available for all visualization options.
  • X axis title - The title that will be displayed on the X axis of the chart.

    Default: none

  • Y axis title - The title that will be displayed on the Y axis of the chart.

    Default: none

  • X axis label - The label that will be displayed on the X axis of the chart.

    Default: the value of the entity

  • Y axis label - The label that will be displayed on the Y axis of the chart.

    Default: the number of results for each field

  • Tooltip date format - The date format that is applied to the tooltip when the result information is displayed (on mouse hover). This value can be set to the date formats that are implemented by Highcharts, which are a subset of the formats from the PHP strftime function. For example, %A, %m/%d/%Y would display the date as: weekday name, MM/DD/YYYY.

    Default: Selected automatically based on the data

  • Tooltip X value suffix - The suffix that is applied to the entity value on the X axis when the result information is displayed (on mouse hover).

    Default: none

  • Tooltip Y value suffix - The suffix that is applied to the entity value on the Y axis when the result information is displayed (on mouse hover).

    Default: none

For the X axis label and Y axis label options, you can enter {value} to display the default label, and add additional text or other characters to that value.

For example, if the X axis of a column chart shows the value of an author field for a book entity, you might want to add the name of the field to the label, but keep the value. If so, enter the following code for X axis label: {value}, author