@sapui5/sap.viz 1.97.1 → 1.100.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 +118 -113
- package/src/sap/viz/themes/sap_horizon_dark/library.source.less +4 -0
- package/src/sap/viz/themes/sap_horizon_dark/shared.less +15 -0
- package/src/sap/viz/themes/sap_horizon_hcb/library.source.less +4 -0
- package/src/sap/viz/themes/sap_horizon_hcb/shared.less +15 -0
- package/src/sap/viz/themes/sap_horizon_hcw/library.source.less +4 -0
- package/src/sap/viz/themes/sap_horizon_hcw/shared.less +15 -0
- 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 +4 -4
- package/src/sap/viz/ui5/api/env/Format.js +6 -5
- package/src/sap/viz/ui5/container/VizControlsHelper.js +1 -1
- package/src/sap/viz/ui5/controls/Popover.js +21 -37
- package/src/sap/viz/ui5/controls/PopoverRenderer.js +4 -4
- package/src/sap/viz/ui5/controls/ResponsiveLegend.js +3 -3
- package/src/sap/viz/ui5/controls/VizFrame.js +90 -178
- package/src/sap/viz/ui5/controls/VizFrameRenderer.js +4 -4
- package/src/sap/viz/ui5/controls/VizRangeSlider.js +20 -22
- package/src/sap/viz/ui5/controls/VizRangeSliderRenderer.js +20 -13
- package/src/sap/viz/ui5/controls/VizSlider.js +9 -12
- package/src/sap/viz/ui5/controls/VizSliderBasic.js +12 -12
- package/src/sap/viz/ui5/controls/VizSliderBasicRenderer.js +11 -11
- package/src/sap/viz/ui5/controls/VizSliderRenderer.js +4 -4
- package/src/sap/viz/ui5/controls/VizTooltip.js +7 -8
- package/src/sap/viz/ui5/controls/WorkerCode.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/ChartPopover.js +44 -28
- package/src/sap/viz/ui5/controls/chartpopover/ContentPanel.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/HeaderBar.js +12 -5
- package/src/sap/viz/ui5/controls/chartpopover/ShapeMarker.js +1 -1
- package/src/sap/viz/ui5/controls/chartpopover/SubActionItemsPage.js +18 -13
- package/src/sap/viz/ui5/controls/charttooltip/ContentPanel.js +2 -1
- package/src/sap/viz/ui5/controls/charttooltip/TooltipContainer.js +2 -1
- package/src/sap/viz/ui5/controls/common/BaseControl.js +13 -7
- package/src/sap/viz/ui5/controls/common/BaseControlRenderer.js +4 -4
- 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 +5 -5
- package/src/sap/viz/ui5/controls/common/helpers/DefaultPropertiesHelper.js +2 -2
- 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 +5 -3
- package/src/sap/viz/ui5/controls/common/utils/SelectionDetailUtil.js +1 -1
- package/src/sap/viz/ui5/core/BaseChart.js +10 -7
- package/src/sap/viz/ui5/core/BaseChartMetadata.js +3 -3
- package/src/sap/viz/ui5/core/BaseChartRenderer.js +4 -4
- package/src/sap/viz/ui5/core/BaseStructuredType.js +2 -2
- package/src/sap/viz/ui5/data/CVOMDatasetAdaptor.js +1 -1
- package/src/sap/viz/ui5/data/CustomDataset.js +2 -2
- package/src/sap/viz/ui5/data/Dataset.js +2 -2
- package/src/sap/viz/ui5/data/DimensionDefinition.js +2 -2
- package/src/sap/viz/ui5/data/FlattenedDataset.js +12 -12
- package/src/sap/viz/ui5/data/MeasureDefinition.js +2 -2
- package/src/sap/viz/ui5/format/ChartFormatter.js +1 -2
- package/src/sap/viz/ui5/theming/Util.js +7 -4
- 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/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.100.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,20 +1,22 @@
|
|
|
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
|
/**
|
|
7
7
|
* Initialization Code and shared classes of library sap.viz.
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
"sap/ui/Device",
|
|
11
|
+
"sap/ui/core/Core",
|
|
12
|
+
"sap/ui/core/theming/Parameters",
|
|
12
13
|
"sap/base/Log",
|
|
13
14
|
"sap/base/util/ObjectPath",
|
|
14
15
|
"sap/ui/thirdparty/jquery",
|
|
15
16
|
"sap/viz/libs/CssPlugin",
|
|
16
17
|
'sap/viz/ui5/format/ChartFormatter',
|
|
17
18
|
'sap/viz/ui5/api/env/Format',
|
|
19
|
+
"sap/ui/core/library", // library dependency
|
|
18
20
|
"sap/ui/thirdparty/d3",
|
|
19
21
|
"sap/ui/thirdparty/jqueryui/jquery-ui-core", // TODO get rid of this (but see BCP 2070358415 first)
|
|
20
22
|
"sap/ui/thirdparty/jqueryui/jquery-ui-widget", // TODO get rid of this (but see BCP 2070358415 first)
|
|
@@ -28,10 +30,9 @@ sap.ui.define([
|
|
|
28
30
|
"sap/viz/resources/chart/templates/standard_fiori/template",
|
|
29
31
|
"sap/viz/ui5/controls/libs/sap-viz-vizframe/sap-viz-vizframe",
|
|
30
32
|
"sap/viz/ui5/controls/libs/sap-viz-vizservices/sap-viz-vizservices",
|
|
31
|
-
"sap/ui/thirdparty/require"
|
|
32
|
-
"sap/ui/core/theming/Parameters"
|
|
33
|
+
"sap/ui/thirdparty/require"
|
|
33
34
|
],
|
|
34
|
-
function(Core,
|
|
35
|
+
function(Device, Core, Parameters, Log, ObjectPath, jQuery, CssPlugin) {
|
|
35
36
|
"use strict";
|
|
36
37
|
|
|
37
38
|
/**
|
|
@@ -97,13 +98,22 @@ sap.ui.define([
|
|
|
97
98
|
],
|
|
98
99
|
interfaces: [],
|
|
99
100
|
controls: [
|
|
100
|
-
"sap.viz.ui5.
|
|
101
|
+
"sap.viz.ui5.controls.chartpopover.ChartPopover",
|
|
102
|
+
"sap.viz.ui5.controls.chartpopover.ContentPanel",
|
|
103
|
+
"sap.viz.ui5.controls.chartpopover.HeaderBar",
|
|
104
|
+
"sap.viz.ui5.controls.chartpopover.ShapeMarker",
|
|
105
|
+
"sap.viz.ui5.controls.chartpopover.SubActionItemsPage",
|
|
106
|
+
"sap.viz.ui5.controls.charttooltip.ContentPanel",
|
|
107
|
+
"sap.viz.ui5.controls.charttooltip.TooltipContainer",
|
|
108
|
+
"sap.viz.ui5.controls.common.BaseControl",
|
|
101
109
|
"sap.viz.ui5.controls.Popover",
|
|
102
|
-
"sap.viz.ui5.controls.VizTooltip",
|
|
103
110
|
"sap.viz.ui5.controls.VizFrame",
|
|
104
|
-
|
|
105
|
-
"sap.viz.ui5.controls.
|
|
111
|
+
"sap.viz.ui5.controls.VizRangeSlider",
|
|
112
|
+
"sap.viz.ui5.controls.VizSlider",
|
|
113
|
+
"sap.viz.ui5.controls.VizSliderBasic",
|
|
114
|
+
"sap.viz.ui5.controls.VizTooltip",
|
|
106
115
|
"sap.viz.ui5.core.BaseChart",
|
|
116
|
+
"sap.viz.ui5.VizContainer",
|
|
107
117
|
//@@begin generated-controls-list
|
|
108
118
|
"sap.viz.ui5.Area",
|
|
109
119
|
"sap.viz.ui5.Area100",
|
|
@@ -240,7 +250,7 @@ sap.ui.define([
|
|
|
240
250
|
|
|
241
251
|
//@@end generated-elements-list
|
|
242
252
|
],
|
|
243
|
-
version: "1.
|
|
253
|
+
version: "1.100.0"
|
|
244
254
|
});
|
|
245
255
|
|
|
246
256
|
//@@begin generated-enums
|
|
@@ -1912,12 +1922,10 @@ sap.ui.define([
|
|
|
1912
1922
|
sPaths.push(sap.ui.require.toUrl("sap/viz/ui5/controls/libs/sap-viz-vizframe/resources/locale") + "/");
|
|
1913
1923
|
}
|
|
1914
1924
|
var treatAsMobile = "auto";
|
|
1915
|
-
if (
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
treatAsMobile = "on";
|
|
1920
|
-
}
|
|
1925
|
+
if (Device.system.desktop === true) {
|
|
1926
|
+
treatAsMobile = "off";
|
|
1927
|
+
} else if (Device.system.desktop === false) {
|
|
1928
|
+
treatAsMobile = "on";
|
|
1921
1929
|
}
|
|
1922
1930
|
sap.viz.api.env.globalSettings({"treatAsMobile": treatAsMobile});
|
|
1923
1931
|
// Load
|
|
@@ -1952,105 +1960,102 @@ sap.ui.define([
|
|
|
1952
1960
|
sap.viz._applyTheme = function() {
|
|
1953
1961
|
// Set template to viz
|
|
1954
1962
|
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
|
-
};
|
|
1963
|
+
var colorArray = [
|
|
1963
1964
|
// Qualitative color
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1965
|
+
'sapUiChartPaletteQualitativeHue1',
|
|
1966
|
+
'sapUiChartPaletteQualitativeHue2',
|
|
1967
|
+
'sapUiChartPaletteQualitativeHue3',
|
|
1968
|
+
'sapUiChartPaletteQualitativeHue4',
|
|
1969
|
+
'sapUiChartPaletteQualitativeHue5',
|
|
1970
|
+
'sapUiChartPaletteQualitativeHue6',
|
|
1971
|
+
'sapUiChartPaletteQualitativeHue7',
|
|
1972
|
+
'sapUiChartPaletteQualitativeHue8',
|
|
1973
|
+
'sapUiChartPaletteQualitativeHue9',
|
|
1974
|
+
'sapUiChartPaletteQualitativeHue10',
|
|
1975
|
+
'sapUiChartPaletteQualitativeHue11',
|
|
1976
|
+
'sapUiChartPaletteQualitativeHue12',
|
|
1977
|
+
'sapUiChartPaletteQualitativeHue13',
|
|
1978
|
+
'sapUiChartPaletteQualitativeHue14',
|
|
1979
|
+
'sapUiChartPaletteQualitativeHue15',
|
|
1980
|
+
'sapUiChartPaletteQualitativeHue16',
|
|
1981
|
+
'sapUiChartPaletteQualitativeHue17',
|
|
1982
|
+
'sapUiChartPaletteQualitativeHue18',
|
|
1983
|
+
'sapUiChartPaletteQualitativeHue19',
|
|
1984
|
+
'sapUiChartPaletteQualitativeHue20',
|
|
1985
|
+
'sapUiChartPaletteQualitativeHue21',
|
|
1986
|
+
'sapUiChartPaletteQualitativeHue22',
|
|
1986
1987
|
// 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
|
-
|
|
1988
|
+
'sapUiChartPaletteSemanticBadLight3',
|
|
1989
|
+
'sapUiChartPaletteSemanticBadLight2',
|
|
1990
|
+
'sapUiChartPaletteSemanticBadLight1',
|
|
1991
|
+
'sapUiChartPaletteSemanticBad',
|
|
1992
|
+
'sapUiChartPaletteSemanticBadDark1',
|
|
1993
|
+
'sapUiChartPaletteSemanticBadDark2',
|
|
1994
|
+
'sapUiChartPaletteSemanticCriticalLight3',
|
|
1995
|
+
'sapUiChartPaletteSemanticCriticalLight2',
|
|
1996
|
+
'sapUiChartPaletteSemanticCriticalLight1',
|
|
1997
|
+
'sapUiChartPaletteSemanticCritical',
|
|
1998
|
+
'sapUiChartPaletteSemanticCriticalDark1',
|
|
1999
|
+
'sapUiChartPaletteSemanticCriticalDark2',
|
|
2000
|
+
'sapUiChartPaletteSemanticGoodLight3',
|
|
2001
|
+
'sapUiChartPaletteSemanticGoodLight2',
|
|
2002
|
+
'sapUiChartPaletteSemanticGoodLight1',
|
|
2003
|
+
'sapUiChartPaletteSemanticGood',
|
|
2004
|
+
'sapUiChartPaletteSemanticGoodDark1',
|
|
2005
|
+
'sapUiChartPaletteSemanticGoodDark2',
|
|
2006
|
+
'sapUiChartPaletteSemanticNeutralLight3',
|
|
2007
|
+
'sapUiChartPaletteSemanticNeutralLight2',
|
|
2008
|
+
'sapUiChartPaletteSemanticNeutralLight1',
|
|
2009
|
+
'sapUiChartPaletteSemanticNeutral',
|
|
2010
|
+
'sapUiChartPaletteSemanticNeutralDark1',
|
|
2011
|
+
'sapUiChartPaletteSemanticNeutralDark2',
|
|
2012
|
+
'sapUiChartPaletteNoSemDiv1Dark2',
|
|
2013
|
+
'sapUiChartPaletteNoSemDiv1Dark1',
|
|
2014
|
+
'sapUiChartPaletteNoSemDiv1',
|
|
2015
|
+
'sapUiChartPaletteNoSemDiv1Light1',
|
|
2016
|
+
'sapUiChartPaletteNoSemDiv1Light2',
|
|
2017
|
+
'sapUiChartPaletteNoSemDiv1Light3',
|
|
2017
2018
|
// 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
|
-
|
|
2019
|
+
'sapUiChartPaletteSequentialHue1Light3',
|
|
2020
|
+
'sapUiChartPaletteSequentialHue1Light2',
|
|
2021
|
+
'sapUiChartPaletteSequentialHue1Light1',
|
|
2022
|
+
'sapUiChartPaletteSequentialHue1',
|
|
2023
|
+
'sapUiChartPaletteSequentialHue1Dark1',
|
|
2024
|
+
'sapUiChartPaletteSequentialHue1Dark2',
|
|
2025
|
+
'sapUiChartPaletteSequentialHue2Light3',
|
|
2026
|
+
'sapUiChartPaletteSequentialHue2Light2',
|
|
2027
|
+
'sapUiChartPaletteSequentialHue2Light1',
|
|
2028
|
+
'sapUiChartPaletteSequentialHue2',
|
|
2029
|
+
'sapUiChartPaletteSequentialHue2Dark1',
|
|
2030
|
+
'sapUiChartPaletteSequentialHue2Dark2',
|
|
2031
|
+
'sapUiChartPaletteSequentialHue3Light3',
|
|
2032
|
+
'sapUiChartPaletteSequentialHue3Light2',
|
|
2033
|
+
'sapUiChartPaletteSequentialHue3Light1',
|
|
2034
|
+
'sapUiChartPaletteSequentialHue3',
|
|
2035
|
+
'sapUiChartPaletteSequentialHue3Dark1',
|
|
2036
|
+
'sapUiChartPaletteSequentialHue3Dark2',
|
|
2037
|
+
'sapUiChartPaletteSequentialHue6Light3',
|
|
2038
|
+
'sapUiChartPaletteSequentialHue6Light2',
|
|
2039
|
+
'sapUiChartPaletteSequentialHue6Light1',
|
|
2040
|
+
'sapUiChartPaletteSequentialHue6',
|
|
2041
|
+
'sapUiChartPaletteSequentialHue6Dark1',
|
|
2042
|
+
'sapUiChartPaletteSequentialHue6Dark2',
|
|
2043
|
+
'sapUiChartPaletteSequentialNeutralLight3',
|
|
2044
|
+
'sapUiChartPaletteSequentialNeutralLight2',
|
|
2045
|
+
'sapUiChartPaletteSequentialNeutralLight1',
|
|
2046
|
+
'sapUiChartPaletteSequentialNeutral',
|
|
2047
|
+
'sapUiChartPaletteSequentialNeutralDark1',
|
|
2048
|
+
'sapUiChartPaletteSequentialNeutralDark2',
|
|
2049
|
+
'sapUiChoroplethRegionBG',
|
|
2050
|
+
'sapUiChartZeroAxisColor',
|
|
2051
|
+
'sapUiNegativeElement',
|
|
2052
|
+
'sapUiCriticalElement',
|
|
2053
|
+
'sapUiPositiveElement',
|
|
2054
|
+
'sapUiNeutralElement'];
|
|
2055
|
+
var mapping = Parameters.get({
|
|
2056
|
+
name: colorArray,
|
|
2057
|
+
callback: function() {}
|
|
2058
|
+
});
|
|
2054
2059
|
sap.viz.api.env.globalSettings({
|
|
2055
2060
|
'colorMapping': mapping
|
|
2056
2061
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* ============================= */
|
|
2
|
+
/* CSS for control sap.m/Slider */
|
|
3
|
+
/* Evening Horizon theme */
|
|
4
|
+
/* ============================= */
|
|
5
|
+
|
|
6
|
+
/* slider */
|
|
7
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress.focus{
|
|
8
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
9
|
+
background:none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress:hover{
|
|
13
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
14
|
+
background:none;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* ================================== */
|
|
2
|
+
/* CSS for control sap.m/Slider */
|
|
3
|
+
/* Horizon High Contrast Black Theme */
|
|
4
|
+
/* ================================== */
|
|
5
|
+
|
|
6
|
+
/* slider */
|
|
7
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress.focus{
|
|
8
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
9
|
+
background:none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress:hover{
|
|
13
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
14
|
+
background:none;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* ================================== */
|
|
2
|
+
/* CSS for control sap.m/Slider */
|
|
3
|
+
/* Horizon High Contrast White Theme */
|
|
4
|
+
/* ================================== */
|
|
5
|
+
|
|
6
|
+
/* slider */
|
|
7
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress.focus{
|
|
8
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
9
|
+
background:none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ui5-sap-viz-vizRangeSlider.sapVizSlider .sapVizSliderProgress:hover{
|
|
13
|
+
border:0.1875rem solid @sapUiDragAndDropBorderColor;
|
|
14
|
+
background:none;
|
|
15
|
+
}
|
package/src/sap/viz/ui5/Area.js
CHANGED
package/src/sap/viz/ui5/Bar.js
CHANGED
package/src/sap/viz/ui5/Donut.js
CHANGED