Chart section can be added either on the section node or inside the group on the subsection node.
To add a chart section, perform the following steps:
-
Click the Object/Form Entry Page to open the Page Editor.
-
Navigate to the section node in the outline and click the ➕ (Add) icon.
A drop-down menu displaying currently supported section types is displayed.
-
Select Add Chart Section from the drop-down list.
A pop-up window with following attributes:
- Label
- Entity
- Type
- Dimension
- Measure
A measure can be specified by selecting one of the following:
- Use existing measure
- Create new measure
If you choose to use existing measure, select one of the available measures defined with custom or transformation aggregations in the Name field.
If you choose to create new measure, choose the aggregable property and one of the supported aggregation methods . This allows you to create a new dynamic measure and use it in the chart.
The technical name and the label are generated automatically. You can then adjust the generated label in the Property Panel.
-
Click Add
As a result, you can see the following changes applied:
- A new
UI.Chart
and a newUI.ReferenceFacet
with anannotationPath
pointing to the createdUI.Chart
is added to the existingUI.Facets
. - If you chose to create a new measure,
@Analytics.AggregatedProperty
is applied to the selected aggregable property with your chosen aggregation method. - If not yet available, a new
UI.Facets
annotation is created under the entity associated with that Object Page. - If
UI.Facets
exists on an underlying layer, the annotation in the underlying layer is overridden. - For CAP CDS, a using statement is added to the overridden file if not yet there.
- A new
You can delete a section that is not required to be displayed in the UI.
To delete the section in the application, perform the following steps:
- Navigate to the section node in the outline.
- Click the 🗑️ (Delete) icon to open the Delete Confirmation popup window.
- Click Delete to confirm the action.
This action deletes the generated
UI.ReferenceFacet
from theUI.Facets
collection.The
UI.Chart
annotation is cleaned up during the cleanup procedure.
You can update the properties of the chart and define optional properties in the Property Panel. For the information on changing the section label, see Change Form Section Label.
For the information on maintaining other chart properties, see Maintain Analytical Chart Properties.
Hidden
For more information see, Hidden.