Skip to content

Commit eb63715

Browse files
author
nicogeburek
committed
remove backticks from titles and code
1 parent dc48551 commit eb63715

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tutorials/sapui5-fiori-cf-data-visualization/sapui5-fiori-cf-data-visualization.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Visualize Data from the Northwind Service
3-
description: Learn how to visualize data with a `VizFrame`.
3+
description: Learn how to visualize data with a VizFrame.
44
auto_validation: true
55
time: 20
66
tags: [ tutorial>beginner, programming-tool>sapui5, software-product>sap-launchpad-service, software-product>sap-fiori, topic>user-interface, programming-tool>html5, topic>cloud, tutorial>free-tier]
@@ -51,7 +51,7 @@ As you can see in the log, the generator created a new view with its correspondi
5151

5252
[DONE]
5353
[ACCORDION-END]
54-
[ACCORDION-BEGIN [Step : ](Add the `VizFrame`)]
54+
[ACCORDION-BEGIN [Step : ](Add the VizFrame)]
5555

5656
The `webapp/view/Sales.view.xml` will hold the `VizFrame` that visualizes the data from the Northwind Service. **Remove** the entire content view and replace it with the below code.
5757

@@ -71,9 +71,9 @@ The `webapp/view/Sales.view.xml` will hold the `VizFrame` that visualizes the da
7171
<content>
7272
<layout:FixFlex id="chartFixFlex" minFlexSize="250">
7373
<layout:flexContent>
74-
<viz:Popover id="idPopOver" connect="id`VizFrame`"></viz:Popover>
75-
<viz:`VizFrame`
76-
id="id`VizFrame`"
74+
<viz:Popover id="idPopOver" connect="idVizFrame"></viz:Popover>
75+
<viz:VizFrame
76+
id="idVizFrame"
7777
uiConfig="{applicationSet:'fiori'}"
7878
height="100%"
7979
width="100%"
@@ -119,17 +119,17 @@ The `webapp/view/Sales.view.xml` will hold the `VizFrame` that visualizes the da
119119
type="Dimension"
120120
values="ShippedDate" />
121121
</viz:feeds>
122-
</viz:`VizFrame`>
122+
</viz:VizFrame>
123123
</layout:flexContent>
124124
</layout:FixFlex>
125125
</content>
126126
</Page>
127127
</mvc:View>
128128
```
129129

130-
This new code uses additional SAPUI5 libraries that are referenced at the top of the file. These are necessary in order to use the layout and `VizFrame` related controls. If you look at the code closely, you will notice that it defines a new ``VizFrame`` of type `timeseries_line`. The dataset (`FlattenedDataSet`) is bound to the `/Summary_of_Sales_by_Years` entity of the Northwind OData Service. The dimension (`DimensionDefinition`) is `ShippedDate`, which represents time and is therefore of type `date`. The measure (`MeasureDefinition`) is the `Subtotal` of sales.
130+
This new code uses additional SAPUI5 libraries that are referenced at the top of the file. These are necessary in order to use the layout and `VizFrame` related controls. If you look at the code closely, you will notice that it defines a new `VizFrame` of type `timeseries_line`. The dataset (`FlattenedDataSet`) is bound to the `/Summary_of_Sales_by_Years` entity of the Northwind OData Service. The dimension (`DimensionDefinition`) is `ShippedDate`, which represents time and is therefore of type `date`. The measure (`MeasureDefinition`) is the `Subtotal` of sales.
131131

132-
You can read more about `VizFrame`s in the [SAPUI5 API Reference](https://sapui5.hana.ondemand.com/#/api/sap.viz.ui5.controls.`VizFrame`%23overview) and check out some samples in the [SAPUI5 Samples](https://sapui5.hana.ondemand.com/#/entity/sap.viz.ui5.controls.`VizFrame`). `VizFrame`s even have their own [documentation](https://sapui5.hana.ondemand.com/docs/vizdocs/index.html) that lists all available properties, events, bindings, and scales.
132+
You can read more about `VizFrame`s in the [SAPUI5 API Reference](https://sapui5.hana.ondemand.com/#/api/sap.viz.ui5.controls.VizFrame%23overview) and check out some samples in the [SAPUI5 Samples](https://sapui5.hana.ondemand.com/#/entity/sap.viz.ui5.controls.VizFrame). `VizFrame`s even have their own [documentation](https://sapui5.hana.ondemand.com/docs/vizdocs/index.html) that lists all available properties, events, bindings, and scales.
133133

134134
[DONE]
135135
[ACCORDION-END]
@@ -154,9 +154,9 @@ sap.ui.define([
154154

155155
return Controller.extend("tutorial.products.controller.Sales", {
156156
onAfterRendering: function () {
157-
const o`VizFrame` = this.o`VizFrame` = this.getView().byId("id`VizFrame`");
157+
const oVizFrame = this.oVizFrame = this.getView().byId("idVizFrame");
158158
const oPopOver = this.getView().byId("idPopOver");
159-
oPopOver.connect(o`VizFrame`.getVizUid());
159+
oPopOver.connect(oVizFrame.getVizUid());
160160
}
161161
});
162162
});

0 commit comments

Comments
 (0)