Configure a chart
This page describes advanced configuration options for the chart:
-
Chart configuration, including the name, label, documentation, display properties, and parameters.
-
Axis configuration to define how axes appear and behave for column, bar, line, area, or combined charts.
-
Series configuration to configure the display properties of the series in column, bar, line, area, combined, and donut charts.
Chart configuration
To configure the chart:
-
In the chart editor, select the Open chart properties toolbar button. The chart properties side nav opens on the Chart tab.
-
In the sidenav header, use the Rename button to change the name and label of the chart.
-
In the top section:
-
Select a different Query and Chart Type if needed.
-
Select a Required Role to access the chart. This role must be configured in the Semarchy xDM platform.
-
-
In the Display properties section, parameterize the chart appearance:
-
For all chart types:
-
Define the position of the chart title using the Label Placement. Select Hidden to mask the title.
-
Select Show Divider to add a thin line between this title and the visualization.
-
Select Enable drilldown to allow users to click on the chart’s shapes or values in order to drill down into the data behind the aggregated measures.
This behavior may be overridden when the chart is used in a dashboard.
-
-
For a number chart, configure the target indicator that appears below the metric.
-
Use Show target as to define how this indicator should be computed (as a percentage, difference number, etc.).
-
Define a Target goal format for this number, and the colors for a positive or negative variation.
-
-
For a pivot table chart, define the display properties:
-
Define the rows and columns titles
-
Define the background colors for the row/column headers and the table.
-
Select whether you want to show the row and column totals, and define their background colors.
-
Select whether you want to allow the expand/collapse menu option for this pivot table.
-
-
For a category chart, that is a sunburst, treemap, column, bar, line, area, Combined, donut or gauge:
-
Select the Palette used for this chart and the Shade/Color for this palette. If not specified, the palette defined at the application level is used.
-
-
For a sunburst chart, define:
-
The visualization Size and the Hole Size, as a percentage of chart size.
-
-
For a donut chart, define:
-
The Startup angle for the segments.
-
The visualization Size and the Hole Size, as well as the Spacing between the segment surfaces, as a percentage of chart size.
-
-
For gauge chart, define:
-
The Minimum value and Maximum values of the gauges.
-
Optionally define a Target goal value.
-
Use the Range maximum values type field to define how the Range 1/2 maximum values are expressed and set these values (as absolute values or percentage of the target goal or maximum value).
-
Define the colors for the three ranges of the gauge.
-
-
-
In the Filters section, optionally create multiple filters to use a subset of the data returned by the query.
-
Click the Add Filter button.
The Add filter dialog opens. -
Select a query Attribute to filter.
-
Select an Operator.
-
Select or enter one or multiple Values depending on the operator.
-
Click Add
-
Repeat the previous steps to create multiple filters. These filters are combined with an AND operator.
You can edit a filter by selecting it in the list and remove a filter using the Delete button.You can create similar filters on the dashboard charts, to additionally filter the data in the chart when is used in a dashboard. The dashboard chart filters apply on top of the filters defined on the chart itself. When filters are applied to the query in a chart, the query appears with a (filtered) suffix in the chart editor.
-
-
In the Chart parameters section, select the attributes of the query that may be parameterized to filter the chart content. All the attributes used as dimensions are automatically parameters. When you use this chart, you can pass values to these parameters to filter the chart content.
For example, if a chart displays the sales for all the brands for all countries, you can pass a brand value to have it display, in a specific context, the sales for that brand for all countries. -
In the Documentation section, edit the rich text describing the chart. If the documentation is configured, an information icon appears next to the chart title, to display the documentation text. The Markdown syntax is supported for this text.
Axis configuration
For charts using an axis chart type (column, bar, line, area, or combined), you can configure the (horizontal) category axis and the (vertical) value axis.
Combined charts are a specific case. They have two value axes, named Primary Value Axis and Secondary Value Axis. They correspond to the left and right vertical borders of the chart and can be configured separately. |
To configure the axes:
-
In the chart editor, select the Open chart properties toolbar button.
The chart properties side nav opens. -
Select the Axes tab.
-
In the Categories axis section:
-
In Title, define the title that appears aside this axis, and deselect Hide title to make it visible.
-
Select the Hide label option to hide the labels on this axis, and select Show grid to display vertical lines to delimit the categories.
-
In Truncation length, define the permissible length for large labels.
-
Select Group Labels to merge adjacent categories with the same label.
-
-
In the Value axis section (or in the Primary/Secondary Value Axis section for a combined chart):
-
In Title, define the title of the axis, and whether you want the title, grid, and labelsto be visible.
-
In Truncation length, define the permissible length for these labels.
-
With Stacking, define the display method used for the series on this axis:
-
Clustered: displays data from multiple data series in clusters of shapes (e.g., clusters of horizontal or vertical bars).
-
Stacked: displays data from multiple data series in stacked shapes (e.g., horizontally or vertically stacked bars).
-
Stacked 100%: displays the proportional distribution of multiple data series in stacked bars or areas, ensuring that the cumulative total always equals 100%.
-
-
(Optional) Define explicit axis boundaries with Min value and Max value.
-
(Optional) In Interval or Minimum interval, define a specific or minimum interval between labels/grid lines along this axis.
If you do not define the interval explicitly, it is automatically computed based on the mix/max values, or the data point values. The minimum interval defines the lower limit for the computed interval. -
With Axis scale and Logarithmic base, define the linear or logarithmic scale. Note that the logarithmic scale is more suitable when the values are distributed on a large range.
-
In Target goal, define a specific objective that will be represented by a dotted line on the axis to indicate the expected goal for the values.
-
In Target goal color, select the color of the target goal line.
-
Series configuration
For charts supporting series (column, bar, line, area, combined, or donut), you can configure how these series appear using the Series tab of the chart properties.
You can configure a default set of properties applied to all the series in the chart as well as exceptions for specific series.
To configure the series:
-
In the chart editor, select the Open chart properties toolbar button. The chart properties side nav opens.
-
Select the Series tab. In this tab:
-
The Series dropdown lists all the series from the chart. When you select a series in this list, the property values displayed in the tab apply to this series only. A <Default> item in the Series dropdown list allows configuring the values applied by default to the series.
-
When the <Default> dropdown is selected, click the Reset all series button to remove all series-specific configuration and have all series use the <Default> configuration.
-
When a series is selected, click the Reset series button to remove the configuration for this series and have it use the <Default> configuration.
-
-
In the Series dropdown list, select a specific series that you want to configure, or <Default>.
-
If you are using a combined chart, configure the axis for this series in the Axes section:
-
Value Axis defines whether values for this series should be on the primary or secondary axis.
-
Chart type defines the type of chart to use for this series on this axis.
-
-
If the selected chart supports it, configure how the Shapes appear:
-
Point shape, Point size and Point filled configure how data points appear for example on a line chart.
-
Line style, Line interpolation configure how lines are drawn for example line and combined charts.
-
Line or border color, Fill color configure the fill and border colors of the shapes and lines in charts.
-
-
If the selected chart supports it, configure how Labels appear when you move your mouse over a point or shape representing a data point:
-
Show data labels activates these labels on mouse over and Placement defines where the label appears relative to the data point.
-
Show series as and Show categories as define whether and how the series and categories values should be displayed, that is with or without their labels first.
-
Show value adds the measure value to the label.
-
Show percentage adds the percentage represented by the measure value in the series to the label.
-
Show measure label adds the measure’s label before the value and percentage.
-