@sapui5/sap.suite.ui.microchart 1.100.0 → 1.102.1
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 +1 -1
- 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/BulletMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -1
- 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/ComparisonMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.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/InteractiveDonutChart.js +1 -1
- 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/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/RadialMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
- package/src/sap/suite/ui/microchart/library.js +22 -24
package/package.json
CHANGED
|
@@ -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.102.1
|
|
21
21
|
* @since 1.34
|
|
22
22
|
*
|
|
23
23
|
* @public
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
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.
|
|
42
42
|
* @extends sap.ui.core.Control
|
|
43
43
|
*
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.102.1
|
|
45
45
|
* @since 1.34
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
@@ -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.102.1
|
|
37
37
|
* @since 1.34
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
@@ -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.102.1
|
|
45
45
|
*
|
|
46
46
|
* @public
|
|
47
47
|
* @since 1.42.0
|
|
@@ -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.102.1
|
|
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.102.1
|
|
25
25
|
* @since 1.48.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
@@ -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. The aggregated data of the microchart can also be customized.
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.102.1
|
|
34
34
|
* @since 1.44.0
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
@@ -18,17 +18,15 @@ sap.ui.define([
|
|
|
18
18
|
/**
|
|
19
19
|
* UI5 library: sap.suite.ui.microchart.
|
|
20
20
|
*
|
|
21
|
-
* @namespace
|
|
22
|
-
* @
|
|
21
|
+
* @namespace
|
|
22
|
+
* @alias sap.suite.ui.microchart
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.102.1
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
// delegate further initialization of this library to the Core
|
|
29
|
-
sap.ui.getCore().initLibrary({
|
|
27
|
+
var thisLib = sap.ui.getCore().initLibrary({
|
|
30
28
|
name: "sap.suite.ui.microchart",
|
|
31
|
-
version: "1.
|
|
29
|
+
version: "1.102.1",
|
|
32
30
|
// library dependencies
|
|
33
31
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
34
32
|
types: [
|
|
@@ -84,7 +82,7 @@ sap.ui.define([
|
|
|
84
82
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
85
83
|
* @since 1.34
|
|
86
84
|
*/
|
|
87
|
-
|
|
85
|
+
thisLib.AreaMicroChartViewType = {
|
|
88
86
|
|
|
89
87
|
/**
|
|
90
88
|
* The view with labels on the top and bottom.
|
|
@@ -108,7 +106,7 @@ sap.ui.define([
|
|
|
108
106
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
109
107
|
* @since 1.34
|
|
110
108
|
*/
|
|
111
|
-
|
|
109
|
+
thisLib.BulletMicroChartModeType = {
|
|
112
110
|
/**
|
|
113
111
|
* Displays the Actual value.
|
|
114
112
|
* @public
|
|
@@ -130,7 +128,7 @@ sap.ui.define([
|
|
|
130
128
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
131
129
|
* @since 1.34
|
|
132
130
|
*/
|
|
133
|
-
|
|
131
|
+
thisLib.CommonBackgroundType = {
|
|
134
132
|
/**
|
|
135
133
|
* The lightest background color.
|
|
136
134
|
* @public
|
|
@@ -194,7 +192,7 @@ sap.ui.define([
|
|
|
194
192
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel*
|
|
195
193
|
* @since 1.60
|
|
196
194
|
*/
|
|
197
|
-
|
|
195
|
+
thisLib.LineType = {
|
|
198
196
|
/**
|
|
199
197
|
* Solid line.
|
|
200
198
|
* @public
|
|
@@ -222,7 +220,7 @@ sap.ui.define([
|
|
|
222
220
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel*
|
|
223
221
|
* @since 1.62
|
|
224
222
|
*/
|
|
225
|
-
|
|
223
|
+
thisLib.HorizontalAlignmentType = {
|
|
226
224
|
/**
|
|
227
225
|
* Left alignment.
|
|
228
226
|
* @public
|
|
@@ -250,7 +248,7 @@ sap.ui.define([
|
|
|
250
248
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
251
249
|
* @since 1.34
|
|
252
250
|
*/
|
|
253
|
-
|
|
251
|
+
thisLib.ComparisonMicroChartViewType = {
|
|
254
252
|
/**
|
|
255
253
|
* Titles and values are displayed above the bars.
|
|
256
254
|
* @public
|
|
@@ -280,7 +278,7 @@ sap.ui.define([
|
|
|
280
278
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
281
279
|
* @since 1.61
|
|
282
280
|
*/
|
|
283
|
-
|
|
281
|
+
thisLib.DeltaMicroChartViewType = {
|
|
284
282
|
/**
|
|
285
283
|
* Titles are displayed above the bars.
|
|
286
284
|
* @public
|
|
@@ -307,7 +305,7 @@ sap.ui.define([
|
|
|
307
305
|
*
|
|
308
306
|
* @deprecated Since 1.46
|
|
309
307
|
*/
|
|
310
|
-
|
|
308
|
+
thisLib.LoadStateType = {
|
|
311
309
|
/**
|
|
312
310
|
* LoadableView is loading the control.
|
|
313
311
|
* @public
|
|
@@ -333,7 +331,7 @@ sap.ui.define([
|
|
|
333
331
|
Disabled: "Disabled"
|
|
334
332
|
};
|
|
335
333
|
|
|
336
|
-
|
|
334
|
+
thisLib._aStandardMarginClassNames = [
|
|
337
335
|
"sapUiTinyMargin", "sapUiSmallMargin", "sapUiMediumMargin", "sapUiLargeMargin", "sapUiTinyMarginBeginEnd", "sapUiTinyMarginTopBottom", "sapUiSmallMarginBeginEnd",
|
|
338
336
|
"sapUiSmallMarginTopBottom", "sapUiMediumMarginBeginEnd", "sapUiMediumMarginTopBottom", "sapUiLargeMarginBeginEnd", "sapUiLargeMarginTopBottom", "sapUiTinyMarginTop",
|
|
339
337
|
"sapUiTinyMarginBottom", "sapUiTinyMarginBegin", "sapUiTinyMarginEnd", "sapUiSmallMarginTop", "sapUiSmallMarginBottom", "sapUiSmallMarginBegin", "sapUiSmallMarginEnd",
|
|
@@ -346,10 +344,10 @@ sap.ui.define([
|
|
|
346
344
|
* @param {Object} oChart The outer Chart instance wrapper
|
|
347
345
|
* @private
|
|
348
346
|
*/
|
|
349
|
-
|
|
350
|
-
for (var i = 0; i <
|
|
351
|
-
if (oChart.hasStyleClass(
|
|
352
|
-
oChart.removeStyleClass(
|
|
347
|
+
thisLib._removeStandardMargins = function(oChart) {
|
|
348
|
+
for (var i = 0; i < thisLib._aStandardMarginClassNames.length; i++) {
|
|
349
|
+
if (oChart.hasStyleClass(thisLib._aStandardMarginClassNames[i])) {
|
|
350
|
+
oChart.removeStyleClass(thisLib._aStandardMarginClassNames[i]);
|
|
353
351
|
}
|
|
354
352
|
}
|
|
355
353
|
};
|
|
@@ -360,7 +358,7 @@ sap.ui.define([
|
|
|
360
358
|
* @param {Object} oChildChart The inner Chart instance which gets the outer Chart instance wrapper instance context
|
|
361
359
|
* @private
|
|
362
360
|
*/
|
|
363
|
-
|
|
361
|
+
thisLib._passParentContextToChild = function(oChart, oChildChart) {
|
|
364
362
|
if (oChart.data("_parentRenderingContext")) {
|
|
365
363
|
oChildChart.data("_parentRenderingContext", oChart.data("_parentRenderingContext"));
|
|
366
364
|
} else if (typeof oChart.getParent === "function") {
|
|
@@ -374,7 +372,7 @@ sap.ui.define([
|
|
|
374
372
|
* @returns {boolean} True if the tooltip consists of only whitespace characters, false otherwise.
|
|
375
373
|
* @private
|
|
376
374
|
*/
|
|
377
|
-
|
|
375
|
+
thisLib._isTooltipSuppressed = function(tooltip) {
|
|
378
376
|
return tooltip !== null && tooltip !== undefined && !tooltip.trim();
|
|
379
377
|
};
|
|
380
378
|
|
|
@@ -385,7 +383,7 @@ sap.ui.define([
|
|
|
385
383
|
* @param {function} callback The callback function to be called when the control becomes visible
|
|
386
384
|
* @private
|
|
387
385
|
*/
|
|
388
|
-
|
|
386
|
+
thisLib._checkControlIsVisible = function(control, callback) {
|
|
389
387
|
function isControlVisible() {
|
|
390
388
|
return control.getVisible() && control.getDomRef() && control.$().is(":visible") && control.getDomRef().getBoundingClientRect().width !== 0;
|
|
391
389
|
}
|
|
@@ -418,5 +416,5 @@ sap.ui.define([
|
|
|
418
416
|
|
|
419
417
|
|
|
420
418
|
|
|
421
|
-
return
|
|
419
|
+
return thisLib;
|
|
422
420
|
});
|