Skip to content

Latest commit

 

History

History
89 lines (48 loc) · 3.38 KB

chart-section-3bf8025.md

File metadata and controls

89 lines (48 loc) · 3.38 KB

Chart Section

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:

  1. Click the Object/Form Entry Page to open the Page Editor.

  2. Navigate to the section node in the outline and click the ➕ (Add) icon.

    A drop-down menu displaying currently supported section types is displayed.

  3. 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.

    Note:

    The technical name and the label are generated automatically. You can then adjust the generated label in the Property Panel.

  4. Click Add

    As a result, you can see the following changes applied:

    • A new UI.Chart and a new UI.ReferenceFacet with an annotationPath pointing to the created UI.Chart is added to the existing UI.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.

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:

  1. Navigate to the section node in the outline.
  2. Click the 🗑️ (Delete) icon to open the Delete Confirmation popup window.
  3. Click Delete to confirm the action.

Note:

This action deletes the generated UI.ReferenceFacet from the UI.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.