@sapui5/sap.suite.ui.microchart 1.98.0 → 1.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/suite/ui/microchart/.library +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/BulletMicroChart.js +5 -4
- package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChart.js +6 -4
- package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChartRenderer.js +4 -4
- package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ComparisonMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChartRenderer.js +7 -7
- package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveDonutChartRenderer.js +6 -6
- package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveLineChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveLineChartRenderer.js +8 -8
- package/src/sap/suite/ui/microchart/LineMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartLine.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartRenderer.js +10 -10
- package/src/sap/suite/ui/microchart/MicroChartUtils.js +1 -1
- package/src/sap/suite/ui/microchart/RadialMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/RadialMicroChartRenderer.js +6 -3
- package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +7 -8
- package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChartRenderer.js +6 -6
- package/src/sap/suite/ui/microchart/library.js +22 -24
- package/src/sap/suite/ui/microchart/messagebundle_bg.properties +2 -2
- package/src/sap/suite/ui/microchart/messagebundle_th.properties +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_dark/library.source.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/AreaMicroChart.less +12 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/BulletMicroChart.less +54 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ColumnMicroChart.less +14 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ComparisonMicroChart.less +43 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/DeltaMicroChart.less +12 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/HarveyBallMicroChart.less +18 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveBarChart.less +80 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveDonutChart.less +97 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveLineChart.less +84 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/LineMicroChart.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/RadialMicroChart.less +41 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/SharedStyles.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/StackedBarMicroChart.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/library.source.less +23 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/AreaMicroChart.less +12 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/BulletMicroChart.less +54 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ColumnMicroChart.less +14 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ComparisonMicroChart.less +43 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/DeltaMicroChart.less +12 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/HarveyBallMicroChart.less +18 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveBarChart.less +80 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveDonutChart.less +97 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveLineChart.less +84 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/LineMicroChart.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/RadialMicroChart.less +41 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/SharedStyles.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/StackedBarMicroChart.less +8 -0
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/library.source.less +23 -0
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.101.0
|
|
39
39
|
* @since 1.34
|
|
40
40
|
*
|
|
41
41
|
* @public
|
|
@@ -363,7 +363,7 @@ sap.ui.define([
|
|
|
363
363
|
* @private
|
|
364
364
|
* @param {object} canvasDimensions The canvas' calculated dimensions object.
|
|
365
365
|
* @param {boolean} targetColor Flag indicating render target.
|
|
366
|
-
* @returns {
|
|
366
|
+
* @returns {string} The CSS class used for line color.
|
|
367
367
|
*/
|
|
368
368
|
AreaMicroChart.prototype._getItemColor = function(canvasDimensions, targetColor) {
|
|
369
369
|
var sItemColor;
|
|
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
17
17
|
* Displays or hides the labels for start and end dates, start and end values, and minimum and maximum values.
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
19
|
*
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.101.0
|
|
21
21
|
* @since 1.34
|
|
22
22
|
*
|
|
23
23
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* {@link sap.ui.core.RenderManager}.
|
|
25
25
|
*
|
|
26
26
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
27
|
-
* @param {sap.ui.
|
|
27
|
+
* @param {sap.suite.ui.microchart.AreaMicroChart} oControl The control to be rendered
|
|
28
28
|
*/
|
|
29
29
|
AreaMicroChartRenderer.render = function(oRm, oControl) {
|
|
30
30
|
if (!oControl._bThemeApplied) {
|
|
@@ -12,7 +12,6 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/Device",
|
|
13
13
|
"sap/ui/core/ResizeHandler",
|
|
14
14
|
"sap/ui/events/KeyCodes",
|
|
15
|
-
"sap/m/Size",
|
|
16
15
|
"sap/suite/ui/microchart/MicroChartUtils",
|
|
17
16
|
"./BulletMicroChartRenderer"
|
|
18
17
|
], function(
|
|
@@ -24,11 +23,13 @@ sap.ui.define([
|
|
|
24
23
|
Device,
|
|
25
24
|
ResizeHandler,
|
|
26
25
|
KeyCodes,
|
|
27
|
-
Size,
|
|
28
26
|
MicroChartUtils
|
|
29
27
|
) {
|
|
30
28
|
"use strict";
|
|
31
29
|
|
|
30
|
+
// shortcut for sap.m.Size
|
|
31
|
+
var Size = MobileLibrary.Size;
|
|
32
|
+
|
|
32
33
|
/**
|
|
33
34
|
* Constructor for a new BulletMicroChart control.
|
|
34
35
|
*
|
|
@@ -40,7 +41,7 @@ sap.ui.define([
|
|
|
40
41
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
|
|
41
42
|
* @extends sap.ui.core.Control
|
|
42
43
|
*
|
|
43
|
-
* @version 1.
|
|
44
|
+
* @version 1.101.0
|
|
44
45
|
* @since 1.34
|
|
45
46
|
*
|
|
46
47
|
* @public
|
|
@@ -55,7 +56,7 @@ sap.ui.define([
|
|
|
55
56
|
* The size of the microchart. If not set, the default size is applied based on the size of the device tile.
|
|
56
57
|
* Responsive size takes width and height of the parent container where the bullet micro chart is included.
|
|
57
58
|
*/
|
|
58
|
-
size: {type: "sap.m.Size", group: "Misc", defaultValue:
|
|
59
|
+
size: {type: "sap.m.Size", group: "Misc", defaultValue: Size.Auto},
|
|
59
60
|
|
|
60
61
|
/**
|
|
61
62
|
* The mode of displaying the actual value itself or the delta between the actual value and the target value. If not set, the actual value is displayed.
|
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/thirdparty/jquery",
|
|
9
9
|
"./library",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
-
"sap/m/Size",
|
|
12
11
|
"sap/ui/Device",
|
|
13
12
|
"sap/ui/core/ResizeHandler",
|
|
14
13
|
"sap/base/Log",
|
|
@@ -18,9 +17,12 @@ sap.ui.define([
|
|
|
18
17
|
"./ColumnMicroChartRenderer",
|
|
19
18
|
// jQuery custom selectors ":focusable"
|
|
20
19
|
"sap/ui/dom/jquery/Selectors"
|
|
21
|
-
], function(jQuery, library, Control,
|
|
20
|
+
], function(jQuery, library, Control, Device, ResizeHandler, Log, KeyCodes, MicroChartUtils, mobileLibrary) {
|
|
22
21
|
"use strict";
|
|
23
22
|
|
|
23
|
+
// shortcut for sap.m.Size
|
|
24
|
+
var Size = mobileLibrary.Size;
|
|
25
|
+
|
|
24
26
|
// shortcut for sap.m.ValueColor
|
|
25
27
|
var ValueColor = mobileLibrary.ValueColor;
|
|
26
28
|
|
|
@@ -36,7 +38,7 @@ sap.ui.define([
|
|
|
36
38
|
* @extends sap.ui.core.Control
|
|
37
39
|
*
|
|
38
40
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
41
|
+
* @version 1.101.0
|
|
40
42
|
* @since 1.34
|
|
41
43
|
*
|
|
42
44
|
* @public
|
|
@@ -51,7 +53,7 @@ sap.ui.define([
|
|
|
51
53
|
* The size of the microchart. If not set, the default size is applied based on the size of the device tile.
|
|
52
54
|
* Responsive size takes width and height of the parent container where the column micro chart is included.
|
|
53
55
|
*/
|
|
54
|
-
size: {group: "Misc", type: "sap.m.Size", defaultValue:
|
|
56
|
+
size: {group: "Misc", type: "sap.m.Size", defaultValue: Size.Auto},
|
|
55
57
|
|
|
56
58
|
/**
|
|
57
59
|
* The width of the chart. Overrides the width specified in the <code>size</code> property.
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
sap.ui.define([
|
|
7
|
-
|
|
7
|
+
'./library',
|
|
8
8
|
'sap/suite/ui/microchart/MicroChartRenderUtils',
|
|
9
9
|
'sap/ui/core/theming/Parameters',
|
|
10
10
|
'sap/m/library',
|
|
11
|
-
|
|
11
|
+
'sap/ui/thirdparty/jquery'
|
|
12
12
|
],
|
|
13
|
-
function(library, MicroChartRenderUtils, Parameters, mobileLibrary) {
|
|
13
|
+
function(library, MicroChartRenderUtils, Parameters, mobileLibrary, jQuery) {
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
16
|
// shortcut for sap.m.ValueColor
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* {@link sap.ui.core.RenderManager}.
|
|
35
35
|
*
|
|
36
36
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
37
|
-
* @param {sap.ui.
|
|
37
|
+
* @param {sap.suite.ui.microchart.ColumnMicroChart} oControl the control to be rendered
|
|
38
38
|
*/
|
|
39
39
|
ColumnMicroChartRenderer.render = function(oRm, oControl) {
|
|
40
40
|
if (!oControl._bThemeApplied) {
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
35
|
*
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.101.0
|
|
37
37
|
* @since 1.34
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
@@ -743,7 +743,7 @@ sap.ui.define([
|
|
|
743
743
|
* If yes, do not show the label
|
|
744
744
|
*
|
|
745
745
|
* @private
|
|
746
|
-
* @param {
|
|
746
|
+
* @param {string} classSelector The class selector
|
|
747
747
|
*/
|
|
748
748
|
ComparisonMicroChart.prototype._hideTruncatedLabels = function(classSelector) {
|
|
749
749
|
var $this = this.$();
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @param {sap.ui.core.RenderManager} oRm
|
|
31
31
|
* the RenderManager that can be used for writing to
|
|
32
32
|
* the Render-Output-Buffer
|
|
33
|
-
* @param {sap.ui.
|
|
33
|
+
* @param {sap.suite.ui.microchart.ComparisonMicroChart} oControl
|
|
34
34
|
* the control to be rendered
|
|
35
35
|
*/
|
|
36
36
|
ComparisonMicroChartRenderer.render = function (oRm, oControl) {
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* {@link sap.ui.core.RenderManager}.
|
|
30
30
|
*
|
|
31
31
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
32
|
-
* @param {sap.ui.
|
|
32
|
+
* @param {sap.suite.ui.microchart.DeltaMicroChart} oControl The control to be rendered
|
|
33
33
|
*/
|
|
34
34
|
DeltaMicroChartRenderer.render = function(oRm, oControl) {
|
|
35
35
|
function getDir(bLeft) {
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.101.0
|
|
39
39
|
* @since 1.34
|
|
40
40
|
*
|
|
41
41
|
* @public
|
|
@@ -224,7 +224,7 @@ sap.ui.define([
|
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Overrides the getTooltip_AsString function from {@link sap.ui.core.Element}
|
|
227
|
-
* @param {boolean} True if the chart is active, false if not.
|
|
227
|
+
* @param {boolean} bIsActive True if the chart is active, false if not.
|
|
228
228
|
* @returns {object|string} tooltip text as string.
|
|
229
229
|
* @private
|
|
230
230
|
*/
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
36
36
|
*
|
|
37
37
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render - Output - Buffer
|
|
38
|
-
* @param {sap.ui.
|
|
38
|
+
* @param {sap.suite.ui.microchart.HarveyBallMicroChart} oControl the control to be rendered
|
|
39
39
|
*/
|
|
40
40
|
HarveyBallMicroChartRenderer.render = function (oRm, oControl) {
|
|
41
41
|
HarveyBallMicroChart = HarveyBallMicroChart || sap.ui.require("sap/suite/ui/microchart/HarveyBallMicroChart");
|
|
@@ -32,7 +32,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
32
32
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
33
33
|
*
|
|
34
34
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
35
|
-
* @param {sap.ui.
|
|
35
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
36
36
|
*/
|
|
37
37
|
InteractiveBarChartRenderer.render = function(oRm, oControl) {
|
|
38
38
|
if (!oControl._bThemeApplied) {
|
|
@@ -84,7 +84,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
84
84
|
* Renders the HTML for the given bar, using the provided {@link sap.ui.core.RenderManager}.
|
|
85
85
|
*
|
|
86
86
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
87
|
-
* @param {sap.ui.
|
|
87
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
88
88
|
* @param {sap.suite.ui.microchart.InteractiveBarChartBar} bar The bar segment to be rendered
|
|
89
89
|
* @param {int} barIndex The index of the bar inside the bars aggregation
|
|
90
90
|
* @param {int} barsCount The total number of displayed bars
|
|
@@ -186,7 +186,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
186
186
|
* Renders the HTML for the given bar direction, using the provided {@link sap.ui.core.RenderManager}.
|
|
187
187
|
*
|
|
188
188
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
189
|
-
* @param {sap.ui.
|
|
189
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
190
190
|
* @param {sap.suite.ui.microchart.InteractiveBarChartBar} bar The bar segment to be rendered
|
|
191
191
|
* @param {int} barIndex The index of the bar inside the bars aggregation
|
|
192
192
|
* @param {string} displayValue The bar value to be displayed
|
|
@@ -218,7 +218,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
218
218
|
* Renders the value to be displayed for the given bar, using the provided {@link sap.ui.core.RenderManager}.
|
|
219
219
|
*
|
|
220
220
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
221
|
-
* @param {sap.ui.
|
|
221
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
222
222
|
* @param {sap.suite.ui.microchart.InteractiveBarChartBar} bar The bar segment to be rendered
|
|
223
223
|
* @param {string} controlId The id of the control to be rendered
|
|
224
224
|
* @param {int} barIndex The index of the bar inside the bars aggregation
|
|
@@ -262,7 +262,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
262
262
|
* Renders an additional disabling overlay.
|
|
263
263
|
*
|
|
264
264
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
265
|
-
* @param {sap.ui.
|
|
265
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
266
266
|
* @private
|
|
267
267
|
*/
|
|
268
268
|
InteractiveBarChartRenderer.renderDisabledOverlay = function(oRm, oControl) {
|
|
@@ -276,7 +276,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
276
276
|
* Creates the value to be displayed for the given bar.
|
|
277
277
|
*
|
|
278
278
|
* @param {sap.suite.ui.microchart.InteractiveBarChartBar} bar The bar segment to be rendered
|
|
279
|
-
* @param {sap.ui.
|
|
279
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
280
280
|
* @returns {string} The display value for the bar
|
|
281
281
|
* @private
|
|
282
282
|
*/
|
|
@@ -296,7 +296,7 @@ sap.ui.define([ "sap/m/library" ],
|
|
|
296
296
|
/**
|
|
297
297
|
* Creates the value of the aria-describedby accessibility attribute
|
|
298
298
|
*
|
|
299
|
-
* @param {sap.ui.
|
|
299
|
+
* @param {sap.suite.ui.microchart.InteractiveBarChart} oControl The control to be rendered
|
|
300
300
|
* @param {int} barsNum The amount of bars
|
|
301
301
|
* @returns {string} A comma-separated list of all InteractionArea's IDs
|
|
302
302
|
* @private
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
36
36
|
*
|
|
37
37
|
* @param {sap.ui.core.RenderManager} oRm RenderManager that can be used for writing to the Render-Output-Buffer
|
|
38
|
-
* @param {sap.ui.
|
|
38
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
41
|
InteractiveDonutChartRenderer.render = function(oRm, oControl) {
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
* Renders the HTML for the donut.
|
|
101
101
|
*
|
|
102
102
|
* @param {sap.ui.core.RenderManager} oRm RenderManager that can be used for writing to the Render-Output-Buffer
|
|
103
|
-
* @param {sap.ui.
|
|
103
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
104
104
|
* @param {int} segmentsNum The amount of segments
|
|
105
105
|
* @private
|
|
106
106
|
*/
|
|
@@ -196,7 +196,7 @@ sap.ui.define([
|
|
|
196
196
|
* Renders the HTML for the legend.
|
|
197
197
|
*
|
|
198
198
|
* @param {sap.ui.core.RenderManager} oRm RenderManager that can be used for writing to the Render-Output-Buffer
|
|
199
|
-
* @param {sap.ui.
|
|
199
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
200
200
|
* @param {int} segmentsNum The amount of segments
|
|
201
201
|
* @private
|
|
202
202
|
*/
|
|
@@ -216,7 +216,7 @@ sap.ui.define([
|
|
|
216
216
|
* Renders the legend area for the given control.
|
|
217
217
|
*
|
|
218
218
|
* @param {sap.ui.core.RenderManager} oRm RenderManager that can be used for writing to the Render-Output-Buffer
|
|
219
|
-
* @param {sap.ui.
|
|
219
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
220
220
|
* @param {int} index The index inside segments aggregation
|
|
221
221
|
* @param {int} segmentsNum The amount of segments
|
|
222
222
|
* @private
|
|
@@ -437,7 +437,7 @@ sap.ui.define([
|
|
|
437
437
|
/**
|
|
438
438
|
* Calculates the sum of the values of the first displayed segments.
|
|
439
439
|
*
|
|
440
|
-
* @param {sap.ui.
|
|
440
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
441
441
|
* @returns {float} The sum of the values of the first displayed segments
|
|
442
442
|
* @private
|
|
443
443
|
*/
|
|
@@ -483,7 +483,7 @@ sap.ui.define([
|
|
|
483
483
|
/**
|
|
484
484
|
* Creates the value of the aria-describedby accessibility attribute
|
|
485
485
|
*
|
|
486
|
-
* @param {sap.ui.
|
|
486
|
+
* @param {sap.suite.ui.microchart.InteractiveDonutChart} oControl The control to be rendered
|
|
487
487
|
* @param {int} segmentsNum The amount of segments
|
|
488
488
|
* @returns {string} A comma-separated list of all InteractionArea's IDs
|
|
489
489
|
* @private
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* The InteractiveLineChart control belongs to a chart control group in the MicroChart library having a number of interactive features.
|
|
42
42
|
* @extends sap.ui.core.Control
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.101.0
|
|
45
45
|
*
|
|
46
46
|
* @public
|
|
47
47
|
* @since 1.42.0
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
21
21
|
*
|
|
22
22
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render - Output - Buffer
|
|
23
|
-
* @param {sap.ui.
|
|
23
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl the control to be rendered
|
|
24
24
|
*/
|
|
25
25
|
InteractiveLineChartRenderer.render = function (oRm, oControl) {
|
|
26
26
|
if (!oControl._bThemeApplied) {
|
|
@@ -133,7 +133,7 @@ sap.ui.define([
|
|
|
133
133
|
* Renders the HTML for the given point, using the provided {@link sap.ui.core.RenderManager}.
|
|
134
134
|
*
|
|
135
135
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
136
|
-
* @param {sap.ui.
|
|
136
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
137
137
|
* @param {int} index The index of the point to be rendered inside the points aggregation
|
|
138
138
|
* @param {int} pointsLength The amount of points to be displayed
|
|
139
139
|
* @param {int} percentageWidth The width of the current point expressed in percentage from the total available chart width
|
|
@@ -219,7 +219,7 @@ sap.ui.define([
|
|
|
219
219
|
* Renders the HTML for the given chart canvas, using the provided {@link sap.ui.core.RenderManager}.
|
|
220
220
|
*
|
|
221
221
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
222
|
-
* @param {sap.ui.
|
|
222
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
223
223
|
* @param {int} displayedPoints The amount of points to be displayed
|
|
224
224
|
* @param {int} percentageWidth The width corresponding to each point expressed in percentage from the total available chart width
|
|
225
225
|
* @private
|
|
@@ -284,7 +284,7 @@ sap.ui.define([
|
|
|
284
284
|
* Renders the label to be displayed for the current point, using the provided {@link sap.ui.core.RenderManager}.
|
|
285
285
|
*
|
|
286
286
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
287
|
-
* @param {sap.ui.
|
|
287
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
288
288
|
* @param {int} index The index of the point to be rendered inside the points aggregation
|
|
289
289
|
* @param {int} pointsLength The amount of points to be displayed
|
|
290
290
|
* @returns {string} The value of the aria-label accessibility attribute
|
|
@@ -352,7 +352,7 @@ sap.ui.define([
|
|
|
352
352
|
* Renders an additional disabling overlay.
|
|
353
353
|
*
|
|
354
354
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the rendering buffer
|
|
355
|
-
* @param {sap.ui.
|
|
355
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
356
356
|
* @private
|
|
357
357
|
*/
|
|
358
358
|
InteractiveLineChartRenderer._renderDisabledOverlay = function (oRm, oControl) {
|
|
@@ -365,7 +365,7 @@ sap.ui.define([
|
|
|
365
365
|
/**
|
|
366
366
|
* Creates a space-separated list of one or more defined id attributes on the element(s)
|
|
367
367
|
*
|
|
368
|
-
* @param {sap.ui.
|
|
368
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The parent control of the element(s)
|
|
369
369
|
* @param {int} pointsLength The amount of points
|
|
370
370
|
* @param {string} sIdSuffix The suffix of the element ID
|
|
371
371
|
* @returns {string} A space-separated list of IDs
|
|
@@ -382,7 +382,7 @@ sap.ui.define([
|
|
|
382
382
|
/**
|
|
383
383
|
* Creates the value of the aria-describedby accessibility attribute
|
|
384
384
|
*
|
|
385
|
-
* @param {sap.ui.
|
|
385
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
386
386
|
* @param {int} pointsLength The amount of points
|
|
387
387
|
* @returns {string} A comma-separated list of all PointAreas' IDs
|
|
388
388
|
* @private
|
|
@@ -394,7 +394,7 @@ sap.ui.define([
|
|
|
394
394
|
/**
|
|
395
395
|
* Creates the value of the aria-owns accessibility attribute
|
|
396
396
|
*
|
|
397
|
-
* @param {sap.ui.
|
|
397
|
+
* @param {sap.suite.ui.microchart.InteractiveLineChart} oControl The control to be rendered
|
|
398
398
|
* @param {int} pointsLength The amount of points
|
|
399
399
|
* @returns {string} A space-separated list of all InteractionAreas' IDs
|
|
400
400
|
* @private
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string.
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.101.0
|
|
34
34
|
* @since 1.48.0
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define(["sap/m/library", "sap/suite/ui/microchart/LineMicroChartPoint"],
|
|
|
21
21
|
* Contains the emphasized point of the line micro chart.
|
|
22
22
|
* @extends sap.suite.ui.microchart.LineMicroChartPoint
|
|
23
23
|
*
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.101.0
|
|
25
25
|
* @since 1.48.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|