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.
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.
Add a chart
To add a chart:
-
On the menu bar, click Manage .
-
On the Manage page, click Pages.
-
On the Pages page, select the page you want to modify.
-
On the Layout tab, add the page component.
-
Click the component to open its details page.
-
Depending on the type of report, click one of the following tabs and define the associated properties:
-
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.
-
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).
-
To view the chart, in the top-right corner of the application window, click Preview.
-
Click Save and close.
To remove a saved search, open the Dashboard builder and, on the Saved tab, next to the saved search click More actions and then click Delete.
You can print and download large charts. To do so, on the Dashboard tab, click Preview. In the Preview window, click Chart context menu and choose one of the options. The Download reporting logs option generates a JSON file that includes all documents with the selected filters.