mdt-charts 1.9.11 → 1.10.3

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.
Files changed (160) hide show
  1. package/lib/config/config.d.ts +148 -0
  2. package/lib/config/config.js +1 -0
  3. package/lib/designer/designerConfig.d.ts +71 -0
  4. package/lib/designer/designerConfig.js +1 -0
  5. package/lib/engine/block/block.d.ts +35 -0
  6. package/lib/engine/block/block.js +110 -0
  7. package/lib/engine/block/blockHelper.d.ts +12 -0
  8. package/lib/engine/block/blockHelper.js +19 -0
  9. package/lib/engine/colorReader/colorReader.d.ts +10 -0
  10. package/lib/engine/colorReader/colorReader.js +21 -0
  11. package/lib/engine/contentManager.d.ts +9 -0
  12. package/lib/engine/contentManager.js +29 -0
  13. package/lib/engine/elementHighlighter/elementHighlighter.d.ts +30 -0
  14. package/lib/engine/elementHighlighter/elementHighlighter.js +198 -0
  15. package/lib/engine/elementHighlighter/selectHighlighter.d.ts +11 -0
  16. package/lib/engine/elementHighlighter/selectHighlighter.js +95 -0
  17. package/lib/engine/engine.d.ts +20 -0
  18. package/lib/engine/engine.js +64 -0
  19. package/lib/engine/features/aggregator/aggregator.d.ts +22 -0
  20. package/lib/engine/features/aggregator/aggregator.js +95 -0
  21. package/lib/engine/features/axis/axis.d.ts +12 -0
  22. package/lib/engine/features/axis/axis.js +118 -0
  23. package/lib/engine/features/axis/axisDomHelper.d.ts +7 -0
  24. package/lib/engine/features/axis/axisDomHelper.js +24 -0
  25. package/lib/engine/features/axis/axisHelper.d.ts +9 -0
  26. package/lib/engine/features/axis/axisHelper.js +53 -0
  27. package/lib/engine/features/axis/axisLabelDomHelper.d.ts +17 -0
  28. package/lib/engine/features/axis/axisLabelDomHelper.js +143 -0
  29. package/lib/engine/features/axis/axisLabelsEventManager.d.ts +6 -0
  30. package/lib/engine/features/axis/axisLabelsEventManager.js +36 -0
  31. package/lib/engine/features/embeddedLabels/embeddedLabels.d.ts +23 -0
  32. package/lib/engine/features/embeddedLabels/embeddedLabels.js +147 -0
  33. package/lib/engine/features/embeddedLabels/embeddedLabelsDomHelper.d.ts +8 -0
  34. package/lib/engine/features/embeddedLabels/embeddedLabelsDomHelper.js +30 -0
  35. package/lib/engine/features/embeddedLabels/embeddedLabelsHelper.d.ts +27 -0
  36. package/lib/engine/features/embeddedLabels/embeddedLabelsHelper.js +65 -0
  37. package/lib/engine/features/gridLine/gidLineHelper.d.ts +13 -0
  38. package/lib/engine/features/gridLine/gidLineHelper.js +30 -0
  39. package/lib/engine/features/gridLine/gridLine.d.ts +11 -0
  40. package/lib/engine/features/gridLine/gridLine.js +67 -0
  41. package/lib/engine/features/legend/legend.d.ts +22 -0
  42. package/lib/engine/features/legend/legend.js +112 -0
  43. package/lib/engine/features/legend/legendDomHelper.d.ts +8 -0
  44. package/lib/engine/features/legend/legendDomHelper.js +48 -0
  45. package/lib/engine/features/legend/legendEventsManager.d.ts +12 -0
  46. package/lib/engine/features/legend/legendEventsManager.js +47 -0
  47. package/lib/engine/features/legend/legendHelper.d.ts +21 -0
  48. package/lib/engine/features/legend/legendHelper.js +99 -0
  49. package/lib/engine/features/markDots/markDot.d.ts +20 -0
  50. package/lib/engine/features/markDots/markDot.js +68 -0
  51. package/lib/engine/features/markDots/markDotsHelper.d.ts +6 -0
  52. package/lib/engine/features/markDots/markDotsHelper.js +16 -0
  53. package/lib/engine/features/recordOverflowAlert/recordOverflowAlert.d.ts +14 -0
  54. package/lib/engine/features/recordOverflowAlert/recordOverflowAlert.js +97 -0
  55. package/lib/engine/features/scale/scale.d.ts +16 -0
  56. package/lib/engine/features/scale/scale.js +74 -0
  57. package/lib/engine/features/tipBox/tipBox.d.ts +11 -0
  58. package/lib/engine/features/tipBox/tipBox.js +32 -0
  59. package/lib/engine/features/tipBox/tipBoxHelper.d.ts +16 -0
  60. package/lib/engine/features/tipBox/tipBoxHelper.js +48 -0
  61. package/lib/engine/features/title/title.d.ts +9 -0
  62. package/lib/engine/features/title/title.js +35 -0
  63. package/lib/engine/features/tolltip/newTooltip/newTooltip.d.ts +16 -0
  64. package/lib/engine/features/tolltip/newTooltip/newTooltip.js +26 -0
  65. package/lib/engine/features/tolltip/newTooltip/newTooltip.test.d.ts +1 -0
  66. package/lib/engine/features/tolltip/newTooltip/newTooltip.test.js +186 -0
  67. package/lib/engine/features/tolltip/newTooltip/newTooltipService.d.ts +17 -0
  68. package/lib/engine/features/tolltip/newTooltip/newTooltipService.js +26 -0
  69. package/lib/engine/features/tolltip/tooltip.d.ts +19 -0
  70. package/lib/engine/features/tolltip/tooltip.js +181 -0
  71. package/lib/engine/features/tolltip/tooltipComponentsManager.d.ts +17 -0
  72. package/lib/engine/features/tolltip/tooltipComponentsManager.js +125 -0
  73. package/lib/engine/features/tolltip/tooltipDomHelper.d.ts +30 -0
  74. package/lib/engine/features/tolltip/tooltipDomHelper.js +103 -0
  75. package/lib/engine/features/tolltip/tooltipHelper.d.ts +18 -0
  76. package/lib/engine/features/tolltip/tooltipHelper.js +93 -0
  77. package/lib/engine/filterManager/filterEventManager.d.ts +33 -0
  78. package/lib/engine/filterManager/filterEventManager.js +127 -0
  79. package/lib/engine/helpers/domHelper.d.ts +30 -0
  80. package/lib/engine/helpers/domHelper.js +68 -0
  81. package/lib/engine/helpers/helper.d.ts +30 -0
  82. package/lib/engine/helpers/helper.js +89 -0
  83. package/lib/engine/helpers/namesHelper.d.ts +5 -0
  84. package/lib/engine/helpers/namesHelper.js +9 -0
  85. package/lib/engine/intervalNotation/gantt.d.ts +10 -0
  86. package/lib/engine/intervalNotation/gantt.js +62 -0
  87. package/lib/engine/intervalNotation/intervalManager.d.ts +7 -0
  88. package/lib/engine/intervalNotation/intervalManager.js +30 -0
  89. package/lib/engine/polarNotation/donut/DonutHelper.d.ts +15 -0
  90. package/lib/engine/polarNotation/donut/DonutHelper.js +60 -0
  91. package/lib/engine/polarNotation/donut/donut.d.ts +32 -0
  92. package/lib/engine/polarNotation/donut/donut.js +125 -0
  93. package/lib/engine/polarNotation/polarManager.d.ts +10 -0
  94. package/lib/engine/polarNotation/polarManager.js +55 -0
  95. package/lib/engine/transitionManager.d.ts +19 -0
  96. package/lib/engine/transitionManager.js +64 -0
  97. package/lib/engine/twoDimensionalNotation/area/area.d.ts +17 -0
  98. package/lib/engine/twoDimensionalNotation/area/area.js +131 -0
  99. package/lib/engine/twoDimensionalNotation/area/areaHelper.d.ts +9 -0
  100. package/lib/engine/twoDimensionalNotation/area/areaHelper.js +40 -0
  101. package/lib/engine/twoDimensionalNotation/bar/bar.d.ts +34 -0
  102. package/lib/engine/twoDimensionalNotation/bar/bar.js +216 -0
  103. package/lib/engine/twoDimensionalNotation/bar/barHelper.d.ts +24 -0
  104. package/lib/engine/twoDimensionalNotation/bar/barHelper.js +103 -0
  105. package/lib/engine/twoDimensionalNotation/line/line.d.ts +17 -0
  106. package/lib/engine/twoDimensionalNotation/line/line.js +132 -0
  107. package/lib/engine/twoDimensionalNotation/line/lineHelper.d.ts +8 -0
  108. package/lib/engine/twoDimensionalNotation/line/lineHelper.js +28 -0
  109. package/lib/engine/twoDimensionalNotation/twoDimensionalManager.d.ts +11 -0
  110. package/lib/engine/twoDimensionalNotation/twoDimensionalManager.js +101 -0
  111. package/lib/engine/valueFormatter.d.ts +6 -0
  112. package/lib/engine/valueFormatter.js +8 -0
  113. package/lib/main.d.ts +79 -0
  114. package/lib/main.js +88 -0
  115. package/lib/model/chartStyleModel.d.ts +16 -0
  116. package/lib/model/chartStyleModel.js +67 -0
  117. package/lib/model/configsValidator/configValidator.d.ts +5 -0
  118. package/lib/model/configsValidator/configValidator.js +7 -0
  119. package/lib/model/dataManagerModel.d.ts +22 -0
  120. package/lib/model/dataManagerModel.js +137 -0
  121. package/lib/model/featuresModel/axisModel.d.ts +18 -0
  122. package/lib/model/featuresModel/axisModel.js +111 -0
  123. package/lib/model/featuresModel/legendModel/legendCanvasModel.d.ts +7 -0
  124. package/lib/model/featuresModel/legendModel/legendCanvasModel.js +86 -0
  125. package/lib/model/featuresModel/legendModel/legendModel.d.ts +13 -0
  126. package/lib/model/featuresModel/legendModel/legendModel.js +78 -0
  127. package/lib/model/featuresModel/otherComponents.d.ts +6 -0
  128. package/lib/model/featuresModel/otherComponents.js +12 -0
  129. package/lib/model/featuresModel/scaleModel.d.ts +17 -0
  130. package/lib/model/featuresModel/scaleModel.js +100 -0
  131. package/lib/model/featuresModel/titleModel.d.ts +4 -0
  132. package/lib/model/featuresModel/titleModel.js +14 -0
  133. package/lib/model/featuresModel/tooltipModel.d.ts +4 -0
  134. package/lib/model/featuresModel/tooltipModel.js +7 -0
  135. package/lib/model/marginModel.d.ts +19 -0
  136. package/lib/model/marginModel.js +126 -0
  137. package/lib/model/model.d.ts +221 -0
  138. package/lib/model/model.js +1 -0
  139. package/lib/model/modelBuilder.d.ts +16 -0
  140. package/lib/model/modelBuilder.js +128 -0
  141. package/lib/model/modelHelper.d.ts +7 -0
  142. package/lib/model/modelHelper.js +41 -0
  143. package/lib/model/notations/intervalModel.d.ts +8 -0
  144. package/lib/model/notations/intervalModel.js +93 -0
  145. package/lib/model/notations/polarModel.d.ts +7 -0
  146. package/lib/model/notations/polarModel.js +27 -0
  147. package/lib/model/notations/twoDimensionalModel.d.ts +19 -0
  148. package/lib/model/notations/twoDimensionalModel.js +85 -0
  149. package/lib/optionsServices/publicOptionsService.d.ts +6 -0
  150. package/lib/optionsServices/publicOptionsService.js +8 -0
  151. package/lib/optionsServices/validators/sizeValidator.d.ts +5 -0
  152. package/lib/optionsServices/validators/sizeValidator.js +13 -0
  153. package/lib/style/charts-main.css +243 -0
  154. package/lib/style/charts-main.less +243 -0
  155. package/package.json +1 -1
  156. package/dist/index.html +0 -363
  157. package/dist/listeners.89e1e272264c0e680de8.js +0 -278
  158. package/dist/main.f8b6bc6fee33cef1116c.js +0 -228
  159. package/dist/src_engine_engine_ts.ccee2a280374e0083541.js +0 -759
  160. package/dist/vendors-node_modules_chroma-js_chroma_js-node_modules_d3-array_src_max_js-node_modules_d3-arr-c3fc24.b32acc465b8557229277.js +0 -1869
