@sapui5/sap.viz 1.96.2 → 1.98.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/viz/.library +2 -2
- package/src/sap/viz/designtime/FlattenedDataset.designtime.js +1 -1
- package/src/sap/viz/library.js +95 -98
- package/src/sap/viz/libs/sap-viz-info-framework.js +25 -2
- package/src/sap/viz/ui5/Area.js +1 -1
- package/src/sap/viz/ui5/Area100.js +1 -1
- package/src/sap/viz/ui5/Area100Renderer.js +1 -1
- package/src/sap/viz/ui5/AreaRenderer.js +1 -1
- package/src/sap/viz/ui5/Bar.js +1 -1
- package/src/sap/viz/ui5/BarRenderer.js +1 -1
- package/src/sap/viz/ui5/Bubble.js +1 -1
- package/src/sap/viz/ui5/BubbleRenderer.js +1 -1
- package/src/sap/viz/ui5/Bullet.js +1 -1
- package/src/sap/viz/ui5/BulletRenderer.js +1 -1
- package/src/sap/viz/ui5/Column.js +1 -1
- package/src/sap/viz/ui5/ColumnRenderer.js +1 -1
- package/src/sap/viz/ui5/Combination.js +1 -1
- package/src/sap/viz/ui5/CombinationRenderer.js +1 -1
- package/src/sap/viz/ui5/Donut.js +1 -1
- package/src/sap/viz/ui5/DonutRenderer.js +1 -1
- package/src/sap/viz/ui5/DualBar.js +1 -1
- package/src/sap/viz/ui5/DualBarRenderer.js +1 -1
- package/src/sap/viz/ui5/DualColumn.js +1 -1
- package/src/sap/viz/ui5/DualColumnRenderer.js +1 -1
- package/src/sap/viz/ui5/DualCombination.js +1 -1
- package/src/sap/viz/ui5/DualCombinationRenderer.js +1 -1
- package/src/sap/viz/ui5/DualLine.js +1 -1
- package/src/sap/viz/ui5/DualLineRenderer.js +1 -1
- package/src/sap/viz/ui5/DualStackedColumn.js +1 -1
- package/src/sap/viz/ui5/DualStackedColumn100.js +1 -1
- package/src/sap/viz/ui5/DualStackedColumn100Renderer.js +1 -1
- package/src/sap/viz/ui5/DualStackedColumnRenderer.js +1 -1
- package/src/sap/viz/ui5/Heatmap.js +1 -1
- package/src/sap/viz/ui5/HeatmapRenderer.js +1 -1
- package/src/sap/viz/ui5/HorizontalArea.js +1 -1
- package/src/sap/viz/ui5/HorizontalArea100.js +1 -1
- package/src/sap/viz/ui5/HorizontalArea100Renderer.js +1 -1
- package/src/sap/viz/ui5/HorizontalAreaRenderer.js +1 -1
- package/src/sap/viz/ui5/Line.js +1 -1
- package/src/sap/viz/ui5/LineRenderer.js +1 -1
- package/src/sap/viz/ui5/Pie.js +1 -1
- package/src/sap/viz/ui5/PieRenderer.js +1 -1
- package/src/sap/viz/ui5/Scatter.js +1 -1
- package/src/sap/viz/ui5/ScatterRenderer.js +1 -1
- package/src/sap/viz/ui5/StackedColumn.js +1 -1
- package/src/sap/viz/ui5/StackedColumn100.js +1 -1
- package/src/sap/viz/ui5/StackedColumn100Renderer.js +1 -1
- package/src/sap/viz/ui5/StackedColumnRenderer.js +1 -1
- package/src/sap/viz/ui5/TimeBubble.js +1 -1
- package/src/sap/viz/ui5/TimeBubbleRenderer.js +1 -1
- package/src/sap/viz/ui5/Treemap.js +1 -1
- package/src/sap/viz/ui5/TreemapRenderer.js +1 -1
- package/src/sap/viz/ui5/VizContainer.js +1 -1
- package/src/sap/viz/ui5/VizContainerRenderer.js +1 -1
- package/src/sap/viz/ui5/api/env/Format.js +1 -1
- package/src/sap/viz/ui5/container/VizControlsHelper.js +1 -1
- package/src/sap/viz/ui5/controls/Popover.js +1 -1
- package/src/sap/viz/ui5/controls/PopoverRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/ResponsiveLegend.js +1 -1
- package/src/sap/viz/ui5/controls/VizFrame.js +1 -1
- package/src/sap/viz/ui5/controls/VizFrameRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/VizRangeSlider.js +1 -1
- package/src/sap/viz/ui5/controls/VizRangeSliderRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/VizSlider.js +1 -1
- package/src/sap/viz/ui5/controls/VizSliderBasic.js +1 -1
- package/src/sap/viz/ui5/controls/VizSliderBasicRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/VizSliderRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/VizTooltip.js +1 -1
- package/src/sap/viz/ui5/controls/WorkerCode.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/ChartPopover.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/ContentPanel.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/HeaderBar.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/ShapeMarker.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/SubActionItemsPage.js +1 -1
- package/src/sap/viz/ui5/controls/charttooltip/ContentPanel.js +1 -1
- package/src/sap/viz/ui5/controls/charttooltip/TooltipContainer.js +1 -1
- package/src/sap/viz/ui5/controls/common/BaseControl.js +1 -1
- package/src/sap/viz/ui5/controls/common/BaseControlRenderer.js +1 -1
- package/src/sap/viz/ui5/controls/common/feeds/AnalysisObject.js +1 -1
- package/src/sap/viz/ui5/controls/common/feeds/FeedHelper.js +1 -1
- package/src/sap/viz/ui5/controls/common/feeds/FeedItem.js +1 -1
- package/src/sap/viz/ui5/controls/common/helpers/DefaultPropertiesHelper.js +1 -1
- package/src/sap/viz/ui5/controls/common/helpers/RuntimeOptionsHelper.js +1 -1
- package/src/sap/viz/ui5/controls/common/utils/Constants.js +1 -1
- package/src/sap/viz/ui5/controls/common/utils/ContentUtil.js +1 -1
- package/src/sap/viz/ui5/controls/common/utils/FormatDataUtil.js +1 -1
- package/src/sap/viz/ui5/controls/common/utils/SelectionDetailUtil.js +1 -1
- package/src/sap/viz/ui5/core/BaseChart.js +1 -1
- package/src/sap/viz/ui5/core/BaseChartMetadata.js +2 -2
- package/src/sap/viz/ui5/core/BaseChartRenderer.js +1 -1
- package/src/sap/viz/ui5/core/BaseStructuredType.js +1 -1
- package/src/sap/viz/ui5/data/CVOMDatasetAdaptor.js +1 -1
- package/src/sap/viz/ui5/data/CustomDataset.js +1 -1
- package/src/sap/viz/ui5/data/Dataset.js +1 -1
- package/src/sap/viz/ui5/data/DimensionDefinition.js +1 -1
- package/src/sap/viz/ui5/data/FlattenedDataset.js +1 -1
- package/src/sap/viz/ui5/data/MeasureDefinition.js +1 -1
- package/src/sap/viz/ui5/format/ChartFormatter.js +1 -1
- package/src/sap/viz/ui5/theming/Util.js +2 -2
- package/src/sap/viz/ui5/types/Area.js +1 -1
- package/src/sap/viz/ui5/types/Area_animation.js +1 -1
- package/src/sap/viz/ui5/types/Area_hoverline.js +1 -1
- package/src/sap/viz/ui5/types/Area_marker.js +1 -1
- package/src/sap/viz/ui5/types/Area_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Axis.js +1 -1
- package/src/sap/viz/ui5/types/Axis_axisTick.js +1 -1
- package/src/sap/viz/ui5/types/Axis_axisline.js +1 -1
- package/src/sap/viz/ui5/types/Axis_gridline.js +1 -1
- package/src/sap/viz/ui5/types/Axis_indicator.js +1 -1
- package/src/sap/viz/ui5/types/Axis_label.js +1 -1
- package/src/sap/viz/ui5/types/Axis_layoutInfo.js +1 -1
- package/src/sap/viz/ui5/types/Axis_scale.js +1 -1
- package/src/sap/viz/ui5/types/Axis_title.js +1 -1
- package/src/sap/viz/ui5/types/Background.js +1 -1
- package/src/sap/viz/ui5/types/Background_border.js +1 -1
- package/src/sap/viz/ui5/types/Background_border_bottom.js +1 -1
- package/src/sap/viz/ui5/types/Background_border_left.js +1 -1
- package/src/sap/viz/ui5/types/Background_border_right.js +1 -1
- package/src/sap/viz/ui5/types/Background_border_top.js +1 -1
- package/src/sap/viz/ui5/types/Bar.js +1 -1
- package/src/sap/viz/ui5/types/Bar_animation.js +1 -1
- package/src/sap/viz/ui5/types/Bar_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Bubble.js +1 -1
- package/src/sap/viz/ui5/types/Bubble_animation.js +1 -1
- package/src/sap/viz/ui5/types/Bubble_axisTooltip.js +1 -1
- package/src/sap/viz/ui5/types/Bubble_hoverline.js +1 -1
- package/src/sap/viz/ui5/types/Bullet.js +1 -1
- package/src/sap/viz/ui5/types/Bullet_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Combination.js +1 -1
- package/src/sap/viz/ui5/types/Combination_animation.js +1 -1
- package/src/sap/viz/ui5/types/Combination_bar.js +1 -1
- package/src/sap/viz/ui5/types/Combination_dataShape.js +1 -1
- package/src/sap/viz/ui5/types/Combination_line.js +1 -1
- package/src/sap/viz/ui5/types/Combination_line_marker.js +1 -1
- package/src/sap/viz/ui5/types/Combination_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Datalabel.js +1 -1
- package/src/sap/viz/ui5/types/Datatransform.js +1 -1
- package/src/sap/viz/ui5/types/Datatransform_autoBinning.js +1 -1
- package/src/sap/viz/ui5/types/Datatransform_dataSampling.js +1 -1
- package/src/sap/viz/ui5/types/Datatransform_dataSampling_grid.js +1 -1
- package/src/sap/viz/ui5/types/Heatmap.js +1 -1
- package/src/sap/viz/ui5/types/Heatmap_animation.js +1 -1
- package/src/sap/viz/ui5/types/Heatmap_border.js +1 -1
- package/src/sap/viz/ui5/types/Heatmap_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Legend.js +1 -1
- package/src/sap/viz/ui5/types/Legend_layout.js +1 -1
- package/src/sap/viz/ui5/types/Line.js +1 -1
- package/src/sap/viz/ui5/types/Line_animation.js +1 -1
- package/src/sap/viz/ui5/types/Line_hoverline.js +1 -1
- package/src/sap/viz/ui5/types/Line_marker.js +1 -1
- package/src/sap/viz/ui5/types/Line_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Pie.js +1 -1
- package/src/sap/viz/ui5/types/Pie_animation.js +1 -1
- package/src/sap/viz/ui5/types/Pie_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/RootContainer.js +1 -1
- package/src/sap/viz/ui5/types/RootContainer_layout.js +1 -1
- package/src/sap/viz/ui5/types/Scatter.js +1 -1
- package/src/sap/viz/ui5/types/Scatter_animation.js +1 -1
- package/src/sap/viz/ui5/types/Scatter_axisTooltip.js +1 -1
- package/src/sap/viz/ui5/types/Scatter_hoverline.js +1 -1
- package/src/sap/viz/ui5/types/StackedVerticalBar.js +1 -1
- package/src/sap/viz/ui5/types/StackedVerticalBar_animation.js +1 -1
- package/src/sap/viz/ui5/types/StackedVerticalBar_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Title.js +1 -1
- package/src/sap/viz/ui5/types/Title_layout.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_background.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_bodyDimensionLabel.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_bodyDimensionValue.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_bodyMeasureLabel.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_bodyMeasureValue.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_closeButton.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_footerLabel.js +1 -1
- package/src/sap/viz/ui5/types/Tooltip_separationLine.js +1 -1
- package/src/sap/viz/ui5/types/Treemap.js +1 -1
- package/src/sap/viz/ui5/types/Treemap_animation.js +1 -1
- package/src/sap/viz/ui5/types/Treemap_border.js +1 -1
- package/src/sap/viz/ui5/types/Treemap_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/VerticalBar.js +1 -1
- package/src/sap/viz/ui5/types/VerticalBar_animation.js +1 -1
- package/src/sap/viz/ui5/types/VerticalBar_tooltip.js +1 -1
- package/src/sap/viz/ui5/types/XYContainer.js +1 -1
- package/src/sap/viz/ui5/types/controller/Interaction.js +1 -1
- package/src/sap/viz/ui5/types/controller/Interaction_pan.js +1 -1
- package/src/sap/viz/ui5/types/controller/Interaction_selectability.js +1 -1
- package/src/sap/viz/ui5/types/layout/Dock.js +1 -1
- package/src/sap/viz/ui5/types/layout/Stack.js +1 -1
- package/src/sap/viz/ui5/types/legend/Common.js +1 -1
- package/src/sap/viz/ui5/types/legend/Common_title.js +1 -1
- package/src/sap/viz/ui5/utils/CommonUtil.js +1 -1
- package/ui5.yaml +7 -1
package/package.json
CHANGED
package/src/sap/viz/.library
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<name>sap.viz</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>SAPUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
8
|
-
<version>1.
|
|
7
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.</copyright>
|
|
8
|
+
<version>1.98.0</version>
|
|
9
9
|
|
|
10
10
|
<documentation>Chart controls based on the SAP BI CVOM charting library</documentation>
|
|
11
11
|
|
package/src/sap/viz/library.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -240,7 +240,7 @@ sap.ui.define([
|
|
|
240
240
|
|
|
241
241
|
//@@end generated-elements-list
|
|
242
242
|
],
|
|
243
|
-
version: "1.
|
|
243
|
+
version: "1.98.0"
|
|
244
244
|
});
|
|
245
245
|
|
|
246
246
|
//@@begin generated-enums
|
|
@@ -1952,105 +1952,102 @@ sap.ui.define([
|
|
|
1952
1952
|
sap.viz._applyTheme = function() {
|
|
1953
1953
|
// Set template to viz
|
|
1954
1954
|
sap.viz._changeTemplate('standard_fiori');
|
|
1955
|
-
|
|
1956
|
-
var mapping = {};
|
|
1957
|
-
var write = function(key) {
|
|
1958
|
-
var color = sap.ui.core.theming.Parameters.get(key);
|
|
1959
|
-
if (color) {
|
|
1960
|
-
mapping[key] = color;
|
|
1961
|
-
}
|
|
1962
|
-
};
|
|
1955
|
+
var colorArray = [
|
|
1963
1956
|
// Qualitative color
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1957
|
+
'sapUiChartPaletteQualitativeHue1',
|
|
1958
|
+
'sapUiChartPaletteQualitativeHue2',
|
|
1959
|
+
'sapUiChartPaletteQualitativeHue3',
|
|
1960
|
+
'sapUiChartPaletteQualitativeHue4',
|
|
1961
|
+
'sapUiChartPaletteQualitativeHue5',
|
|
1962
|
+
'sapUiChartPaletteQualitativeHue6',
|
|
1963
|
+
'sapUiChartPaletteQualitativeHue7',
|
|
1964
|
+
'sapUiChartPaletteQualitativeHue8',
|
|
1965
|
+
'sapUiChartPaletteQualitativeHue9',
|
|
1966
|
+
'sapUiChartPaletteQualitativeHue10',
|
|
1967
|
+
'sapUiChartPaletteQualitativeHue11',
|
|
1968
|
+
'sapUiChartPaletteQualitativeHue12',
|
|
1969
|
+
'sapUiChartPaletteQualitativeHue13',
|
|
1970
|
+
'sapUiChartPaletteQualitativeHue14',
|
|
1971
|
+
'sapUiChartPaletteQualitativeHue15',
|
|
1972
|
+
'sapUiChartPaletteQualitativeHue16',
|
|
1973
|
+
'sapUiChartPaletteQualitativeHue17',
|
|
1974
|
+
'sapUiChartPaletteQualitativeHue18',
|
|
1975
|
+
'sapUiChartPaletteQualitativeHue19',
|
|
1976
|
+
'sapUiChartPaletteQualitativeHue20',
|
|
1977
|
+
'sapUiChartPaletteQualitativeHue21',
|
|
1978
|
+
'sapUiChartPaletteQualitativeHue22',
|
|
1986
1979
|
// Semantic color
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
1980
|
+
'sapUiChartPaletteSemanticBadLight3',
|
|
1981
|
+
'sapUiChartPaletteSemanticBadLight2',
|
|
1982
|
+
'sapUiChartPaletteSemanticBadLight1',
|
|
1983
|
+
'sapUiChartPaletteSemanticBad',
|
|
1984
|
+
'sapUiChartPaletteSemanticBadDark1',
|
|
1985
|
+
'sapUiChartPaletteSemanticBadDark2',
|
|
1986
|
+
'sapUiChartPaletteSemanticCriticalLight3',
|
|
1987
|
+
'sapUiChartPaletteSemanticCriticalLight2',
|
|
1988
|
+
'sapUiChartPaletteSemanticCriticalLight1',
|
|
1989
|
+
'sapUiChartPaletteSemanticCritical',
|
|
1990
|
+
'sapUiChartPaletteSemanticCriticalDark1',
|
|
1991
|
+
'sapUiChartPaletteSemanticCriticalDark2',
|
|
1992
|
+
'sapUiChartPaletteSemanticGoodLight3',
|
|
1993
|
+
'sapUiChartPaletteSemanticGoodLight2',
|
|
1994
|
+
'sapUiChartPaletteSemanticGoodLight1',
|
|
1995
|
+
'sapUiChartPaletteSemanticGood',
|
|
1996
|
+
'sapUiChartPaletteSemanticGoodDark1',
|
|
1997
|
+
'sapUiChartPaletteSemanticGoodDark2',
|
|
1998
|
+
'sapUiChartPaletteSemanticNeutralLight3',
|
|
1999
|
+
'sapUiChartPaletteSemanticNeutralLight2',
|
|
2000
|
+
'sapUiChartPaletteSemanticNeutralLight1',
|
|
2001
|
+
'sapUiChartPaletteSemanticNeutral',
|
|
2002
|
+
'sapUiChartPaletteSemanticNeutralDark1',
|
|
2003
|
+
'sapUiChartPaletteSemanticNeutralDark2',
|
|
2004
|
+
'sapUiChartPaletteNoSemDiv1Dark2',
|
|
2005
|
+
'sapUiChartPaletteNoSemDiv1Dark1',
|
|
2006
|
+
'sapUiChartPaletteNoSemDiv1',
|
|
2007
|
+
'sapUiChartPaletteNoSemDiv1Light1',
|
|
2008
|
+
'sapUiChartPaletteNoSemDiv1Light2',
|
|
2009
|
+
'sapUiChartPaletteNoSemDiv1Light3',
|
|
2017
2010
|
// Sequential color
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2011
|
+
'sapUiChartPaletteSequentialHue1Light3',
|
|
2012
|
+
'sapUiChartPaletteSequentialHue1Light2',
|
|
2013
|
+
'sapUiChartPaletteSequentialHue1Light1',
|
|
2014
|
+
'sapUiChartPaletteSequentialHue1',
|
|
2015
|
+
'sapUiChartPaletteSequentialHue1Dark1',
|
|
2016
|
+
'sapUiChartPaletteSequentialHue1Dark2',
|
|
2017
|
+
'sapUiChartPaletteSequentialHue2Light3',
|
|
2018
|
+
'sapUiChartPaletteSequentialHue2Light2',
|
|
2019
|
+
'sapUiChartPaletteSequentialHue2Light1',
|
|
2020
|
+
'sapUiChartPaletteSequentialHue2',
|
|
2021
|
+
'sapUiChartPaletteSequentialHue2Dark1',
|
|
2022
|
+
'sapUiChartPaletteSequentialHue2Dark2',
|
|
2023
|
+
'sapUiChartPaletteSequentialHue3Light3',
|
|
2024
|
+
'sapUiChartPaletteSequentialHue3Light2',
|
|
2025
|
+
'sapUiChartPaletteSequentialHue3Light1',
|
|
2026
|
+
'sapUiChartPaletteSequentialHue3',
|
|
2027
|
+
'sapUiChartPaletteSequentialHue3Dark1',
|
|
2028
|
+
'sapUiChartPaletteSequentialHue3Dark2',
|
|
2029
|
+
'sapUiChartPaletteSequentialHue6Light3',
|
|
2030
|
+
'sapUiChartPaletteSequentialHue6Light2',
|
|
2031
|
+
'sapUiChartPaletteSequentialHue6Light1',
|
|
2032
|
+
'sapUiChartPaletteSequentialHue6',
|
|
2033
|
+
'sapUiChartPaletteSequentialHue6Dark1',
|
|
2034
|
+
'sapUiChartPaletteSequentialHue6Dark2',
|
|
2035
|
+
'sapUiChartPaletteSequentialNeutralLight3',
|
|
2036
|
+
'sapUiChartPaletteSequentialNeutralLight2',
|
|
2037
|
+
'sapUiChartPaletteSequentialNeutralLight1',
|
|
2038
|
+
'sapUiChartPaletteSequentialNeutral',
|
|
2039
|
+
'sapUiChartPaletteSequentialNeutralDark1',
|
|
2040
|
+
'sapUiChartPaletteSequentialNeutralDark2',
|
|
2041
|
+
'sapUiChoroplethRegionBG',
|
|
2042
|
+
'sapUiChartZeroAxisColor',
|
|
2043
|
+
'sapUiNegativeElement',
|
|
2044
|
+
'sapUiCriticalElement',
|
|
2045
|
+
'sapUiPositiveElement',
|
|
2046
|
+
'sapUiNeutralElement'];
|
|
2047
|
+
var mapping = sap.ui.core.theming.Parameters.get({
|
|
2048
|
+
name: colorArray,
|
|
2049
|
+
callback: function() {}
|
|
2050
|
+
});
|
|
2054
2051
|
sap.viz.api.env.globalSettings({
|
|
2055
2052
|
'colorMapping': mapping
|
|
2056
2053
|
});
|
|
@@ -27008,12 +27008,14 @@ define('sap/viz/framework/export/ExportTooltips',[
|
|
|
27008
27008
|
});
|
|
27009
27009
|
|
|
27010
27010
|
define('sap/viz/framework/export/ChartExportSVG',[
|
|
27011
|
+
'sap/viz/framework/common/util/CSSUtils',
|
|
27011
27012
|
'sap/viz/framework/common/util/ObjectUtils',
|
|
27012
27013
|
'sap/viz/framework/common/util/TypeUtils',
|
|
27013
27014
|
"sap/viz/framework/common/log/Logger",
|
|
27014
27015
|
"sap/viz/framework/core/ChartViewRegistry",
|
|
27015
27016
|
'sap/viz/framework/export/ExportTooltips'
|
|
27016
27017
|
], function(
|
|
27018
|
+
CSSUtils,
|
|
27017
27019
|
ObjectUtils,
|
|
27018
27020
|
TypeUtils,
|
|
27019
27021
|
Logger,
|
|
@@ -27120,8 +27122,29 @@ define('sap/viz/framework/export/ChartExportSVG',[
|
|
|
27120
27122
|
};
|
|
27121
27123
|
|
|
27122
27124
|
ChartExportSVG._getSvgFromDom = function (chartAppInstance, option) {
|
|
27123
|
-
var svg
|
|
27124
|
-
|
|
27125
|
+
var svg;
|
|
27126
|
+
try {
|
|
27127
|
+
svg = chartAppInstance._rootElement.node().cloneNode(true);
|
|
27128
|
+
}
|
|
27129
|
+
catch (err) {
|
|
27130
|
+
// the Safari bug seems similar to the old (2013) bug in Webkit:
|
|
27131
|
+
// bugs.webkit.org/show_bug.cgi?id=112270. The fix will generate a CSP log / report.
|
|
27132
|
+
// To remove this if Safari does fix the "cloneNode" issue.
|
|
27133
|
+
if (!svg) {
|
|
27134
|
+
var rootENote = chartAppInstance._rootElement.node();
|
|
27135
|
+
var iHtml = rootENote.innerHTML;
|
|
27136
|
+
svg = document.createElement('svg');
|
|
27137
|
+
svg.innerHTML = iHtml;
|
|
27138
|
+
for (var iRoot = 0; iRoot < rootENote.attributes.length; iRoot++) {
|
|
27139
|
+
var attrib = rootENote.attributes[iRoot];
|
|
27140
|
+
if (attrib.name !== "style") {
|
|
27141
|
+
svg.setAttribute(attrib.name, attrib.value);
|
|
27142
|
+
} else {
|
|
27143
|
+
CSSUtils.setDOMStyle(svg, attrib.value);
|
|
27144
|
+
}
|
|
27145
|
+
}
|
|
27146
|
+
}
|
|
27147
|
+
}
|
|
27125
27148
|
var guid = ObjectUtils.guid("sap-viz");
|
|
27126
27149
|
// add svg namespace
|
|
27127
27150
|
// set namespace to avoid generate "ns1:href"
|
package/src/sap/viz/ui5/Area.js
CHANGED
package/src/sap/viz/ui5/Bar.js
CHANGED
package/src/sap/viz/ui5/Donut.js
CHANGED
package/src/sap/viz/ui5/Line.js
CHANGED