This article is part of a blog series on Dashboard Design BestPractices, created to assist you in designing and building meaningful dashboards with SAP Analytics Cloud.
Click here to open the Dashboard Design Best-Practices blog series hub page in a new window.
Blog Content
This blog illustrates where to find the template, a step-by-step description of how to customize it and a step-by-step explanation of how to create a logic group from scratch.
Where to find the Template?
In the next chapter, you will learn how to customize the template and quickly achieve your desired goal.
Template Customization
- Add Content to Placeholders
- Remove Placeholders and delete Sections or Widgets
- Adjust Page Content
1. Add Content to Placeholders
Select the button in the placeholder and choose the model you want to use in the dialog that appears.
Add desired measures and dimensions.
A specific chart type is predefined for each placeholder.
However, this can be changed in the Builder Panel.
2. Remove Placeholders and delete Sections or Widgets
To remove a placeholder, select the placeholder, select the three dots and
choose "Remove" from the context menu. Due to the underlying container structure,
the remaining content adapts automatically.
To delete an entire section within the template, you can also use the option to delete it from the outline.
The layout automatically adjusts after deletion.
3. Add Page Content
There are various ways to add more content to the page.The easiest way is to copy and paste existing content and then adapt it.
Step-by Step Example: Copy and Paste a Single Chart in a Logic Group
In the outline, select the panel with the chart that you want to copy
- Use either the keyboard shortcuts “Ctrl + C” on Windows or “Command + C” on Mac, or the Copy function in the toolbar.
- In the outline, select the section where you want to paste the content.
- To paste, use either the keyboard shortcuts “Ctrl + V” on Windows or “Command + V” on Mac, or the Paste function in the toolbar.
After content has been added, you can adjust it in the builder or styling panel.
Example 2:
Step-by Step Example: Copy Existing Logic Group
Select the panel with the logic group that you want to copy, then use the copy functions as described in Example 1.
- Select the section where you want to paste the logic group,
then use the paste functions as described in Example 1.
The FlowLayoutPanel automatically positions the added Logic Group downwards.
Remember, while the contents of the individual sections, which are on one level, are arranged from top to bottom, the presentation in the outline is reversed. Therefore, what is at the top visually is at the bottom in the outline structure.
Build a Logic Group from Scratch
Step 1: Create New Story
- Go to your SAP Analytics Cloud tenant.
- Select Canvas.
Step 2: Add a Panel to the Page
In the toolbar, select the add button > Containers > Panel.
In the styling panel, adopt the values for Size and Position:
Width = 100% I Height = 400px I Left = 0px I Right = auto I Top = 0px I Bottom = auto
Step 3: Add Card Panel in Existing Panel
- Add an additional panel to the first panel.
- To use the Fiori Horizon theme for the panel, enter “card” under CSS Class Name in the styling panel.
Set the Size and Position:
Width = auto I Height = auto I Left = 16px I Right = 16px I Top = 16px I Bottom = 8px
Step 4: Add Panel for Logic Group Header
- Add an additional panel for the header text to the previous panel.
- To get a visual separator, in the CSS Class Name field in the styling panel, add “logic-group__header”.
- Set Size and Position: Width = auto I Height = 48px I Left = 0px I Right = 0px I Top = 0px I
Bottom = auto - Set Corner Radius to 0px.
Step 5: Add Text Element to Header Panel
- Choose Text and enter the name of your logic group.
- To use the Fiori Horizon theme for the header text, in the CSS Class Name field in the styling panel,
add “logic-group__title”. - Set Size and Position:
Width = auto I Height = auto I Left = 16px I Right = individually I Top = 10px I Bottom = 0px
Step 6: Add Flow Layout Panel for Content
- Select Panel_2
- Choose Containers > Flow Layout Panel.
In the styling panel, set Size and Position for the Flow Layout Panel:
Width = auto I Height = auto I Left = 16px I Right = 16px I Top = 58px I Bottom = 8px
Step 7: Add Chart Widget
Insert a chart widget into the flow layout panel.
Select chart type and define the measures and dimensions.
In the styling panel, set Size and Position:
Width = 50% I Height = 100%
Step 8: Copy and paste chart widget
Select the chart that you want to copy.
- Use the Copy function in the toolbar or use the
keyboard shortcuts “Ctrl + C” on Windows or “Command + C” on Mac.
- Select the flow layout panel where you want to paste the chart to.
Use the Paste function in the toolbar or use the keyboard shortcuts “Ctrl + V” on Windows or “Command + V” on Mac.
Select chart type and define the measures and dimensions.
If you wanted to create a logic group with two chart widgets, this is the result.
Result
Congratulations! Your logic group should now look something like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.