evui 3.3.19 → 3.3.20

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.
@@ -39,7 +39,6 @@
39
39
 
40
40
  .ev-chart-legend-container {
41
41
  position: relative;
42
- overflow: hidden;
43
42
  }
44
43
 
45
44
  .ev-chart-legend-color {
@@ -96,6 +95,97 @@
96
95
  overflow: hidden;
97
96
  }
98
97
 
98
+ .ev-chart-legend-line {
99
+ position: relative;
100
+ width: 100%;
101
+ height: 100%;
102
+ border-radius: 10px;
103
+ background-color: #E3E3E3;
104
+
105
+ &-layer {
106
+ position: absolute;
107
+ top: 0;
108
+ left: 0;
109
+ width: 100%;
110
+ height: 100%;
111
+ }
112
+ }
113
+
114
+ .ev-chart-legend-thumb {
115
+ position: absolute;
116
+ top: 0;
117
+ left: 0;
118
+ width: 100%;
119
+ height: 100%;
120
+ border-radius: 10px;
121
+ color: #000000;
122
+ }
123
+
124
+ .ev-chart-legend-handle {
125
+ position: absolute;
126
+ top: 0;
127
+ left: 0;
128
+ cursor: pointer;
129
+
130
+ &.dragging,
131
+ &:hover {
132
+ transform: scale(1.2);
133
+ }
134
+
135
+ &-btn {
136
+ width: 100%;
137
+ height: 100%;
138
+ border-radius: 50%;
139
+ background-color: $color-white;
140
+ transition: transform 0.1s ease-in-out;
141
+ box-sizing: border-box;
142
+ border: 2px solid #979797;
143
+
144
+ &-color {
145
+ position: absolute;
146
+ top: 4px;
147
+ left: 4px;
148
+ width: calc(100% - 8px);
149
+ height: calc(100% - 8px);
150
+ border-radius: 50%;
151
+ }
152
+ }
153
+ }
154
+
155
+ .ev-chart-legend-label {
156
+ position: absolute;
157
+ font-size: 12px;
158
+ line-height: 1.4em;
159
+
160
+ &-text {
161
+ display: block;
162
+ white-space: nowrap;
163
+ }
164
+ }
165
+
166
+ .ev-chart-legend-overlay {
167
+ position: absolute;
168
+ top: 0;
169
+ left: 0;
170
+ width: 100%;
171
+ height: 100%;
172
+
173
+ .ev-chart-legend-overlay-item {
174
+ position: absolute;
175
+ top: 1px;
176
+ left: 1px;
177
+ border-radius: 50%;
178
+ border: 1px solid #FFFFFF;
179
+ background-color: transparent;
180
+ }
181
+
182
+ .ev-chart-legend-overlay-tooltip {
183
+ position: absolute;
184
+ font-size: 12px;
185
+ line-height: 1.4em;
186
+ }
187
+ }
188
+
99
189
  .ev-chart-resize-bar {
100
190
  position: absolute;
101
191
  background: transparent;
@@ -22,6 +22,7 @@ const DEFAULT_OPTIONS = {
22
22
  },
23
23
  legend: {
24
24
  show: true,
25
+ type: 'icon',
25
26
  position: 'right',
26
27
  color: '#353740',
27
28
  inactive: '#aaa',
@@ -109,12 +110,13 @@ const DEFAULT_OPTIONS = {
109
110
  heatMapColor: {
110
111
  min: '#FFFFFF',
111
112
  max: '#0052FF',
112
- categoryCnt: 5,
113
+ categoryCnt: 1,
113
114
  stroke: {
114
115
  show: false,
115
116
  color: '#FFFFFF',
116
117
  lineWidth: 1,
117
118
  opacity: 1,
119
+ radius: 0,
118
120
  },
119
121
  error: '#FF0000',
120
122
  decimalPoint: 0,
@@ -524,6 +524,7 @@ export default {
524
524
  };
525
525
  const setParentShow = (data) => {
526
526
  if (!data?.parent) {
527
+ setChildShow(data);
527
528
  return;
528
529
  }
529
530
  const { parent } = data;