Format and Style Elements on Story Pages
You can style the appearance of SAP Analytics Cloud story widgets by changing fonts, colors, axis scaling on charts, and so on.
Input controls, charts, tables, and other widgets have their own styling options. You can change background colors or fonts, add borders, set hyperlinks, apply filters, and so on.
How to Access the Styling Options
-
Switch to Edit mode.
-
Select a widget on the page.
-
Open (Styling)in the right toolbar.
The Styling panel displays options available for the selected widget type.
-
Select desired options.
Table Styling: Individual Styling Options and Performance
You can apply many individual styling options in table widgets, whether you are setting different styles for a set of data cells, the title cell, or some other portion of the table. However, too many individual styling options could affect the table's performance.
There is a limit of 500 individual styling options. When you have reached that limit and add additional styling options, you will see a warning message that includes an option to remove all individual styling options. If you don't want to remove all your individual styling options, you can select specific cells and reset them to their default settings.
If you want to apply styling options to your table data, consider using styling rules instead. For more information on styling rules, see Apply Styling Rules for Tables.
Description of the Widget Styling Options
The following table contains all the style properties available for the widget types. However, some properties or a subset of properties may not be available for a specific. For example, while all of the widgets have the Actions “Order” properties, only some widgets have “Rotate” properties.
To find options for a particular widget, filter the Widget column.
Font Styles|
Styling Options |
Description |
Widget |
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Widget |
Background Color: select a background color for this widget.
Border: after you add at least one border line to your widget, you can change the line using the following options.
|
|
|||||||||||||||||||||||||||
|
Actions |
Change the placement of the widget on the canvas.
Order
Rotate
|
|
|||||||||||||||||||||||||||
|
Chart Properties |
Break Scale: If chart scaling is applied to the whole story, enabling this option excludes the selected chart from the scaling. Once enabled, you can change the scaling for the selected chart. For more information, see Change Chart Scaling. Variance Label Alignment: select whether variance labels are above the variance chart or below it. |
Chart |
|||||||||||||||||||||||||||
|
Button Style |
Content: color of the button content. Border: color of the button border. |
Input Control |
|||||||||||||||||||||||||||
|
Data Points |
Select all data points or specific data points, lines, or other options.
Data Point Selection: Line
Fill Color: change the color of the data point or line. |
Chart |
|||||||||||||||||||||||||||
|
Font Chart Text Selection |
Select whether the style change applies to all the text labels or one or more of the following labels.
Standard labels for most chart types:
Labels that apply to specific chart types:
Labels for the Numeric Point chart:
|
Chart |
|||||||||||||||||||||||||||
|
Font |
The font options change based on the widget.
|
|
|||||||||||||||||||||||||||
|
Dynamic Text |
Show excluded values as strikethrough Number of values displayed |
Text |
|||||||||||||||||||||||||||
|
Number Format |
Select (Reset to auto) to undo any changes, and return all number values to the default unit setting. Scale: select how to display the numbers on an axis: whether to show all digits for each data point or choose the number scale to use.
Tooltip Account Scale / Tooltip Measure Scale: choose how to display the number scale for tooltips that are added to a chart:
Scale Format
Measure Selection: choose an included measure to apply the formatting to. (Table) Display unit / Currencies: select whether to display scale units or currencies in the same cell as the numeric value or in a row or column header.
Decimal Places: select the number of decimal places to display.
Show Sign As
|
|
|||||||||||||||||||||||||||
|
Legend |
Placement
Alignment: select how to align the legend in relation to the chart. |
Chart |
|||||||||||||||||||||||||||
|
Labels |
You can change the behavior or style of different labels in your charts.
Axis Label Direction
Axis Label Truncation
Data Label Background Color: use a background color for data labels to improve the readability of the data labels. To use a custom color or to change the opacity of the background color, from the data label color picker, select More and then make your choices.
Data Label
Bubble or Scatterplot: other options available when a Bubble or Scatterplot chart is selected.
Donut or Pie Absolute Value – show labels as absolute value instead of percentage. |
Chart |
|||||||||||||||||||||||||||
|
Axis |
|
Chart |
|||||||||||||||||||||||||||
|
Image Properties |
Select how to handle image scaling:
|
Image |
|||||||||||||||||||||||||||
|
Pictogram Properties |
Use the following options to modify shapes or pictograms in your story.
|
Pictograms |
|||||||||||||||||||||||||||
|
Hyperlink |
Link to another story, page, or external URL from this widget. |
|
|||||||||||||||||||||||||||
|
Table Properties |
Template: Apply a preset template to the table.
Color Fill for Expand Icon: lets you choose the color of the expand icon. This makes it easier to see the expand/collapse arrows in your table after you've changed the background color.
Threshold Style: changes how threshold cell data is displayed.
Row Height: select a predefined height or choose to set a custom height.
|
Table |
|||||||||||||||||||||||||||
|
Style |
When selecting cells to apply style changes to, you can apply the change to an entire region or to specific cells. Regions include Title, Header region, and Data region. You can create a new style which can be applied to cells in the current table, or to cells in other tables in the story.
|
Table |
|||||||||||||||||||||||||||
|
Styling Rules |
Styling rules allow you to make text style changes along a hierarchy, changing styles for sibling, descendant, or child members. For more information, see Apply Styling Rules for Tables. |
Table |
|||||||||||||||||||||||||||
|
Cell |
Merge: Merge cells. Fill: Choose from available colors or choose More to display the color selector and opacity selector. Wrap: Wrap text for a cell or for a column. Add or delete a Row or Column: Select a header region table cell to use these options to add custom rows or columns to the left or above the table area.
The column or row placement will be automatic. When you have multiple dimensions or measures, you can only use the outer header region cells to add rows or columns.
For more information about custom cells, see Use Custom Cells and Cell References in Tables. |
Table |
|||||||||||||||||||||||||||
|
Lines |
Add lines to selected area or cell:
For each line, you can set different values:
|
Table |
Description of the Page Styling Options
Many of the styling options on the story pages are similar to the those for the widgets, including font and background options.
There are some options that are only found on the Responsive and Canvas story pages, but not every option is available on both page types.
|
Styling Option |
Description |
Page |
|---|---|---|
|
Canvas |
Background Color |
Canvas |
|
Lane |
Background Color |
Responsive |
|
Page |
Background Color |
Responsive |
|
Grid |
|
|
|
Dynamic Text |
Show excluded values as strikethrough Number of values displayed |
Responsive |
|
Page Size |
Dynamic pages grow or shrink to accommodate the widgets, while Fixed pages can be set to a specific size.
Size: set a Custom size or select a predetermined size from the list:
Width: set a width between 512 and 7680 pixels. Height: set a height between 384 and 7680 pixels. Orientation: choose landscape or portrait orientation. Continuous Height: select continuous height if you want the height to remain constant. Fit Page to Grid: select to automatically update the width and height settings to align with the grid. |
Canvas |
|
Page Layout |
Show Header Show Footer Margins: select the margins for the canvas between None, Normal, Narrow, or Wide. |
Canvas |
|
Insert |
Add an Image or Shape to the header area. |
Responsive |