@sapui5/sap.viz 1.119.0 → 1.120.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.viz",
3
- "version": "1.119.0",
3
+ "version": "1.120.0",
4
4
  "description": "SAPUI5 Library sap.viz",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2023 SAP SE. All rights reserved.</copyright>
8
- <version>1.119.0</version>
8
+ <version>1.120.0</version>
9
9
 
10
10
  <documentation>Chart controls based on the SAP BI CVOM charting library</documentation>
11
11
 
@@ -7,8 +7,11 @@
7
7
  * Initialization Code and shared classes of library sap.viz.
8
8
  */
9
9
  sap.ui.define([
10
+ "sap/base/i18n/Localization",
10
11
  "sap/ui/Device",
11
12
  "sap/ui/core/Core",
13
+ "sap/ui/core/Lib",
14
+ "sap/ui/core/Theming",
12
15
  "sap/ui/core/theming/Parameters",
13
16
  "sap/base/Log",
14
17
  "sap/base/util/ObjectPath",
@@ -33,7 +36,7 @@ sap.ui.define([
33
36
  "sap/viz/ui5/controls/libs/sap-viz-vizservices/sap-viz-vizservices",
34
37
  "sap/ui/thirdparty/require"
35
38
  ],
36
- function(Device, Core, Parameters, Log, ObjectPath, jQuery, CssPlugin, UI5Date) {
39
+ function(Localization, Device, Core, Library, Theming, Parameters, Log, ObjectPath, jQuery, CssPlugin, UI5Date) {
37
40
  "use strict";
38
41
 
39
42
  /**
@@ -43,7 +46,7 @@ sap.ui.define([
43
46
  * @alias sap.viz
44
47
  * @public
45
48
  */
46
- var thisLib = sap.ui.getCore().initLibrary({
49
+ const thisLib = Library.init({
47
50
  name : "sap.viz",
48
51
  dependencies : ["sap.ui.core"],
49
52
  types: [
@@ -249,7 +252,7 @@ sap.ui.define([
249
252
 
250
253
  //@@end generated-elements-list
251
254
  ],
252
- version: "1.119.0"
255
+ version: "1.120.0"
253
256
  });
254
257
 
255
258
  //@@begin generated-enums
@@ -1757,7 +1760,11 @@ sap.ui.define([
1757
1760
  window.define("css", new CssPlugin());
1758
1761
  }
1759
1762
 
1760
- function initLegacySupport() {
1763
+ /**
1764
+ * The function declaration for initLegacySupport() and its only call converted to an immediately invoked function expression (IIFE).
1765
+ * @deprecated
1766
+ */
1767
+ (function() {
1761
1768
  var LEGACY_NAMES = {
1762
1769
  "sap.viz.core.BaseChart" : "sap.viz.ui5.core.BaseChart",
1763
1770
  "sap.viz.core.BaseStructuredType" : "sap.viz.ui5.core.BaseStructuredType",
@@ -1802,15 +1809,13 @@ sap.ui.define([
1802
1809
  // create stubs for the enum types (static classes)
1803
1810
  var oLibrary = Core.getLoadedLibraries()["sap.viz"];
1804
1811
  if (oLibrary && oLibrary.types) {
1805
- jQuery.each(oLibrary.types, function(idx, sName) {
1812
+ oLibrary.types.forEach(function(sName) {
1806
1813
  if (sName.indexOf("sap.viz.ui5.types.") === 0) {
1807
1814
  ObjectPath.set("sap.viz.types." + sName.slice("sap.viz.ui5.types.".length), ObjectPath.get(sName || ""));
1808
1815
  }
1809
1816
  });
1810
1817
  }
1811
- }
1812
-
1813
- initLegacySupport();
1818
+ }());
1814
1819
 
1815
1820
  var bChartResourceRequested = false;
1816
1821
  var vizContainerInfo = {
@@ -1907,7 +1912,7 @@ sap.ui.define([
1907
1912
  // Theme
1908
1913
  if (pathVizControls) {
1909
1914
  sap.viz.api.env.Resource.path("sap.viz.api.env.Template.loadPaths", [sap.ui.require.toUrl("sap/viz/resources/chart/templates") + "/"]);
1910
- Core.attachThemeChanged(function(evt) {
1915
+ Theming.attachApplied(function(evt) {
1911
1916
  thisLib._applyTheme();
1912
1917
  });
1913
1918
  thisLib._applyTheme();
@@ -2028,11 +2033,10 @@ sap.ui.define([
2028
2033
 
2029
2034
  thisLib._applyLocale = function(callback) {
2030
2035
  // Get locale from ui5
2031
- var oConfig = Core.getConfiguration();
2032
- var oLocale = oConfig.getLocale();
2033
- var sVIZLanguageId = oLocale.getLanguage();
2036
+ var oLocale = Localization.getLanguageTag();
2037
+ var sVIZLanguageId = oLocale.language;
2034
2038
  if (sVIZLanguageId === 'zh') {
2035
- sVIZLanguageId = (oConfig.getSAPLogonLanguage() === 'ZH') ? 'zh_CN' : 'zh_TW';
2039
+ sVIZLanguageId = (Localization.getSAPLogonLanguage() === 'ZH') ? 'zh_CN' : 'zh_TW';
2036
2040
  }
2037
2041
  // Set locale to viz
2038
2042
  sap.viz.api.env.Locale.set(sVIZLanguageId, function() {
@@ -2040,7 +2044,7 @@ sap.ui.define([
2040
2044
  callback();
2041
2045
  }
2042
2046
  });
2043
- Log.info("VIZ: env initialized (locale=" + Core.getConfiguration().getLanguage() + ")");
2047
+ Log.info("VIZ: env initialized (locale=" + Localization.getLanguage() + ")");
2044
2048
  };
2045
2049
 
2046
2050
  return thisLib;
@@ -1,4 +1,4 @@
1
- /* SAP CVOM 4.0 © <2012-2014> SAP SE. All rights reserved. Build Version 7.37.0-SNAPSHOT, Build Context N/A */
1
+ /* SAP CVOM 4.0 © <2012-2014> SAP SE. All rights reserved. Build Version 7.37.0-SNAPSHOT, Build Context cvom_html_bycheckin-master.64 */
2
2
  sap.viz.extapi.env.Language.register({id:'language',value: {IDS_BASESINGLECHART:"Base Single Chart",IDS_MULTIDUALLINECHART:"Multiple Line Chart with 2 Y-Axes",IDS_TRELLISCOMBINATIONEXCHART:"Trellis Combination Chart",IDS_HORIZONTALAREACHART:"Horizontal Area Chart",IDS_BULLETFORECASTVALUES:"Forecast Values",IDS_TRELLISPERCENTAGEHORIZONTALAREACHART:"Trellis 100% Horizontal Area Chart",IDS_ANIMATION:"animation",IDS_COLORING_TYPE_POSITIVE:"Good",IDS_INVALID_DATE:"Invalid date",IDS_ITEM_SELECTED:"item selected",IDS_MULTIHORIZONTALAREACHART:"Multiple Horizontal Area Chart",IDS_GRIDVISIBLE:"gridVisible",IDS_ENABLEROUNDCORNER:"enableRoundCorner",IDS_TREECHART:"Tree",IDS_TRELLISHORIZONTALLINECHART:"Trellis Horizontal Line Chart",IDS_MULTISTACKEDBARCHART:"Multiple Stacked Bar Chart",IDS_RADARAXESVALUE:"Radar Axes Values",IDS_MULTIPIEWITHDEPTHCHART:"Multiple Pie with Depth Chart",IDS_TRELLISBARCHART:"Trellis Bar Chart",IDS_PIESECTORCOLORNAME:"Sector Color",IDS_TRELLISDUALPERCENTAGESTACKEDBARCHART:"Trellis 100% Stacked Bar Chart with 2 X-Axes",IDS_TIMEVALUEBUBBLECHART:"Time Bubble Chart",IDS_FORMAT:"Format",IDS_SECONDARYAXISLABELNAME:"Secondary Category Axis",IDS_LABEL:"Label",IDS_TRELLISPERCENTAGESTACKEDBARCHART:"Trellis 100% Stacked Bar Chart",IDS_SECONDARYVALUES:"Secondary Values",IDS_DATA_FRAME:"Data Frame",IDS_SEMANTIC_DEFAULT_TITLE:"Semantic Rules",IDS_TIMEBUBBLECHART:"Time Bubble Chart",IDS_COLORING_TYPE_NEUTRAL:"Neutral",IDS_NETLINK:"Network Link",IDS_MULTIPIECHART:"Multiple Pie Chart",IDS_VARIANTBARCHART:"Variant Bar Chart (POC)",IDS_MULTISTACKEDVERTICALBARCHART:"Multiple Stacked Column Chart",IDS_TRELLISAREACHART:"Trellis Area Chart",IDS_MULTIVERTICALBARCHART:"Multiple Column Chart",IDS_INCREASING:"Increasing",IDS_STACKEDVERTICALBARCHART:"Stacked Column Chart",IDS_MULTIPERCENTAGESTACKEDBARCHART:"Multiple 100% Stacked Bar Chart",IDS_VALUE_AXIS:"Value Axis",IDS_ABOVE_IS_GOOD:"Above is Good",IDS_TIMESERIESCOLUMNCHART:"Column Chart for Date/Time Series",IDS_MULTIDUALSTACKEDVERTICALBARCHART:"Multiple Stacked Column Chart with 2 Y-Axes",IDS_TRELLISHORIZONTALCOMBINATIONCHART:"Trellis Combined Bar Line Chart",IDS_SCATTERMATRIXCHART:"Scatter Matrix Chart",IDS_ENDCOLUMN:"endColumn",IDS_DUALSTACKEDVERTICALBARCHART:"Stacked Column Chart with 2 Y-Axes",IDS_DEFAULTMND:"All Measures",IDS_VALUE_SELECTED:"value selected",IDS_MARKERS:"Markers",IDS_TAGFAMILY:"Tags Family",IDS_POSITIVE_INFINITY:"+Infinity",IDS_PRIMARYVALUES:"Primary Values",IDS_DONUTWITHDEPTHCHART:"Doughnut with Depth Chart",IDS_LEGEND_TITLE:"Title of Legend",IDS_TREENODE:"Tree Node",IDS_VERTICALBULLETCHART:"Vertical Bullet Chart",IDS_FISCALPERIOD:"Fiscal Period",IDS_CATEGORY_AXIS2:"Category Axis 2",IDS_MULTIDUALHORIZONTALLINECHART:"Multiple Horizontal Line Chart with 2 X-Axes",IDS_TRELLISBULLETCHART:"Trellis Bullet Chart",IDS_MULTIDUALPERCENTAGESTACKEDVERTICALBARCHART:"Multiple 100% Stacked Column Chart with 2 Y-Axes",IDS_MULTIDONUTWITHDEPTHCHART:"Multiple Doughnut with Depth Chart",IDS_AUTOBINNINGOTHERS:"Others",IDS_PIESECTORSIZE:"Sector Size",IDS_COMBINATIONCHART:"Combined Column Line Chart",IDS_COLORING_TYPE_OTHER:"Other",IDS_COLUMNCONFIG:"columnConfig",IDS_MULTIDUALBARCHART:"Multiple Bar Chart with 2 X-Axes",IDS_TAGNAME:"Tags Name",IDS_STARTCOLOR:"startcolor",IDS_PERCENTAGESTACKEDBARCHART:"100% Stacked Bar Chart",IDS_STARTCOLUMN:"startColumn",IDS_TYPE:"Type",IDS_DUALHORIZONTALLINECHART:"Horizontal Line Chart with 2 X-Axes",IDS_NUMBERCHART_VALUE:"Value",IDS_TRELLISSTACKEDCOLUMNCHART:"Trellis Stacked Column Chart",IDS_SHAPE:"Shape",IDS_VERTICALBOXPLOTCHART:"Box Plot",IDS_BASEHORIZONTALCHART:"Base horizontal XY Chart",IDS_TOOLTIPVISIBLE:"tooltipVisible",IDS_SCATTERCHART:"Scatter Plot",IDS_PERCENTAGEAREACHART:"100% Area Chart",IDS_WATERFALLTYPE:"Waterfall Type",IDS_SEMANTICCOLOROTHERS:"Others",IDS_REGIONCOLOR:"Region Color",IDS_HORIZONTALCOMBINATIONCHART:"Combined Bar Line Chart",IDS_BORDER:"Border",IDS_ITEMS_SELECTED:"items selected",IDS_TRENDLINE_LINEAR:"Linear Regression",IDS_MULTIPERCENTAGEAREACHART:"Multiple 100% Area Chart",IDS_REFERENCEVALUES:"Reference Values",IDS_WATERFALLCHART:"Waterfall Chart",IDS_TRELLISHORIZONTALAREACHART:"Trellis Horizontal Area Chart",IDS_HORIZONTALSTACKEDWATERFALL:"Horizontal Stacked Waterfall Chart",IDS_STACKEDWATERFALLCHART:"Stacked Waterfall Chart",IDS_DUALTIMESERIESCOMBINATIONCHART:"Combined Column Line Chart for Date/Time Series with 2 Y-Axes",IDS_VISIBLE:"visible",IDS_GRIDLINE:"Gridline",IDS_BULLETADDITIONALVALUES:"Additional Values",IDS_SECONDARYVALUESCOLORPALETTE:"secondaryValuesColorPalette",IDS_SIZE:"size",IDS_MULTIBARCHART:"Multiple Bar Chart",IDS_DUALPERCENTAGESTACKEDVERTICALBARCHART:"100% Stacked Column Chart with 2 Y-Axes",IDS_TRELLISSCATTERCHART:"Trellis Scatter Chart",IDS_TARGET:"Target",ID_FORECAST_VALUES:"Forecast Values",IDS_TAGCLOUDCHART:"Tag Cloud",IDS_TARGETVALUES:"Target Values",IDS_LOWCOLUMN:"lowColumn",IDS_TIMESERIESBUBBLECHART:"Bubble Chart for Date/Time Series",IDS_MULTIBUBBLECHART:"Multiple Bubble Chart",IDS_FILLVISIBLE:"fillVisible",IDS_TRELLISDUALPERCENTAGESTACKEDCOLUMNCHART:"Trellis 100% Stacked Column Chart with 2 Y-Axes",IDS_END_OF_PERIOD:"End of Period",IDS_STACKEDBARCHART:"Stacked Bar Chart",IDS_PIECHART:"Pie Chart",IDS_VERTICALBARCHART:"Column Chart",IDS_TIME_FROM:"From",IDS_SPARKLINECHART:"Spark Line Chart (POC)",IDS_TRELLISPERCENTAGESTACKEDCOLUMNCHART:"Trellis 100% Stacked Column Chart",IDS_ISNOVALUE:"No value",IDS_BUBBLEWIDTH:"Bubble Width",IDS_TIMESERIESSCATTERCHART:"Scatter Plot for Date/Time Series",IDS_BUBBLESIZE:"Bubble Size",IDS_HORIZONTALWATERFALLCHART:"Horizontal Waterfall Chart",IDS_TIMESERIESSTACKEDCOMBINATIONCHART:"Combined Stacked Line Chart for Date/Time Series",IDS_VALUEFORMAT:"valueFormat",IDS_PIEWITHDEPTHCHART:"Pie with Depth Chart",IDS_BASEBUBBLECHART:"Base Scatter Chart",IDS_REFINEVISIBLE:"reflineVisible",IDS_TRELLISSTACKEDBARCHART:"Trellis Stacked Bar Chart",IDS_HEATMAPCHART:"Heat Map",IDS_BULLETACTUALVALUES:"Actual Values",IDS_DUALLINECHART:"Line Chart with 2 Y-Axes",IDS_BELOW_IS_BAD:"Below is Bad",IDS_WIDTH:"Width",IDS_HOVERLINEVISIBLE:"hoverlineVisible",IDS_MEKKOCHART:"Marimekko chart",IDS_COMBINATIONEXCHART:"Combination Chart",IDS_HORIZONTALMEKKOCHART:"Horizontal Marimekko Chart",IDS_BASEMULTIPLEXYCHART:"Base Multiple XY Chart",IDS_BUBBLECHART:"Bubble Chart",IDS_TRELLISRADARCHART:"Trellis Radar Chart",IDS_TRELLISVERTICALBULLETCHART:"Trellis Vertical Bullet Chart",IDS_HEADERVISIBLE:"headerVisible",IDS_FISCALYEAR:"Fiscal Year",IDS_LINECHART:"Line Chart",IDS_BUBBLEHEIGHT:"Bubble Height",IDS_PERCENTAGEHORIZONTALMEKKOCHART:"100% Horizontal Marimekko Chart",IDS_NUMBERCHART:"Numeric Point",IDS_PERCENTAGESTACKEDVERTICALBARCHART:"100% Stacked Column Chart",IDS_MARKER:"Marker",IDS_BASEVERTICALCHART:"Base Vertical XY Chart",IDS_SEMANTICTOTAL:"Total",IDS_DIUALLINECHART:"Line Chart with 2 Y-Axes",IDS_TRELLIS_COLUMN:"Trellis Column",IDS_BASEMULTIPLECHART:"Base Multiple Chart",IDS_PERCENTAGEMEKKOCHART:"100% Marimekko Chart",IDS_MULTIDUALVERTICALBARCHART:"Multiple Column Chart with 2 Y-Axes",IDS_DUALCOMBINATIONCHART:"Combined Column Line Chart with 2 Y-Axes",IDS_RADARCHART:"Radar Chart",IDS_TRELLISCOMBINATIONCHART:"Trellis Combined Column Line Chart",IDS_DUALSTACKEDBARCHART:"Stacked Bar Chart with 2 X-Axes",IDS_TRELLISPERCENTAGEAREACHART:"Trellis 100% Area Chart",IDS_TRELLISDUALSTACKEDCOLUMNCHART:"Trellis Stacked Column Chart with 2 Y-Axes",IDS_SELECTABILITY:"Selectability",IDS_AXISVISIBLE:"axisVisible",IDS_DEFAULTCHARTTITLE:"Title of Chart",IDS_MULTIPERCENTAGESTACKEDVERTICALBARCHART:"Multiple 100% Stacked Column Chart",IDS_ERROR_INVALIDE_DATA_MULTIPLEUNITS:"Some measures have different units.",IDS_MULTIDUALSTACKEDBARCHART:"Multiple Stacked Bar Chart with 2 X-Axes",IDS_AXISLABELS:"Axis Labels",IDS_MULTIRADARCHART:"Multiple Radar Chart",IDS_COLORING_TYPE_CRITICAL:"Warning",IDS_TRELLIS_ROW:"Trellis Row",IDS_TIMESERIESBULLETCHART:"Bullet Chart for Date/Time Series",IDS_MULTILINECHART:"Multiple Line Chart",IDS_BARCHART:"Bar Chart",IDS_3D_BAR:"3D Bar Chart",IDS_TRELLISCOLUMNCHART:"Trellis Column Chart",IDS_DATAUPDATING:"dataUpdating",IDS_3D_COLUMN:"3D Column Chart",IDS_TRELLISPIECHART:"Trellis Pie Chart",IDS_HORIZONTALLINECHART:"Horizontal Line Chart",IDS_NETWORKCHART:"Network Chart",IDS_DUALVERTICALBARCHART:"Column Chart with 2 Y-Axes",IDS_DECREASING:"Decreasing",IDS_RECTANGLEWEIGHT:"Rectangle Weight",IDS_PIEDEPTHSIZE:"Depth Size",IDS_MULTIHORIZONTALLINECHART:"Multiple Horizontal Line Chart",IDS_DUALHORIZONTALSTACKEDCOMBINATIONCHART:"Horizontal Combined Stacked Line Chart with 2 X-Axes",IDS_COLOR:"color",IDS_TEXT:"Text",IDS_DUALBARCHART:"Bar Chart with 2 X-Axes",IDS_TRELLISLINECHART:"Trellis Line Chart",IDS_DATALOADING:"dataLoading",IDS_BASECHART:"Base Chart",IDS_HORIZONTALBOXPLOTCHART:"Horizontal Box Plot",IDS_TRELLISDUALCOLUMNCHART:"Trellis Column Chart with 2 Y-Axes",IDS_LINECONFIG:"lineConfig",IDS_VALUES_SELECTED:"values selected",IDS_DUALHORIZONTALCOMBINATIONCHART:"Combined Bar Line Chart with 2 X-Axes",IDS_PRIMARYVALUECOLORPALETTE:"primaryValuesColorPalette",IDS_TRELLISDONUTCHART:"Trellis Doughnut Chart",IDS_PERCENTAGEHORIZONTALAREACHART:"100% Horizontal Area Chart",IDS_HIGHCOLUMN:"highColumn",IDS_TREEMAPCHART:"Tree Map",IDS_TIMESERIESPERCENTSTACKEDCOLUMNCHART:"100% Stacked Column Chart for Date/Time Series",IDS_MULTISCATTERCHART:"Multiple Scatter Plot",IDS_TIMELINECHART:"Line Chart for Date/Time Series",IDS_SEMANTICCOLORRANGE:"Semantic Range",IDS_MODE:"Mode",IDS_TRELLISDUALLINECHART:"Trellis Line Chart with 2 Y-Axes",IDS_TIME_TO:"To",IDS_COLORING_TYPE_NEGATIVE:"Bad",IDS_BULLETCHART:"Bullet Chart",IDS_AREACHART:"Area Chart",IDS_TIMESERIESCOMBINATIONCHART:"Combined Column Line Chart for Date/Time Series",IDS_FORECAST_VALUES:"Forecast Values",IDS_LINE:"Line",IDS_ENDCOLOR:"endcolor",IDS_CATEGORY_AXIS:"Category Axis",IDS_TIMESERIESSTACKEDCOLUMNCHART:"Stacked Column Chart for Date/Time Series",IDS_DUALPERCENTAGESTACKEDBARCHART:"100% Stacked Bar Chart with 2 X-Axes",IDS_VALUE_AXIS2:"Value Axis 2",IDS_WEIGHT:"weight",IDS_REGIONSHAPE:"Region Shape",IDS_DONUTCHART:"Donut Chart",IDS_TITLE:"Title",IDS_TIMESERIESWATERFALLCHART:"Waterfall Chart for Date/Time Series",IDS_CURRENT_SELECTION:"Current Selection",IDS_MULTIPERCENTAGEHORIZONTALAREACHART:"Multiple 100% Horizontal Area Chart",IDS_RECTANGLECOLOR:"Rectangle Color",IDS_CATEGORYAXIS:"Axis Labels Category",IDS_COLUMNSEQUENCE:"columnSequence",IDS_MAINLABELAXISNAME:"Main Category Axis",IDS_RADARAXES:"Radar Axes",IDS_HORIZONTALSTACKEDCOMBINATIONCHART:"Horizontal Combined Stacked Line Chart",IDS_DAY:"Day",IDS_PERCENTAGEDONUTCHART:"100% Donut Chart",IDS_DRAWINGEFFECT:"drawingEffect",IDS_SHOWFIRSTLINE:"showFirstLine",IDS_MULTIDUALPERCENTAGESTACKEDBARCHART:"Multiple 100% Stacked Bar Chart with 2 X-Axes",IDS_TRELLISBUBBLECHART:"Trellis Bubble Chart",IDS_TRELLISDUALBARCHART:"Trellis Bar Chart with 2 X-Axes",IDS_TRELLISDUALHORIZONTALLINECHART:"Trellis Horizontal Line Chart with 2 X-Axes",IDS_TAGWEIGHT:"Tags Weight",IDS_BAR:"Bar",IDS_STACKEDCOMBINATIONCHART:"Combined Stacked Line Chart",IDS_POSITION:"Position",IDS_TRELLISDUALSTACKEDBARCHART:"Trellis Stacked Bar Chart with 2 X-Axes",IDS_NEGATIVE_INFINITY:"-Infinity",IDS_MULTIAREACHART:"Multiple Area Chart",IDS_DUALSTACKEDCOMBINATIONCHART:"Combined Stacked Line Chart with 2 Y-Axes",IDS_MULTIDONUTCHART:"Multiple Doughnut Chart",IDS_RECTANGLETITLE:"Rectangle Title",}});
3
3
  (function (global) {
4
4
  // cache global require & define
@@ -7440,9 +7440,8 @@ define('sap/viz/chart/components/legend/ColorLegend',[
7440
7440
  .classed('v-groups', true)
7441
7441
  .classed('v-label', true)
7442
7442
  .classed('viz-legend-valueLabel', true);
7443
-
7444
7443
  // for acc doc requirements
7445
- groups.attr('role', 'listbox');
7444
+ groups.attr('role', 'group');
7446
7445
  groups.exit().remove();
7447
7446
  groups.attr('transform', 'translate(0, 0)');
7448
7447
 
@@ -1,4 +1,4 @@
1
- /* SAP CVOM 4.0 © <2012-2014> SAP SE. All rights reserved. Build Version 7.37.0-SNAPSHOT, Build Context N/A */
1
+ /* SAP CVOM 4.0 © <2012-2014> SAP SE. All rights reserved. Build Version 7.37.0-SNAPSHOT, Build Context cvom_html_bycheckin-master.64 */
2
2
 
3
3
  (function(global) {
4
4
 
@@ -28180,7 +28180,7 @@ define('sap/viz/framework/core/ChartApp',[
28180
28180
  return toolTipContainer.node();
28181
28181
  }
28182
28182
 
28183
- function createRootContainer(containerTag, chartAppId) {
28183
+ function createRootContainer(containerTag, chartAppId, chartView) {
28184
28184
 
28185
28185
  var container = d3.select(containerTag);
28186
28186
 
@@ -28199,13 +28199,14 @@ define('sap/viz/framework/core/ChartApp',[
28199
28199
  .style('-webkit-tap-highlight-color', 'rgba(0,0,0,0)');
28200
28200
 
28201
28201
  rootContainer.attr('class', 'v-info');
28202
- var titleId = getChartTitleId(chartAppId);
28203
- rootContainer.attr('aria-labelledby',titleId);
28204
-
28202
+ if (chartView.renderTo() === 'DIV' || chartView.renderTo() === 'BorderDIVFlow') {
28203
+ var titleId = getChartTitleId(chartAppId);
28204
+ rootContainer.attr('aria-labelledby',titleId);
28205
+ }
28205
28206
  return rootContainer;
28206
28207
  }
28207
28208
 
28208
- function createRootElement(rootContainer, runtime, isDIV) {
28209
+ function createRootElement(rootContainer, runtime, isDIV, chartAppId) {
28209
28210
  var rootElement;
28210
28211
  if (isDIV) {
28211
28212
  rootElement = rootContainer.append("div").attr('class', 'v-m-root');
@@ -28232,6 +28233,10 @@ define('sap/viz/framework/core/ChartApp',[
28232
28233
  .style('width', '100%')
28233
28234
  .style('display', 'block');
28234
28235
 
28236
+ if(!isDIV && chartAppId) {
28237
+ var titleId = getChartTitleId(chartAppId);
28238
+ rootElement.attr('aria-labelledby',titleId);
28239
+ }
28235
28240
  if (UADetector.isWindowsSurface()) {
28236
28241
  rootContainer.style('touch-action', 'none');
28237
28242
  }
@@ -28532,13 +28537,13 @@ define('sap/viz/framework/core/ChartApp',[
28532
28537
  isFirstRender = true;
28533
28538
  chartView = createChartView(this);
28534
28539
 
28535
- this._rootContainer = createRootContainer(this._container, this._chartAppId);
28540
+ this._rootContainer = createRootContainer(this._container, this._chartAppId, this._chartView);
28536
28541
  this._graphicModel.registerRootContainer(this._rootContainer.node());
28537
28542
 
28538
28543
  if (chartView.renderTo() === 'DIV' || chartView.renderTo() === 'BorderDIVFlow') {
28539
28544
  this._rootElement = createRootElement(this._rootContainer, this._runtime, true);
28540
28545
  } else {
28541
- this._rootElement = createRootElement(this._rootContainer, this._runtime);
28546
+ this._rootElement = createRootElement(this._rootContainer, this._runtime, false, this._chartAppId);
28542
28547
  }
28543
28548
  this._setDefaultSize(!(options && options.disableIntervalSizeCheck));
28544
28549
  }
@@ -5,6 +5,7 @@
5
5
 
6
6
  // Provides control sap.viz.ui5.controls.Popover.
7
7
  sap.ui.define([
8
+ 'sap/ui/core/Element',
8
9
  'sap/ui/layout/Grid',
9
10
  'sap/ui/layout/form/SimpleForm',
10
11
  'sap/viz/library',
@@ -12,7 +13,7 @@ sap.ui.define([
12
13
  './chartpopover/ChartPopover',
13
14
  "sap/ui/thirdparty/jquery",
14
15
  "./PopoverRenderer"
15
- ], function(Grid, SimpleForm, library, BaseControl, ChartPopover, jQuery) {
16
+ ], function(Element, Grid, SimpleForm, library, BaseControl, ChartPopover, jQuery) {
16
17
  "use strict";
17
18
 
18
19
  /**
@@ -72,7 +73,7 @@ sap.ui.define([
72
73
  Popover.prototype.exit = function() {
73
74
  BaseControl.prototype.exit.apply(this, arguments);
74
75
 
75
- var vizFrame = sap.ui.getCore().byId(this._uid);
76
+ var vizFrame = Element.getElementById(this._uid);
76
77
  if (vizFrame) {
77
78
  if (vizFrame._vizFrame) {
78
79
  vizFrame._vizFrame.off('showTooltip');
@@ -128,7 +129,7 @@ sap.ui.define([
128
129
  this._createPopover();
129
130
  }
130
131
 
131
- var vizFrame = sap.ui.getCore().byId(this._uid);
132
+ var vizFrame = Element.getElementById(this._uid);
132
133
  var uiConfig = vizFrame.getUiConfig();
133
134
  if (!uiConfig || uiConfig.applicationSet !== 'fiori') {
134
135
  return;
@@ -8,6 +8,7 @@
8
8
  sap.ui.define([
9
9
  'sap/viz/library',
10
10
  'sap/viz/ui5/data/Dataset',
11
+ 'sap/ui/core/Theming',
11
12
  'sap/ui/core/theming/Parameters',
12
13
  'sap/viz/ui5/theming/Util',
13
14
  'sap/viz/ui5/utils/CommonUtil',
@@ -29,6 +30,7 @@ sap.ui.define([
29
30
  ], function(
30
31
  vizLibrary,
31
32
  Dataset,
33
+ Theming,
32
34
  Parameters,
33
35
  Util,
34
36
  CommonUtil,
@@ -148,6 +150,9 @@ sap.ui.define([
148
150
  VizFrame.prototype.init = function() {
149
151
  BaseControl.prototype.init.apply(this, arguments);
150
152
 
153
+ // instance property refers to prototype method, but bound to `this`
154
+ this._scopingChangedFun = VizFrame.prototype._scopingChangedFun.bind(this);
155
+
151
156
  this._wrapApi('setModel', function() {this._invalidateDataset = true;}.bind(this));
152
157
  this._wrapApi('setDataset', function() {this._invalidateDataset = true;}.bind(this));
153
158
  this._wrapApi('destroyDataset', function() {this._invalidateDataset = true;}.bind(this));
@@ -755,13 +760,13 @@ sap.ui.define([
755
760
  };
756
761
 
757
762
  VizFrame.prototype._getScopeString = function () {
758
- //aScope is like [[sapContrast], [sapABC, sapD], ...]. We stringfy it.
763
+ //aScope is like [[sapContrast], [sapABC, sapD], ...]. We stringify it.
759
764
  var aScope = Parameters.getActiveScopesFor(this);
760
765
  return JSON.stringify(aScope);
761
766
  };
762
767
 
763
768
  VizFrame.prototype._scopingChangedFun = function (eventOptions) {
764
- var oElement = eventOptions.getParameter("element");
769
+ var oElement = eventOptions.element;
765
770
  var handleScopingChange = false;
766
771
  if (this === oElement) {
767
772
  handleScopingChange = true;
@@ -825,7 +830,7 @@ sap.ui.define([
825
830
  };
826
831
 
827
832
  VizFrame.prototype._createVizFrame = function (options) {
828
- sap.ui.getCore().attachThemeScopingChanged(this._scopingChangedFun, this);
833
+ Theming.attachThemeScopingChanged(this._scopingChangedFun);
829
834
 
830
835
  options.container = this._vizFrame$.get(0);
831
836
 
@@ -1111,7 +1116,7 @@ sap.ui.define([
1111
1116
  this._migrate(type, feeds);
1112
1117
 
1113
1118
  var themeChanged = false,
1114
- theme = sap.ui.getCore().getConfiguration().getTheme();
1119
+ theme = Theming.getTheme();
1115
1120
  if ((renderOptions && renderOptions.forceThemeChange) ||
1116
1121
  (this._currentTheme !== theme)) {
1117
1122
  themeChanged = true;
@@ -1212,7 +1217,7 @@ sap.ui.define([
1212
1217
  modeString = this._sCurrentScopeChain;
1213
1218
  }
1214
1219
 
1215
- var theme = sap.ui.getCore().getConfiguration().getTheme();
1220
+ var theme = Theming.getTheme();
1216
1221
  var newId = theme + "_" + appSetId + "_" + Constants.TEMPLATE_POSTFIX + modeString;
1217
1222
  if (this._currentTemplate === newId && !forceUnregister) {
1218
1223
  return;
@@ -1553,7 +1558,7 @@ sap.ui.define([
1553
1558
  }
1554
1559
  // If the error happens when create LightWeight VizFrame. Instance has not been created, so the dom can't be destroyed by lightWeightUVB(BITSDC2-3996). We need to clear the content of vizframeDOM manually.
1555
1560
  this._vizFrame$.empty();
1556
- sap.ui.getCore().detachThemeScopingChanged(this._scopingChangedFun, this);
1561
+ Theming.detachThemeScopingChanged(this._scopingChangedFun);
1557
1562
  };
1558
1563
 
1559
1564
  /*
@@ -9,10 +9,12 @@ sap.ui.define([
9
9
  "./VizRangeSliderRenderer",
10
10
  "sap/m/ResponsiveScale",
11
11
  "sap/ui/core/InvisibleText",
12
+ "sap/ui/core/Configuration",
13
+ "sap/ui/core/Lib",
12
14
  "sap/viz/library",
13
15
  "sap/base/Log"
14
16
  ],
15
- function(jQuery, Slider, VizRangeSliderRenderer, ResponsiveScale, InvisibleText, library, Log) {
17
+ function(jQuery, Slider, VizRangeSliderRenderer, ResponsiveScale, InvisibleText, Configuration, Library, library, Log) {
16
18
  "use strict";
17
19
 
18
20
  var VizRangeSlider = Slider.extend("sap.viz.ui5.controls.VizRangeSlider", {
@@ -52,7 +54,7 @@ sap.ui.define([
52
54
  // we should be sure that at the first run they are set properly and then to be validated.
53
55
  this._bInitialRangeChecks = true;
54
56
 
55
- this._bRTL = sap.ui.getCore().getConfiguration().getRTL();
57
+ this._bRTL = Configuration.getRTL();
56
58
 
57
59
  // the initial focus range which should be used
58
60
  this._aInitialFocusRange = this.getRange();
@@ -63,7 +65,7 @@ sap.ui.define([
63
65
  // half the width of the tooltip in percent of the total RangeSlider width
64
66
  this._fTooltipHalfWidthPercent = 0;
65
67
 
66
- this._oResourceBundle = sap.ui.getCore().getLibraryResourceBundle('sap.m');
68
+ this._oResourceBundle = Library.getResourceBundleFor('sap.m');
67
69
 
68
70
  this._ariaUpdateDelay = [];
69
71
 
@@ -3,7 +3,12 @@
3
3
  * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
- sap.ui.define(["sap/ui/core/Renderer", "./VizSliderBasicRenderer", "sap/ui/Device"], function (Renderer, SliderRenderer, Device) {
6
+ sap.ui.define([
7
+ "sap/base/i18n/Localization",
8
+ "sap/ui/core/Renderer",
9
+ "./VizSliderBasicRenderer",
10
+ "sap/ui/Device"
11
+ ], function (Localization, Renderer, SliderRenderer, Device) {
7
12
  "use strict";
8
13
 
9
14
  /**
@@ -76,7 +81,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./VizSliderBasicRenderer", "sap/ui/Devic
76
81
  var fValue,
77
82
  aRange = oControl.getRange(),
78
83
  bEnabled = oControl.getEnabled(),
79
- bRTL = sap.ui.getCore().getConfiguration().getRTL();
84
+ bRTL = Localization.getRTL();
80
85
 
81
86
  if (mOptions && (mOptions.id !== undefined)) {
82
87
  oRM.openStart("span", mOptions.id);
@@ -6,11 +6,13 @@
6
6
  sap.ui.define([
7
7
  "sap/ui/thirdparty/jquery",
8
8
  'sap/m/library',
9
+ 'sap/ui/core/Configuration',
9
10
  'sap/ui/core/Control',
10
11
  'sap/ui/core/EnabledPropagator',
11
12
  'sap/m/Input',
12
13
  'sap/m/ResponsiveScale',
13
14
  'sap/ui/core/InvisibleText',
15
+ 'sap/ui/core/Lib',
14
16
  'sap/ui/core/library',
15
17
  'sap/ui/core/ResizeHandler',
16
18
  "sap/base/Log",
@@ -19,11 +21,13 @@ sap.ui.define([
19
21
  function(
20
22
  jQuery,
21
23
  library,
24
+ Configuration,
22
25
  Control,
23
26
  EnabledPropagator,
24
27
  Input,
25
28
  ResponsiveScale,
26
29
  InvisibleText,
30
+ Library,
27
31
  coreLibrary,
28
32
  ResizeHandler,
29
33
  Log
@@ -430,7 +434,7 @@ sap.ui.define([
430
434
  }
431
435
 
432
436
  // update the position of the handle
433
- oHandleDomRef.style[sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left"] = sPerValue;
437
+ oHandleDomRef.style[Configuration.getRTL() ? "right" : "left"] = sPerValue;
434
438
 
435
439
  // update the position of the advanced tooltip
436
440
  if (this.getShowAdvancedTooltip()) {
@@ -452,7 +456,7 @@ sap.ui.define([
452
456
  oTooltipsContainer = this.getDomRef("TooltipsContainer"),
453
457
  oTooltip = bInputTooltips && this._oInputTooltip ?
454
458
  this._oInputTooltip.tooltip : this.getDomRef("Tooltip"),
455
- sAdjustProperty = sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left";
459
+ sAdjustProperty = Configuration.getRTL() ? "right" : "left";
456
460
 
457
461
  if (!bInputTooltips) {
458
462
  oTooltip.innerHTML = sNewValue;
@@ -634,7 +638,7 @@ sap.ui.define([
634
638
  // width of the handler in percent of the progress area width
635
639
  this._fHandleWidthPercent = 0;
636
640
 
637
- this._oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
641
+ this._oResourceBundle = Library.getResourceBundleFor("sap.m");
638
642
  };
639
643
 
640
644
  Slider.prototype.exit = function () {
@@ -782,7 +786,7 @@ sap.ui.define([
782
786
 
783
787
  fNewValue = (((oTouch.pageX - this._fSliderPaddingLeft - this._fSliderOffsetLeft) / this._fSliderWidth) * (this.getMax() - fMin)) + fMin;
784
788
 
785
- if (sap.ui.getCore().getConfiguration().getRTL()) {
789
+ if (Configuration.getRTL()) {
786
790
  fNewValue = this._convertValueToRtlMode(fNewValue);
787
791
  }
788
792
 
@@ -831,7 +835,7 @@ sap.ui.define([
831
835
  fNewValue = (((iPageX - this._fDiffX - this._fSliderOffsetLeft) / this._fSliderWidth) * (this.getMax() - fMin)) + fMin;
832
836
 
833
837
  // RTL mirror
834
- if (sap.ui.getCore().getConfiguration().getRTL()) {
838
+ if (Configuration.getRTL()) {
835
839
  fNewValue = this._convertValueToRtlMode(fNewValue);
836
840
  }
837
841
 
@@ -3,8 +3,10 @@
3
3
  * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
- sap.ui.define([],
7
- function() {
6
+ sap.ui.define([
7
+ "sap/base/i18n/Localization"
8
+ ],
9
+ function(Localization) {
8
10
  "use strict";
9
11
 
10
12
  /**
@@ -116,7 +118,7 @@ sap.ui.define([],
116
118
  }
117
119
 
118
120
  this.addHandleClass(oRm, oSlider);
119
- oRm.style(sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left", oSlider._sProgressValue);
121
+ oRm.style(Localization.getRTL() ? "right" : "left", oSlider._sProgressValue);
120
122
  this.writeAccessibilityState(oRm, oSlider);
121
123
 
122
124
  if (bEnabled) {
@@ -236,7 +238,7 @@ sap.ui.define([],
236
238
 
237
239
  SliderRenderer.renderTickmarksLabel = function (oRm, oSlider, fValue) {
238
240
  var fOffset = oSlider._getPercentOfValue(fValue);
239
- var sLeftOrRightPosition = sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left";
241
+ var sLeftOrRightPosition = Localization.getRTL() ? "right" : "left";
240
242
  fValue = oSlider.toFixed(fValue, oSlider.getDecimalPrecisionOfNumber(oSlider.getStep()));
241
243
 
242
244
  oRm.openStart("li").class(SliderRenderer.CSS_CLASS + "TickLabel");
@@ -6,10 +6,11 @@
6
6
  sap.ui.define([
7
7
  './common/BaseControl',
8
8
  './charttooltip/TooltipContainer',
9
+ 'sap/ui/core/Element',
9
10
  'sap/ui/core/Popup',
10
11
  './common/utils/FormatDataUtil',
11
12
  "sap/ui/thirdparty/jquery"
12
- ], function(BaseControl, TooltipContainer, Popup, FormatDataUtil, jQuery) {
13
+ ], function(BaseControl, TooltipContainer, Element, Popup, FormatDataUtil, jQuery) {
13
14
  "use strict";
14
15
 
15
16
  /**
@@ -60,7 +61,7 @@ sap.ui.define([
60
61
  VizTooltip.prototype.exit = function() {
61
62
  BaseControl.prototype.exit.apply(this, arguments);
62
63
 
63
- var vizFrame = sap.ui.getCore().byId(this._uid);
64
+ var vizFrame = Element.getElementById(this._uid);
64
65
  if (vizFrame) {
65
66
  if (vizFrame._vizFrame) {
66
67
  vizFrame._vizFrame.off('showInstantTooltip');
@@ -118,7 +119,7 @@ sap.ui.define([
118
119
  this._createTooltip();
119
120
  }
120
121
 
121
- var vizFrame = sap.ui.getCore().byId(this._uid);
122
+ var vizFrame = Element.getElementById(this._uid);
122
123
  var uiConfig = vizFrame.getUiConfig();
123
124
  if (!uiConfig || uiConfig.applicationSet !== 'fiori') {
124
125
  return;
@@ -29,6 +29,7 @@ sap.ui.define([
29
29
  */
30
30
  var ChartPopover = Control.extend('sap.viz.ui5.controls.chartpopover.ChartPopover', {
31
31
  metadata : {
32
+ library: "sap.viz",
32
33
  properties : {
33
34
  'customDataControl' : {
34
35
  type : 'any'
@@ -34,6 +34,7 @@ function(
34
34
 
35
35
  var ContentPanel = Control.extend('sap.viz.ui5.controls.chartpopover.ContentPanel', {
36
36
  metadata : {
37
+ library: "sap.viz",
37
38
  properties : {
38
39
  'showLine' : 'boolean'
39
40
  },
@@ -8,9 +8,10 @@ sap.ui.define([
8
8
  'sap/m/Bar',
9
9
  'sap/m/Button',
10
10
  'sap/m/Label',
11
- 'sap/ui/core/IconPool'
11
+ 'sap/ui/core/IconPool',
12
+ 'sap/ui/core/Lib'
12
13
 
13
- ], function(jQuery, mobileLibrary, Bar, Button, Label, IconPool) {
14
+ ], function(jQuery, mobileLibrary, Bar, Button, Label, IconPool, Library) {
14
15
  "use strict";
15
16
 
16
17
  // shortcut for ButtonType
@@ -18,6 +19,7 @@ sap.ui.define([
18
19
 
19
20
  var HeaderBar = Bar.extend('sap.viz.ui5.controls.chartpopover.HeaderBar', {
20
21
  metadata : {
22
+ library: "sap.viz",
21
23
  properties : {
22
24
  'showNavButton' : 'boolean',
23
25
  'title' : 'string'
@@ -37,7 +39,7 @@ sap.ui.define([
37
39
  if (!this._oNavButton) {
38
40
  this._oNavButton = new Button(this._createId("popoverNavButton"), {
39
41
  type : ButtonType.Back,
40
- tooltip : sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("PAGE_NAVBUTTON_TEXT"),
42
+ tooltip : Library.getResourceBundleFor("sap.m").getText("PAGE_NAVBUTTON_TEXT"),
41
43
  press : jQuery.proxy(function() {
42
44
  this.fireNavButtonPress();
43
45
  }, this)
@@ -63,7 +65,7 @@ sap.ui.define([
63
65
  if (!this._oCloseButton) {
64
66
  this._oCloseButton = new Button(this._createId("popoverCloseButton"), {
65
67
  icon : IconPool.getIconURI("decline"),
66
- tooltip : sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("MESSAGEPOPOVER_CLOSE"),
68
+ tooltip : Library.getResourceBundleFor("sap.m").getText("MESSAGEPOPOVER_CLOSE"),
67
69
  press : jQuery.proxy(function() {
68
70
  this.fireCloseButtonPress();
69
71
  }, this)
@@ -12,6 +12,7 @@ sap.ui.define([
12
12
 
13
13
  var ShapeMarker = Control.extend('sap.viz.ui5.controls.chartpopover.ShapeMarker', {
14
14
  metadata: {
15
+ library: "sap.viz",
15
16
  properties: {
16
17
  'type': 'string',
17
18
  'color': 'string',
@@ -11,6 +11,7 @@ sap.ui.define([
11
11
 
12
12
  var SubActionItemsPage = Control.extend('sap.viz.ui5.controls.chartpopover.SubActionItemsPage', {
13
13
  metadata : {
14
+ library: "sap.viz",
14
15
  properties : {
15
16
  items : {
16
17
  type : 'object[]'
@@ -25,6 +25,7 @@ sap.ui.define([
25
25
 
26
26
  var ContentPanel = Control.extend("sap.viz.ui5.controls.charttooltip.ContentPanel", {
27
27
  metadata: {
28
+ library: "sap.viz",
28
29
  properties: {}
29
30
  },
30
31
 
@@ -13,6 +13,7 @@ sap.ui.define([
13
13
 
14
14
  var TooltipContainer = Control.extend("sap.viz.ui5.controls.charttooltip.TooltipContainer", {
15
15
  metadata: {
16
+ library: "sap.viz",
16
17
  properties: {}
17
18
  },
18
19
 
@@ -5,13 +5,14 @@
5
5
 
6
6
  // Provides control sap.viz.ui5.controls.common.BaseControl.
7
7
  sap.ui.define([
8
+ 'sap/base/i18n/Localization',
8
9
  'sap/ui/core/Control',
9
10
  'sap/ui/core/RenderManager',
10
11
  'sap/ui/core/ResizeHandler',
11
12
  'sap/viz/library',
12
13
  "sap/ui/thirdparty/jquery",
13
14
  "./BaseControlRenderer"
14
- ], function(Control, RenderManager, ResizeHandler, vizLibrary, jQuery) {
15
+ ], function(Localization, Control, RenderManager, ResizeHandler, vizLibrary, jQuery, BaseControlRenderer) {
15
16
  "use strict";
16
17
 
17
18
  /**
@@ -48,7 +49,8 @@ sap.ui.define([
48
49
  * Height of the VizControl as a CSS size.
49
50
  */
50
51
  height : {type : "sap.ui.core.CSSSize", group : "Misc", defaultValue : '480px'}
51
- }
52
+ },
53
+ renderer: BaseControlRenderer
52
54
  }});
53
55
 
54
56
 
@@ -111,7 +113,7 @@ sap.ui.define([
111
113
  };
112
114
 
113
115
  BaseControl.prototype.onLocalizationChanged = function() {
114
- if (this._locale !== sap.ui.getCore().getConfiguration().getLocale()) {
116
+ if (this._locale !== Localization.getLanguage()) {
115
117
  this._render();
116
118
  }
117
119
  };
@@ -120,7 +122,7 @@ sap.ui.define([
120
122
  if (this._resourceLoaded && this.getDomRef()) {
121
123
  this._pendingRerendering = false;
122
124
 
123
- this._locale = sap.ui.getCore().getConfiguration().getLocale();
125
+ this._locale = Localization.getLanguage();
124
126
 
125
127
  if (!this._app$) {
126
128
  this._app$ = jQuery(document.createElement('div')).appendTo(
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/ElementMetadata'],
17
17
  *
18
18
  * @class
19
19
  * @author SAP SE
20
- * @version 1.119.0
20
+ * @version 1.120.0
21
21
  * @since 1.30.0
22
22
  * @alias sap.viz.ui5.core.BaseChartMetadata
23
23
  */
@@ -4,10 +4,12 @@
4
4
  */
5
5
 
6
6
 
7
- sap.ui.define(['sap/ui/core/format/NumberFormat',
7
+ sap.ui.define([
8
+ 'sap/base/i18n/Localization',
9
+ 'sap/ui/core/format/NumberFormat',
8
10
  'sap/ui/core/format/DateFormat',
9
- 'sap/ui/core/format/FileSizeFormat'],
10
- function(NumberFormat, DateFormat, FileSizeFormat) {
11
+ 'sap/ui/core/format/FileSizeFormat'
12
+ ], function(Localization, NumberFormat, DateFormat, FileSizeFormat) {
11
13
  "use strict";
12
14
 
13
15
  var semicolon = ":";
@@ -26,7 +28,7 @@ sap.ui.define(['sap/ui/core/format/NumberFormat',
26
28
  }
27
29
  this.formatFunctions = [];
28
30
  this._updatePatternTable();
29
- this._locale = sap.ui.getCore().getConfiguration().getLanguage();
31
+ this._locale = Localization.getLanguage();
30
32
 
31
33
  // The following function is for CVOM info time Axis label level format
32
34
  // for internal use. These does not expose to end user.
@@ -305,7 +307,7 @@ sap.ui.define(['sap/ui/core/format/NumberFormat',
305
307
  */
306
308
  ChartFormatter.prototype.format = function (value, pattern, isUTC) {
307
309
  if (pattern) {
308
- var currentLocale = sap.ui.getCore().getConfiguration().getLanguage();
310
+ var currentLocale = Localization.getLanguage();
309
311
  if (this._locale !== currentLocale) {
310
312
  this._locale = currentLocale;
311
313
  this._updatePatternTable();
@@ -0,0 +1,3 @@
1
+
2
+ NO_SVG_SUPPORT=\u041D\u0435\u043C\u0430 SVG-\u043F\u043E\u0434\u0434\u0440\u0448\u043A\u0430
3
+ NO_DATA=\u041D\u0435\u043C\u0430 \u043F\u043E\u0434\u0430\u0442\u043E\u0446\u0438