Chart

The Chart component lets you create reports of current and past events, and visualize audit data. It uses historical reporting to represent Sitecore Content Hub data as a two-dimensional chart, which you define on the Historical tab.

Note

A second type of report using operational reporting is available, but it has deprecated. Previously, this was used to represent one-dimensional data such as the total number of assets associated with a geographical region, but we now recommend you use the Search component configured in chart view instead.

By applying a chart filter, you can add a time dimension to a chart as shown in the following example.

Chart and chart filter example

Add a chart

To add a chart:

  1. On the menu bar, click Manage .

  2. On the Manage page, click Pages.

  3. On the Pages page, select the page you want to modify.

  4. On the Layout tab, add the page component.

  5. Click the component to open its details page.

  6. Depending on the type of report, click one of the following tabs and define the associated properties:

  7. After selecting the principal dimension, specify the following fields:

    Field

    Description

    Sorting

    Sorts results alphabetically or using a metric.

    Top

    Filters out a subset of the entire data results. This field is useful when the X-axis contains a lot of grouping values or when trying to exclude some observed outliers from the report.

    Sortingorder

    Sorts the derived results in ascending or descending order.

    Group by

    Click Set to group results by based on the selected type.

  8. For operational reports, in the right pane, define chart properties.

    Property

    Description

    Chart title

    The title displayed above the graph.

    Chart sizes

    The size of the graph on the page (small, medium, or large). Multiple graphs can be added on a single page using multiple chart components.

    Chart type

    How the data is presented (as a number chart, pie chart, or donuts chart).

    Metric label

    The text label displayed on the Y-axis of a column chart graph.

    Metric

    Type of aggregation to apply to chart data.

    Limit dimensions slices

    Filter that limits the data to a subset of the results. This is useful when the X-axis contains a lot of grouping values or when you want to exclude outliers.

    Sorting

    How chart data is sorted (alphabetically or by metric.)

    Sorting order

    The sort order (ascending or descending).

  9. To view the chart, in the top-right corner of the application window, click Preview.

  10. Click Save and close.

Note

To remove a saved search, open the Dashboard builder and, on the Saved tab, next to the saved search click More actions More Actions icon and then click Delete.

Tip

You can print and download large charts. To do so, on the Dashboard tab, click Preview. In the Preview window, click Chart context menu ellipse icon and choose one of the options. The Download reporting logs option generates a JSON file that includes all documents with the selected filters.

Do you have some feedback for us?

If you have suggestions for improving this article,