@@ -0,0 +1,5 @@
1
+ import { Size } from "../../main";
2
+ export declare class SizeValidator {
3
+ validate(size: Partial<Size>): boolean;
4
+ private validateSide;
5
+ }
@@ -0,0 +1,13 @@
1
+ export class SizeValidator {
2
+ validate(size) {
3
+ return this.validateSide(size.height) && this.validateSide(size.width);
4
+ }
5
+ validateSide(side) {
6
+ if (side == null)
7
+ return true;
8
+ if (typeof side !== "number" || side <= 0) {
9
+ return false;
10
+ }
11
+ return true;
12
+ }
13
+ }
@@ -0,0 +1,243 @@
1
+ .wrapper {
2
+ margin: 0 auto;
3
+ position: relative;
4
+ }
5
+ .bar, .area, .donut {
6
+ stroke: none;
7
+ }
8
+ .line {
9
+ fill: none;
10
+ stroke-width: 4;
11
+ }
12
+ .donut-block * {
13
+ transition: filter 0.15s;
14
+ }
15
+ .arc {
16
+ transition: opacity 0.3s;
17
+ }
18
+ .data-label {
19
+ font-family: "Roboto";
20
+ font-style: normal;
21
+ font-weight: 300;
22
+ font-size: 12px;
23
+ line-height: 140.62%;
24
+ color: #444444;
25
+ cursor: default;
26
+ }
27
+ .bar-item {
28
+ transition: opacity 0.3s, filter 0.3s;
29
+ }
30
+
31
+
32
+ /*========================================================================== Common classes */
33
+ .charts-opacity-inactive {
34
+ opacity: 0.6;
35
+ }
36
+
37
+ /* EXTENDED FOR SPECIFIC STYLES */
38
+ .legend-item.charts-opacity-inactive {
39
+ opacity: 0.45;
40
+ }
41
+
42
+
43
+ /*========================================================================== Legend */
44
+ .legend-item {
45
+ cursor: default;
46
+ transition: opacity 0.1s;
47
+ }
48
+ .legend-item-inline {
49
+ white-space: nowrap;
50
+ }
51
+ .legend-item-inline:not(:first-of-type) {
52
+ margin-left: 20px;
53
+ }
54
+ .legend-item-row {
55
+ display: flex;
56
+ }
57
+ .legend-item-row > span {
58
+ display: block;
59
+ }
60
+ .mt-15 {
61
+ margin-top: 15px;
62
+ }
63
+ .mt-10 {
64
+ margin-top: 10px;
65
+ }
66
+
67
+ .legend-label {
68
+ font-size: 12px;
69
+ font-family: "Roboto", sans-serif;
70
+ font-weight: 300;
71
+ color: #444444;
72
+ width: calc(100% - 19px);
73
+ overflow: hidden;
74
+ line-height: normal;
75
+ }
76
+ .legend-label-nowrap {
77
+ white-space: nowrap;
78
+ text-overflow: ellipsis;
79
+ }
80
+ .legend-circle {
81
+ position: relative;
82
+ bottom: -1px;
83
+ display: inline-block;
84
+ width: 11px;
85
+ height: 11px;
86
+ border-radius: 50%;
87
+ margin-right: 8px;
88
+ }
89
+
90
+
91
+ /*========================================================================= Tooltip */
92
+ .tooltip-block {
93
+ pointer-events: none;
94
+ z-index: 100;
95
+ filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
96
+ width: max-content;
97
+ max-width: 500px;
98
+ }
99
+ .tooltip-content {
100
+ position: relative;
101
+ pointer-events: none;
102
+ font-family: "Roboto", sans-serif;
103
+ line-height: 1;
104
+ padding: 12px 16px;
105
+ color: white;
106
+ z-index: 102;
107
+ max-width: 500px;
108
+ background: rgba(0, 0, 0, 0.82);
109
+ font-size: 11px;
110
+ }
111
+ .tooltip-arrow {
112
+ width: 0;
113
+ height: 0;
114
+ border-style: solid;
115
+ border-color: rgba(0, 0, 0, 0.82) transparent transparent transparent;
116
+ }
117
+
118
+ /* Tooltip Content */
119
+ .tooltip-group {
120
+ display: flex;
121
+ }
122
+ .tooltip-group:not(:first-of-type) {
123
+ margin-top: 6px;
124
+ }
125
+ .tooltip-circle {
126
+ position: relative;
127
+ display: block;
128
+ width: 9px;
129
+ height: 9px;
130
+ margin-right: 10px;
131
+ border-radius: 50%;
132
+ }
133
+ .tooltip-text-item {
134
+ font-family: "Roboto" sans-serif;
135
+ font-style: normal;
136
+ width: 100%;
137
+ flex: 1;
138
+ display: flex;
139
+ font-weight: 400;
140
+ }
141
+
142
+ .tooltip-line {
143
+ stroke: #AAA;
144
+ stroke-width: 1px;
145
+ stroke-linecap: round;
146
+ }
147
+ .tooltip-content .tooltip-head {
148
+ font-size: 12px;
149
+ margin-bottom: 10px;
150
+ }
151
+ .tooltip-content .tooltip-texts {
152
+ width: 100%;
153
+ }
154
+
155
+ .tooltip-content .tooltip-text-item > span {
156
+ display: block;
157
+ }
158
+ .tooltip-content .tooltip-text-item > span:first-of-type {
159
+ flex: 1;
160
+ }
161
+ .tooltip-content .tooltip-text-item > span:last-of-type {
162
+ flex: 0;
163
+ }
164
+ .tooltip-field-value {
165
+ margin-left: 0.5rem;
166
+ white-space: nowrap;
167
+ }
168
+
169
+
170
+ /*========================================================================= Additional */
171
+ .charts-axis .domain {
172
+ stroke: #D2D2D2;
173
+ }
174
+ .charts-axis .tick line:first-of-type {
175
+ stroke: #D2D2D2;
176
+ }
177
+
178
+ /* Aggregator */
179
+ .aggregator-value, .aggregator-name {
180
+ color: #000000;
181
+ font-family: "Roboto", sans-serif;
182
+ font-weight: bold;
183
+ line-height: 1;
184
+ }
185
+ .aggregator-value {
186
+ margin-top: 20px;
187
+ pointer-events: auto;
188
+ }
189
+ .aggregator-name {
190
+ margin-top: 10px;
191
+ }
192
+
193
+ /* Grid */
194
+ .grid-line {
195
+ stroke: #D2D2D2;
196
+ stroke-dasharray: 3;
197
+ }
198
+
199
+ /* Record overflow */
200
+ .record-overflow-alert {
201
+ background-color: #FFFFFF;;
202
+ padding: 5px 10px 5px;
203
+ border: 1px solid #0F6698;
204
+ box-sizing: border-box;
205
+ border-radius: 100px;
206
+ font-family: "Roboto", sans-serif;
207
+ font-style: normal;
208
+ font-weight: 500;
209
+ font-size: 10px;
210
+ line-height: 140.62%;
211
+ color: #0F6698;
212
+ }
213
+ .record-overflow-alert .btn-close {
214
+ border: none;
215
+ background-color: transparent;
216
+ cursor: pointer;
217
+ font-size: 1.3rem;
218
+ }
219
+
220
+ /* Embedded label */
221
+ .embedded-label {
222
+ color: #444444;
223
+ font-family: "Roboto", sans-serif;
224
+ font-style: normal;
225
+ font-weight: 500;
226
+ font-size: 12px;
227
+ line-height: 140.62%;
228
+ }
229
+
230
+ /* Title */
231
+ .chart-title {
232
+ font-family: "Roboto", sans-serif;
233
+ font-style: normal;
234
+ font-weight: 500;
235
+ font-size: 18px;
236
+ line-height: 140.62%;
237
+ cursor: default;
238
+ }
239
+
240
+ /* Mark dots */
241
+ .charts-dot-hidden {
242
+ display: none;
243
+ }
@@ -0,0 +1,243 @@
1
+ .wrapper {
2
+ margin: 0 auto;
3
+ position: relative;
4
+ }
5
+ .bar, .area, .donut {
6
+ stroke: none;
7
+ }
8
+ .line {
9
+ fill: none;
10
+ stroke-width: 4;
11
+ }
12
+ .donut-block * {
13
+ transition: filter 0.15s;
14
+ }
15
+ .arc {
16
+ transition: opacity 0.3s;
17
+ }
18
+ .data-label {
19
+ font-family: "Roboto";
20
+ font-style: normal;
21
+ font-weight: 300;
22
+ font-size: 12px;
23
+ line-height: 140.62%;
24
+ color: #444444;
25
+ cursor: default;
26
+ }
27
+ .bar-item {
28
+ transition: opacity 0.3s, filter 0.3s;
29
+ }
30
+
31
+
32
+ /*========================================================================== Common classes */
33
+ .charts-opacity-inactive {
34
+ opacity: 0.6;
35
+ }
36
+
37
+ /* EXTENDED FOR SPECIFIC STYLES */
38
+ .legend-item.charts-opacity-inactive {
39
+ opacity: 0.45;
40
+ }
41
+
42
+
43
+ /*========================================================================== Legend */
44
+ .legend-item {
45
+ cursor: default;
46
+ transition: opacity 0.1s;
47
+ }
48
+ .legend-item-inline {
49
+ white-space: nowrap;
50
+ }
51
+ .legend-item-inline:not(:first-of-type) {
52
+ margin-left: 20px;
53
+ }
54
+ .legend-item-row {
55
+ display: flex;
56
+ }
57
+ .legend-item-row > span {
58
+ display: block;
59
+ }
60
+ .mt-15 {
61
+ margin-top: 15px;
62
+ }
63
+ .mt-10 {
64
+ margin-top: 10px;
65
+ }
66
+
67
+ .legend-label {
68
+ font-size: 12px;
69
+ font-family: "Roboto", sans-serif;
70
+ font-weight: 300;
71
+ color: #444444;
72
+ width: calc(100% - 19px);
73
+ overflow: hidden;
74
+ line-height: normal;
75
+ }
76
+ .legend-label-nowrap {
77
+ white-space: nowrap;
78
+ text-overflow: ellipsis;
79
+ }
80
+ .legend-circle {
81
+ position: relative;
82
+ bottom: -1px;
83
+ display: inline-block;
84
+ width: 11px;
85
+ height: 11px;
86
+ border-radius: 50%;
87
+ margin-right: 8px;
88
+ }
89
+
90
+
91
+ /*========================================================================= Tooltip */
92
+ .tooltip-block {
93
+ pointer-events: none;
94
+ z-index: 100;
95
+ filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
96
+ width: max-content;
97
+ max-width: 500px;
98
+ }
99
+ .tooltip-content {
100
+ position: relative;
101
+ pointer-events: none;
102
+ font-family: "Roboto", sans-serif;
103
+ line-height: 1;
104
+ padding: 12px 16px;
105
+ color: white;
106
+ z-index: 102;
107
+ max-width: 500px;
108
+ background: rgba(0, 0, 0, 0.82);
109
+ font-size: 11px;
110
+ }
111
+ .tooltip-arrow {
112
+ width: 0;
113
+ height: 0;
114
+ border-style: solid;
115
+ border-color: rgba(0, 0, 0, 0.82) transparent transparent transparent;
116
+ }
117
+
118
+ /* Tooltip Content */
119
+ .tooltip-group {
120
+ display: flex;
121
+ }
122
+ .tooltip-group:not(:first-of-type) {
123
+ margin-top: 6px;
124
+ }
125
+ .tooltip-circle {
126
+ position: relative;
127
+ display: block;
128
+ width: 9px;
129
+ height: 9px;
130
+ margin-right: 10px;
131
+ border-radius: 50%;
132
+ }
133
+ .tooltip-text-item {
134
+ font-family: "Roboto" sans-serif;
135
+ font-style: normal;
136
+ width: 100%;
137
+ flex: 1;
138
+ display: flex;
139
+ font-weight: 400;
140
+ }
141
+
142
+ .tooltip-line {
143
+ stroke: #AAA;
144
+ stroke-width: 1px;
145
+ stroke-linecap: round;
146
+ }
147
+ .tooltip-content .tooltip-head {
148
+ font-size: 12px;
149
+ margin-bottom: 10px;
150
+ }
151
+ .tooltip-content .tooltip-texts {
152
+ width: 100%;
153
+ }
154
+
155
+ .tooltip-content .tooltip-text-item > span {
156
+ display: block;
157
+ }
158
+ .tooltip-content .tooltip-text-item > span:first-of-type {
159
+ flex: 1;
160
+ }
161
+ .tooltip-content .tooltip-text-item > span:last-of-type {
162
+ flex: 0;
163
+ }
164
+ .tooltip-field-value {
165
+ margin-left: 0.5rem;
166
+ white-space: nowrap;
167
+ }
168
+
169
+
170
+ /*========================================================================= Additional */
171
+ .charts-axis .domain {
172
+ stroke: #D2D2D2;
173
+ }
174
+ .charts-axis .tick line:first-of-type {
175
+ stroke: #D2D2D2;
176
+ }
177
+
178
+ /* Aggregator */
179
+ .aggregator-value, .aggregator-name {
180
+ color: #000000;
181
+ font-family: "Roboto", sans-serif;
182
+ font-weight: bold;
183
+ line-height: 1;
184
+ }
185
+ .aggregator-value {
186
+ margin-top: 20px;
187
+ pointer-events: auto;
188
+ }
189
+ .aggregator-name {
190
+ margin-top: 10px;
191
+ }
192
+
193
+ /* Grid */
194
+ .grid-line {
195
+ stroke: #D2D2D2;
196
+ stroke-dasharray: 3;
197
+ }
198
+
199
+ /* Record overflow */
200
+ .record-overflow-alert {
201
+ background-color: #FFFFFF;;
202
+ padding: 5px 10px 5px;
203
+ border: 1px solid #0F6698;
204
+ box-sizing: border-box;
205
+ border-radius: 100px;
206
+ font-family: "Roboto", sans-serif;
207
+ font-style: normal;
208
+ font-weight: 500;
209
+ font-size: 10px;
210
+ line-height: 140.62%;
211
+ color: #0F6698;
212
+ }
213
+ .record-overflow-alert .btn-close {
214
+ border: none;
215
+ background-color: transparent;
216
+ cursor: pointer;
217
+ font-size: 1.3rem;
218
+ }
219
+
220
+ /* Embedded label */
221
+ .embedded-label {
222
+ color: #444444;
223
+ font-family: "Roboto", sans-serif;
224
+ font-style: normal;
225
+ font-weight: 500;
226
+ font-size: 12px;
227
+ line-height: 140.62%;
228
+ }
229
+
230
+ /* Title */
231
+ .chart-title {
232
+ font-family: "Roboto", sans-serif;
233
+ font-style: normal;
234
+ font-weight: 500;
235
+ font-size: 18px;
236
+ line-height: 140.62%;
237
+ cursor: default;
238
+ }
239
+
240
+ /* Mark dots */
241
+ .charts-dot-hidden {
242
+ display: none;
243
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdt-charts",
3
- "version": "1.9.11",
3
+ "version": "1.10.3",
4
4
  "description": "",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {