@evergis/charts 3.1.30 → 3.1.34
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/LICENSE +21 -21
- package/README.md +25 -25
- package/dist/charts.esm.js +414 -411
- package/dist/charts.esm.js.map +1 -1
- package/dist/index.js +414 -411
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -27,10 +27,10 @@ function _interopNamespaceDefault(e) {
|
|
|
27
27
|
|
|
28
28
|
var d3__namespace = /*#__PURE__*/_interopNamespaceDefault(d3);
|
|
29
29
|
|
|
30
|
-
const Wrapper = styled.div `
|
|
31
|
-
position: relative;
|
|
32
|
-
width: 100%;
|
|
33
|
-
box-sizing: border-box;
|
|
30
|
+
const Wrapper = styled.div `
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
box-sizing: border-box;
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
36
|
function useNode() {
|
|
@@ -128,10 +128,10 @@ const drawMarkers = ({ svg, markers, width, left, top, count, yScale }) => {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
const SwipeScrollContainer = styled.div `
|
|
132
|
-
width: 100%;
|
|
133
|
-
overflow: hidden;
|
|
134
|
-
user-select: none;
|
|
131
|
+
const SwipeScrollContainer = styled.div `
|
|
132
|
+
width: 100%;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
user-select: none;
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
137
|
function animate({ duration, timing, draw, }) {
|
|
@@ -283,37 +283,37 @@ const getTranslate$1 = ({ anchor, index, translateX, translateY, }) => {
|
|
|
283
283
|
}
|
|
284
284
|
return `translate(${translateX}px, ${translateY}px)`;
|
|
285
285
|
};
|
|
286
|
-
const Label$2 = styled.div `
|
|
287
|
-
display: flex;
|
|
288
|
-
align-items: center;
|
|
289
|
-
font-size: 12px;
|
|
286
|
+
const Label$2 = styled.div `
|
|
287
|
+
display: flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
font-size: 12px;
|
|
290
290
|
`;
|
|
291
|
-
const Name$1 = styled.div `
|
|
292
|
-
text-align: center;
|
|
293
|
-
max-width: 120px;
|
|
291
|
+
const Name$1 = styled.div `
|
|
292
|
+
text-align: center;
|
|
293
|
+
max-width: 120px;
|
|
294
294
|
`;
|
|
295
|
-
const middleBadgeStyles = styled.css `
|
|
296
|
-
position: absolute;
|
|
297
|
-
top: 50%;
|
|
298
|
-
right: 0;
|
|
299
|
-
transform: translate(calc(100% + 6px), -50%);
|
|
295
|
+
const middleBadgeStyles = styled.css `
|
|
296
|
+
position: absolute;
|
|
297
|
+
top: 50%;
|
|
298
|
+
right: 0;
|
|
299
|
+
transform: translate(calc(100% + 6px), -50%);
|
|
300
300
|
`;
|
|
301
|
-
const DefaultBadge = styled.div `
|
|
302
|
-
display: flex;
|
|
303
|
-
align-items: center;
|
|
304
|
-
padding: 2px 4px;
|
|
305
|
-
border-radius: 4px;
|
|
306
|
-
color: rgb(255, 255, 255);
|
|
307
|
-
background-color: rgb(144, 197, 61);
|
|
308
|
-
margin-left: 8px;
|
|
301
|
+
const DefaultBadge = styled.div `
|
|
302
|
+
display: flex;
|
|
303
|
+
align-items: center;
|
|
304
|
+
padding: 2px 4px;
|
|
305
|
+
border-radius: 4px;
|
|
306
|
+
color: rgb(255, 255, 255);
|
|
307
|
+
background-color: rgb(144, 197, 61);
|
|
308
|
+
margin-left: 8px;
|
|
309
309
|
`;
|
|
310
|
-
const MiddleBadge = styled(DefaultBadge) `
|
|
311
|
-
${middleBadgeStyles}
|
|
310
|
+
const MiddleBadge = styled(DefaultBadge) `
|
|
311
|
+
${middleBadgeStyles}
|
|
312
312
|
`;
|
|
313
|
-
const BadgePrefix = styled.div `
|
|
314
|
-
margin-left: 4px;
|
|
315
|
-
font-size: 10px;
|
|
316
|
-
color: rgba(255, 255, 255, 0.54);
|
|
313
|
+
const BadgePrefix = styled.div `
|
|
314
|
+
margin-left: 4px;
|
|
315
|
+
font-size: 10px;
|
|
316
|
+
color: rgba(255, 255, 255, 0.54);
|
|
317
317
|
`;
|
|
318
318
|
|
|
319
319
|
const radarChartclassNames = {
|
|
@@ -328,29 +328,29 @@ const radarChartclassNames = {
|
|
|
328
328
|
radarLabelBadgePrefix: 'radarLabelBadgePrefix',
|
|
329
329
|
radarCircle: 'radarCircle',
|
|
330
330
|
};
|
|
331
|
-
const SvgWrapper$5 = styled(Wrapper) `
|
|
332
|
-
.${radarChartclassNames.radarAxis} {
|
|
333
|
-
path,
|
|
334
|
-
line,
|
|
335
|
-
circle {
|
|
336
|
-
fill: none;
|
|
337
|
-
stroke-width: 1px;
|
|
338
|
-
stroke: rgba(149, 149, 149, 0.18);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
.${radarChartclassNames.radarAxisText} {
|
|
342
|
-
font-size: 12px;
|
|
343
|
-
fill-opacity: 0.56;
|
|
344
|
-
}
|
|
345
|
-
.${radarChartclassNames.radarPolygon} {
|
|
346
|
-
fill-opacity: 0.06;
|
|
347
|
-
stroke-width: 2px;
|
|
348
|
-
fill: rgb(144, 197, 61);
|
|
349
|
-
stroke: rgb(144, 197, 61);
|
|
350
|
-
}
|
|
351
|
-
.${radarChartclassNames.radarCircle} {
|
|
352
|
-
fill: rgb(144, 197, 61);
|
|
353
|
-
}
|
|
331
|
+
const SvgWrapper$5 = styled(Wrapper) `
|
|
332
|
+
.${radarChartclassNames.radarAxis} {
|
|
333
|
+
path,
|
|
334
|
+
line,
|
|
335
|
+
circle {
|
|
336
|
+
fill: none;
|
|
337
|
+
stroke-width: 1px;
|
|
338
|
+
stroke: rgba(149, 149, 149, 0.18);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
.${radarChartclassNames.radarAxisText} {
|
|
342
|
+
font-size: 12px;
|
|
343
|
+
fill-opacity: 0.56;
|
|
344
|
+
}
|
|
345
|
+
.${radarChartclassNames.radarPolygon} {
|
|
346
|
+
fill-opacity: 0.06;
|
|
347
|
+
stroke-width: 2px;
|
|
348
|
+
fill: rgb(144, 197, 61);
|
|
349
|
+
stroke: rgb(144, 197, 61);
|
|
350
|
+
}
|
|
351
|
+
.${radarChartclassNames.radarCircle} {
|
|
352
|
+
fill: rgb(144, 197, 61);
|
|
353
|
+
}
|
|
354
354
|
`;
|
|
355
355
|
|
|
356
356
|
const getTranslate = ({ anchor, index, translateX, translateY, }) => {
|
|
@@ -372,8 +372,8 @@ const LabelContainer$1 = styled.div.attrs(props => ({
|
|
|
372
372
|
style: {
|
|
373
373
|
transform: getTranslate(props),
|
|
374
374
|
},
|
|
375
|
-
})) `
|
|
376
|
-
position: absolute;
|
|
375
|
+
})) `
|
|
376
|
+
position: absolute;
|
|
377
377
|
`;
|
|
378
378
|
|
|
379
379
|
const degByIndex = (index, count) => {
|
|
@@ -620,15 +620,6 @@ RadarChart.defaultProps = {
|
|
|
620
620
|
curve: d3__namespace.curveLinearClosed,
|
|
621
621
|
};
|
|
622
622
|
|
|
623
|
-
function radiansToDegrees(radians) {
|
|
624
|
-
const flatAngle = 180;
|
|
625
|
-
return (radians * flatAngle) / Math.PI;
|
|
626
|
-
}
|
|
627
|
-
function degreesToRadians(degrees) {
|
|
628
|
-
const flatAngle = 180;
|
|
629
|
-
return degrees * (Math.PI / flatAngle);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
623
|
const pieChartclassNames = {
|
|
633
624
|
pieGlobal: 'pieGlobal',
|
|
634
625
|
pieSlice: 'pieSlice',
|
|
@@ -646,23 +637,35 @@ const pieChartclassNames = {
|
|
|
646
637
|
pieTooltipColorBox: 'pieTooltipColorBox',
|
|
647
638
|
pieFullChartTooltipCircle: 'pieFullChartTooltipCircle',
|
|
648
639
|
};
|
|
649
|
-
const SvgWrapper$4 = styled(Wrapper) `
|
|
650
|
-
.${pieChartclassNames.pieSliceLabel} {
|
|
651
|
-
fill: #4a4a4a;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
640
|
+
const SvgWrapper$4 = styled(Wrapper) `
|
|
641
|
+
.${pieChartclassNames.pieSliceLabel} {
|
|
642
|
+
fill: #4a4a4a;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.${pieChartclassNames.pieRadialLabel} {
|
|
646
|
+
position: absolute;
|
|
647
|
+
max-width: 128px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.${pieChartclassNames.pieRadialLink} {
|
|
651
|
+
stroke: #000;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.${pieChartclassNames.pieFullChartTooltipCircle} {
|
|
655
|
+
fill: transparent;
|
|
656
|
+
cursor: pointer;
|
|
657
|
+
}
|
|
664
658
|
`;
|
|
665
659
|
|
|
660
|
+
function radiansToDegrees(radians) {
|
|
661
|
+
const flatAngle = 180;
|
|
662
|
+
return (radians * flatAngle) / Math.PI;
|
|
663
|
+
}
|
|
664
|
+
function degreesToRadians(degrees) {
|
|
665
|
+
const flatAngle = 180;
|
|
666
|
+
return degrees * (Math.PI / flatAngle);
|
|
667
|
+
}
|
|
668
|
+
|
|
666
669
|
const getMidFactor = (d) => d.startAngle + (d.endAngle - d.startAngle) / 2 < Math.PI ? 1 : -1;
|
|
667
670
|
const getAlign = (d) => {
|
|
668
671
|
const midangle = d.startAngle + (d.endAngle - d.startAngle) / 2;
|
|
@@ -751,90 +754,90 @@ const drawRadialLabels = ({ arc, enableRadialLabels, global, node, radius, dataR
|
|
|
751
754
|
}
|
|
752
755
|
};
|
|
753
756
|
|
|
754
|
-
const TooltipFlex$1 = styled.div `
|
|
755
|
-
width: 0;
|
|
756
|
-
height: 0;
|
|
757
|
-
display: flex;
|
|
758
|
-
align-items: flex-end;
|
|
759
|
-
justify-content: center;
|
|
760
|
-
pointer-events: none;
|
|
761
|
-
white-space: nowrap;
|
|
757
|
+
const TooltipFlex$1 = styled.div `
|
|
758
|
+
width: 0;
|
|
759
|
+
height: 0;
|
|
760
|
+
display: flex;
|
|
761
|
+
align-items: flex-end;
|
|
762
|
+
justify-content: center;
|
|
763
|
+
pointer-events: none;
|
|
764
|
+
white-space: nowrap;
|
|
762
765
|
`;
|
|
763
766
|
const LabelFlex = styled(TooltipFlex$1) ``;
|
|
764
|
-
const LabelFlexCenter = styled(LabelFlex) `
|
|
765
|
-
align-items: center;
|
|
767
|
+
const LabelFlexCenter = styled(LabelFlex) `
|
|
768
|
+
align-items: center;
|
|
766
769
|
`;
|
|
767
|
-
const TooltipContainer = styled.div `
|
|
768
|
-
position: relative;
|
|
769
|
-
font-size: 11px;
|
|
770
|
-
color: #fff;
|
|
771
|
-
margin-bottom: 8px;
|
|
772
|
-
padding: 4px 6px;
|
|
773
|
-
background-color: rgba(48, 69, 79, 1);
|
|
774
|
-
border-radius: 4px;
|
|
775
|
-
box-shadow: 0 0.1875rem 0.5rem rgba(48, 69, 79, 0.06);
|
|
776
|
-
|
|
777
|
-
:before {
|
|
778
|
-
content: '';
|
|
779
|
-
position: absolute;
|
|
780
|
-
bottom: 0;
|
|
781
|
-
left: 50%;
|
|
782
|
-
transform: translate(-50%, 100%);
|
|
783
|
-
width: 0;
|
|
784
|
-
height: 0;
|
|
785
|
-
border-style: solid;
|
|
786
|
-
border-width: 4px 3px 0 3px;
|
|
787
|
-
border-color: rgba(48, 69, 79, 1) transparent transparent transparent;
|
|
788
|
-
}
|
|
770
|
+
const TooltipContainer = styled.div `
|
|
771
|
+
position: relative;
|
|
772
|
+
font-size: 11px;
|
|
773
|
+
color: #fff;
|
|
774
|
+
margin-bottom: 8px;
|
|
775
|
+
padding: 4px 6px;
|
|
776
|
+
background-color: rgba(48, 69, 79, 1);
|
|
777
|
+
border-radius: 4px;
|
|
778
|
+
box-shadow: 0 0.1875rem 0.5rem rgba(48, 69, 79, 0.06);
|
|
779
|
+
|
|
780
|
+
:before {
|
|
781
|
+
content: '';
|
|
782
|
+
position: absolute;
|
|
783
|
+
bottom: 0;
|
|
784
|
+
left: 50%;
|
|
785
|
+
transform: translate(-50%, 100%);
|
|
786
|
+
width: 0;
|
|
787
|
+
height: 0;
|
|
788
|
+
border-style: solid;
|
|
789
|
+
border-width: 4px 3px 0 3px;
|
|
790
|
+
border-color: rgba(48, 69, 79, 1) transparent transparent transparent;
|
|
791
|
+
}
|
|
789
792
|
`;
|
|
790
|
-
const TooltipGroupName = styled.div `
|
|
791
|
-
font-size: 14px;
|
|
792
|
-
margin-bottom: 6px;
|
|
793
|
+
const TooltipGroupName = styled.div `
|
|
794
|
+
font-size: 14px;
|
|
795
|
+
margin-bottom: 6px;
|
|
793
796
|
`;
|
|
794
|
-
const TooltipItem = styled.div `
|
|
795
|
-
display: flex;
|
|
796
|
-
align-items: center;
|
|
797
|
-
margin-bottom: 0.25rem;
|
|
798
|
-
|
|
799
|
-
&:last-of-type {
|
|
800
|
-
margin-bottom: 0;
|
|
801
|
-
}
|
|
797
|
+
const TooltipItem = styled.div `
|
|
798
|
+
display: flex;
|
|
799
|
+
align-items: center;
|
|
800
|
+
margin-bottom: 0.25rem;
|
|
801
|
+
|
|
802
|
+
&:last-of-type {
|
|
803
|
+
margin-bottom: 0;
|
|
804
|
+
}
|
|
802
805
|
`;
|
|
803
|
-
const ColFlex = styled.div `
|
|
804
|
-
display: flex;
|
|
805
|
-
align-items: center;
|
|
806
|
-
margin-right: 4px;
|
|
806
|
+
const ColFlex = styled.div `
|
|
807
|
+
display: flex;
|
|
808
|
+
align-items: center;
|
|
809
|
+
margin-right: 4px;
|
|
807
810
|
`;
|
|
808
|
-
const ColorBox = styled.div `
|
|
809
|
-
margin-right: 4px;
|
|
810
|
-
width: 10px;
|
|
811
|
-
height: 10px;
|
|
812
|
-
border-radius: 2px;
|
|
811
|
+
const ColorBox = styled.div `
|
|
812
|
+
margin-right: 4px;
|
|
813
|
+
width: 10px;
|
|
814
|
+
height: 10px;
|
|
815
|
+
border-radius: 2px;
|
|
813
816
|
`;
|
|
814
|
-
const ColorLine = styled(ColorBox) `
|
|
815
|
-
height: 2px;
|
|
816
|
-
border-radius: 0;
|
|
817
|
+
const ColorLine = styled(ColorBox) `
|
|
818
|
+
height: 2px;
|
|
819
|
+
border-radius: 0;
|
|
817
820
|
`;
|
|
818
|
-
const Name = styled.div `
|
|
819
|
-
margin-right: 4px;
|
|
821
|
+
const Name = styled.div `
|
|
822
|
+
margin-right: 4px;
|
|
820
823
|
`;
|
|
821
|
-
const Value = styled.div `
|
|
822
|
-
text-align: right;
|
|
823
|
-
flex-shrink: 0;
|
|
824
|
-
flex-grow: 1;
|
|
824
|
+
const Value = styled.div `
|
|
825
|
+
text-align: right;
|
|
826
|
+
flex-shrink: 0;
|
|
827
|
+
flex-grow: 1;
|
|
825
828
|
`;
|
|
826
|
-
const Label$1 = styled.div `
|
|
827
|
-
position: relative;
|
|
828
|
-
font-size: 11px;
|
|
829
|
-
color: #fff;
|
|
830
|
-
font-weight: bold;
|
|
831
|
-
letter-spacing: 0.52px;
|
|
829
|
+
const Label$1 = styled.div `
|
|
830
|
+
position: relative;
|
|
831
|
+
font-size: 11px;
|
|
832
|
+
color: #fff;
|
|
833
|
+
font-weight: bold;
|
|
834
|
+
letter-spacing: 0.52px;
|
|
832
835
|
`;
|
|
833
|
-
const LabelTop = styled(Label$1) `
|
|
834
|
-
top: 6px;
|
|
836
|
+
const LabelTop = styled(Label$1) `
|
|
837
|
+
top: 6px;
|
|
835
838
|
`;
|
|
836
|
-
const LabelBottom = styled(Label$1) `
|
|
837
|
-
bottom: 6px;
|
|
839
|
+
const LabelBottom = styled(Label$1) `
|
|
840
|
+
bottom: 6px;
|
|
838
841
|
`;
|
|
839
842
|
|
|
840
843
|
const drawTooltip$3 = ({ fullChartTooltip, global, tooltipRoot, data, tooltipClassName, tooltipBind, renderTooltip, arc, allSlices, tooltipStyle, width, height, radius, }) => {
|
|
@@ -1223,53 +1226,53 @@ const calendarChartClassNames = {
|
|
|
1223
1226
|
...legendClassNames,
|
|
1224
1227
|
};
|
|
1225
1228
|
const headerHeight = "20px";
|
|
1226
|
-
const SvgWrapper$3 = styled(Wrapper) `
|
|
1227
|
-
.${calendarChartClassNames.calendarYear} {
|
|
1228
|
-
display: flex;
|
|
1229
|
-
margin-bottom: 16px;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
.${calendarChartClassNames.calendarYearTitle} {
|
|
1233
|
-
display: inline-flex;
|
|
1234
|
-
align-items: flex-end;
|
|
1235
|
-
height: ${headerHeight};
|
|
1236
|
-
margin-bottom: 4px;
|
|
1237
|
-
font-weight: bold;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
.${calendarChartClassNames.calendarHeader} {
|
|
1241
|
-
height: ${headerHeight};
|
|
1242
|
-
margin-bottom: 4px;
|
|
1243
|
-
position: relative;
|
|
1244
|
-
display: flex;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
.${calendarChartClassNames.calendarMonth} {
|
|
1248
|
-
font-size: 14px;
|
|
1249
|
-
bottom: 0;
|
|
1250
|
-
position: absolute;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
.${calendarChartClassNames.calendarAxis} {
|
|
1254
|
-
display: flex;
|
|
1255
|
-
flex-direction: column;
|
|
1256
|
-
margin-right: 10px;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
.${calendarChartClassNames.calendarWeekDay} {
|
|
1260
|
-
font-size: 12px;
|
|
1261
|
-
display: inline-flex;
|
|
1262
|
-
align-items: center;
|
|
1263
|
-
justify-content: flex-end;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
.${calendarChartClassNames.calendarDays} {
|
|
1267
|
-
position: relative;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
.${calendarChartClassNames.calendarDay} {
|
|
1271
|
-
position: absolute;
|
|
1272
|
-
}
|
|
1229
|
+
const SvgWrapper$3 = styled(Wrapper) `
|
|
1230
|
+
.${calendarChartClassNames.calendarYear} {
|
|
1231
|
+
display: flex;
|
|
1232
|
+
margin-bottom: 16px;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.${calendarChartClassNames.calendarYearTitle} {
|
|
1236
|
+
display: inline-flex;
|
|
1237
|
+
align-items: flex-end;
|
|
1238
|
+
height: ${headerHeight};
|
|
1239
|
+
margin-bottom: 4px;
|
|
1240
|
+
font-weight: bold;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.${calendarChartClassNames.calendarHeader} {
|
|
1244
|
+
height: ${headerHeight};
|
|
1245
|
+
margin-bottom: 4px;
|
|
1246
|
+
position: relative;
|
|
1247
|
+
display: flex;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.${calendarChartClassNames.calendarMonth} {
|
|
1251
|
+
font-size: 14px;
|
|
1252
|
+
bottom: 0;
|
|
1253
|
+
position: absolute;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.${calendarChartClassNames.calendarAxis} {
|
|
1257
|
+
display: flex;
|
|
1258
|
+
flex-direction: column;
|
|
1259
|
+
margin-right: 10px;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
.${calendarChartClassNames.calendarWeekDay} {
|
|
1263
|
+
font-size: 12px;
|
|
1264
|
+
display: inline-flex;
|
|
1265
|
+
align-items: center;
|
|
1266
|
+
justify-content: flex-end;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.${calendarChartClassNames.calendarDays} {
|
|
1270
|
+
position: relative;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.${calendarChartClassNames.calendarDay} {
|
|
1274
|
+
position: absolute;
|
|
1275
|
+
}
|
|
1273
1276
|
`;
|
|
1274
1277
|
|
|
1275
1278
|
const draw$3 = (node, props) => {
|
|
@@ -1496,67 +1499,67 @@ const lineChartClassNames = {
|
|
|
1496
1499
|
lineChartMouseLabelContainer: "lineChartMouseLabelContainer",
|
|
1497
1500
|
lineChartMouseLabel: "lineChartMouseLabel",
|
|
1498
1501
|
};
|
|
1499
|
-
const SvgWrapper$2 = styled(Wrapper) `
|
|
1500
|
-
.${lineChartClassNames.lineChartYScaleGlobal},
|
|
1501
|
-
.${lineChartClassNames.lineChartXScaleGlobal},
|
|
1502
|
-
.${lineChartClassNames.lineChartGridGlobal} {
|
|
1503
|
-
shape-rendering: crispEdges;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
.${lineChartClassNames.lineChartLinesGlobal} {
|
|
1507
|
-
fill: none;
|
|
1508
|
-
stroke: steelblue;
|
|
1509
|
-
stroke-width: 1.5px;
|
|
1510
|
-
stroke-linejoin: round;
|
|
1511
|
-
stroke-linecap: round;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
.${lineChartClassNames.lineChartArea} {
|
|
1515
|
-
fill-opacity: 0.24;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
.${lineChartClassNames.lineChartGridLineX},
|
|
1519
|
-
.${lineChartClassNames.lineChartGridLineY},
|
|
1520
|
-
.${lineChartClassNames.lineChartMouseLine} {
|
|
1521
|
-
stroke: rgba(149, 149, 149, 0.24);
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
.${lineChartClassNames.lineChartMouseLine},
|
|
1525
|
-
.${lineChartClassNames.lineChartMouseCircle} {
|
|
1526
|
-
transition: opacity linear 200ms;
|
|
1527
|
-
pointer-events: none;
|
|
1528
|
-
stroke-width: 1px;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
.${lineChartClassNames.lineChartDot} {
|
|
1532
|
-
stroke: #fff;
|
|
1533
|
-
stroke-width: 2px;
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
.${lineChartClassNames.lineChartMouseLine} {
|
|
1537
|
-
shape-rendering: crispEdges;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
.${lineChartClassNames.lineChartMouseRect} {
|
|
1541
|
-
fill: none;
|
|
1542
|
-
pointer-events: all;
|
|
1543
|
-
}
|
|
1502
|
+
const SvgWrapper$2 = styled(Wrapper) `
|
|
1503
|
+
.${lineChartClassNames.lineChartYScaleGlobal},
|
|
1504
|
+
.${lineChartClassNames.lineChartXScaleGlobal},
|
|
1505
|
+
.${lineChartClassNames.lineChartGridGlobal} {
|
|
1506
|
+
shape-rendering: crispEdges;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.${lineChartClassNames.lineChartLinesGlobal} {
|
|
1510
|
+
fill: none;
|
|
1511
|
+
stroke: steelblue;
|
|
1512
|
+
stroke-width: 1.5px;
|
|
1513
|
+
stroke-linejoin: round;
|
|
1514
|
+
stroke-linecap: round;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
.${lineChartClassNames.lineChartArea} {
|
|
1518
|
+
fill-opacity: 0.24;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
.${lineChartClassNames.lineChartGridLineX},
|
|
1522
|
+
.${lineChartClassNames.lineChartGridLineY},
|
|
1523
|
+
.${lineChartClassNames.lineChartMouseLine} {
|
|
1524
|
+
stroke: rgba(149, 149, 149, 0.24);
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.${lineChartClassNames.lineChartMouseLine},
|
|
1528
|
+
.${lineChartClassNames.lineChartMouseCircle} {
|
|
1529
|
+
transition: opacity linear 200ms;
|
|
1530
|
+
pointer-events: none;
|
|
1531
|
+
stroke-width: 1px;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
.${lineChartClassNames.lineChartDot} {
|
|
1535
|
+
stroke: #fff;
|
|
1536
|
+
stroke-width: 2px;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.${lineChartClassNames.lineChartMouseLine} {
|
|
1540
|
+
shape-rendering: crispEdges;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.${lineChartClassNames.lineChartMouseRect} {
|
|
1544
|
+
fill: none;
|
|
1545
|
+
pointer-events: all;
|
|
1546
|
+
}
|
|
1544
1547
|
`;
|
|
1545
|
-
const TooltipStyles$2 = styled.createGlobalStyle `
|
|
1546
|
-
.${lineChartClassNames.lineChartMouseLabel} {
|
|
1547
|
-
transition: opacity linear 200ms;
|
|
1548
|
-
z-index: 100;
|
|
1549
|
-
|
|
1550
|
-
.${lineChartClassNames.lineChartLabelFlex} {
|
|
1551
|
-
justify-content: flex-start;
|
|
1552
|
-
align-items: center;
|
|
1553
|
-
pointer-events: none;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
.${lineChartClassNames.lineChartLabel} {
|
|
1557
|
-
margin: 0 0 0 10px;
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1548
|
+
const TooltipStyles$2 = styled.createGlobalStyle `
|
|
1549
|
+
.${lineChartClassNames.lineChartMouseLabel} {
|
|
1550
|
+
transition: opacity linear 200ms;
|
|
1551
|
+
z-index: 100;
|
|
1552
|
+
|
|
1553
|
+
.${lineChartClassNames.lineChartLabelFlex} {
|
|
1554
|
+
justify-content: flex-start;
|
|
1555
|
+
align-items: center;
|
|
1556
|
+
pointer-events: none;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.${lineChartClassNames.lineChartLabel} {
|
|
1560
|
+
margin: 0 0 0 10px;
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1560
1563
|
`;
|
|
1561
1564
|
|
|
1562
1565
|
const drawGrid$2 = ({ svg, yScale, xScale, yTicksCount, lastIndex, drawGridX, drawGridY, }) => {
|
|
@@ -1592,17 +1595,17 @@ const drawGrid$2 = ({ svg, yScale, xScale, yTicksCount, lastIndex, drawGridX, dr
|
|
|
1592
1595
|
}
|
|
1593
1596
|
};
|
|
1594
1597
|
|
|
1595
|
-
const LabelContainer = styled.div `
|
|
1596
|
-
width: 0;
|
|
1597
|
-
height: 0;
|
|
1598
|
-
display: flex;
|
|
1599
|
-
align-items: flex-end;
|
|
1600
|
-
justify-content: center;
|
|
1601
|
-
font-size: 12px;
|
|
1602
|
-
white-space: nowrap;
|
|
1598
|
+
const LabelContainer = styled.div `
|
|
1599
|
+
width: 0;
|
|
1600
|
+
height: 0;
|
|
1601
|
+
display: flex;
|
|
1602
|
+
align-items: flex-end;
|
|
1603
|
+
justify-content: center;
|
|
1604
|
+
font-size: 12px;
|
|
1605
|
+
white-space: nowrap;
|
|
1603
1606
|
`;
|
|
1604
|
-
const Label = styled.div `
|
|
1605
|
-
margin-bottom: 4px;
|
|
1607
|
+
const Label = styled.div `
|
|
1608
|
+
margin-bottom: 4px;
|
|
1606
1609
|
`;
|
|
1607
1610
|
|
|
1608
1611
|
const labelClassName = "d3-chart-label";
|
|
@@ -2196,66 +2199,66 @@ const barChartClassNames = {
|
|
|
2196
2199
|
...labelClassnames,
|
|
2197
2200
|
...barChartLinesClassNames,
|
|
2198
2201
|
};
|
|
2199
|
-
const SvgWrapper$1 = styled(Wrapper) `
|
|
2200
|
-
display: ${({ selectable }) => selectable && "inline-block"};
|
|
2201
|
-
user-select: ${({ selectable }) => selectable && "none"};
|
|
2202
|
-
width: ${({ selectable }) => selectable && "auto"};
|
|
2203
|
-
|
|
2204
|
-
line {
|
|
2205
|
-
stroke-width: 1px;
|
|
2206
|
-
shape-rendering: crispEdges;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
.${barChartClassNames.barChartGridLineX},
|
|
2210
|
-
.${barChartClassNames.barChartGridLineY} {
|
|
2211
|
-
stroke: rgba(48, 69, 79, 0.06);
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
.${barChartClassNames.barChartMouseRect} {
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
.${barChartClassNames.barChartMouseRect} {
|
|
2218
|
-
fill: none;
|
|
2219
|
-
pointer-events: all;
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
.${barChartClassNames.barChartLinesGlobal} {
|
|
2223
|
-
stroke-width: 1.5px;
|
|
2224
|
-
stroke-linejoin: round;
|
|
2225
|
-
stroke-linecap: round;
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
.${barChartClassNames.barChartLine} {
|
|
2229
|
-
shape-rendering: auto;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
.${barChartClassNames.barChartArea} {
|
|
2233
|
-
fill-opacity: 0.24;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
.${barChartClassNames.barChartSelection} {
|
|
2237
|
-
position: absolute;
|
|
2238
|
-
top: 0;
|
|
2239
|
-
width: 0;
|
|
2240
|
-
background: rgba(0, 170, 255, 0.06);
|
|
2241
|
-
box-shadow: 1px 0 0 #00AAFF, -1px 0 0 #00AAFF;
|
|
2242
|
-
pointer-events: none;
|
|
2243
|
-
}
|
|
2202
|
+
const SvgWrapper$1 = styled(Wrapper) `
|
|
2203
|
+
display: ${({ selectable }) => selectable && "inline-block"};
|
|
2204
|
+
user-select: ${({ selectable }) => selectable && "none"};
|
|
2205
|
+
width: ${({ selectable }) => selectable && "auto"};
|
|
2206
|
+
|
|
2207
|
+
line {
|
|
2208
|
+
stroke-width: 1px;
|
|
2209
|
+
shape-rendering: crispEdges;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
.${barChartClassNames.barChartGridLineX},
|
|
2213
|
+
.${barChartClassNames.barChartGridLineY} {
|
|
2214
|
+
stroke: rgba(48, 69, 79, 0.06);
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
.${barChartClassNames.barChartMouseRect} {
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
.${barChartClassNames.barChartMouseRect} {
|
|
2221
|
+
fill: none;
|
|
2222
|
+
pointer-events: all;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
.${barChartClassNames.barChartLinesGlobal} {
|
|
2226
|
+
stroke-width: 1.5px;
|
|
2227
|
+
stroke-linejoin: round;
|
|
2228
|
+
stroke-linecap: round;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
.${barChartClassNames.barChartLine} {
|
|
2232
|
+
shape-rendering: auto;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
.${barChartClassNames.barChartArea} {
|
|
2236
|
+
fill-opacity: 0.24;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
.${barChartClassNames.barChartSelection} {
|
|
2240
|
+
position: absolute;
|
|
2241
|
+
top: 0;
|
|
2242
|
+
width: 0;
|
|
2243
|
+
background: rgba(0, 170, 255, 0.06);
|
|
2244
|
+
box-shadow: 1px 0 0 #00AAFF, -1px 0 0 #00AAFF;
|
|
2245
|
+
pointer-events: none;
|
|
2246
|
+
}
|
|
2244
2247
|
`;
|
|
2245
|
-
const TooltipStyles$1 = styled.createGlobalStyle `
|
|
2246
|
-
.${barChartClassNames.barChartMouseTooltip} {
|
|
2247
|
-
z-index: 100;
|
|
2248
|
-
transition: all linear 144ms;
|
|
2249
|
-
|
|
2250
|
-
.${barChartClassNames.barChartTooltipItem} {
|
|
2251
|
-
padding: 0.125rem;
|
|
2252
|
-
margin-bottom: 4px;
|
|
2253
|
-
|
|
2254
|
-
:last-of-type {
|
|
2255
|
-
margin-bottom: 0;
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2248
|
+
const TooltipStyles$1 = styled.createGlobalStyle `
|
|
2249
|
+
.${barChartClassNames.barChartMouseTooltip} {
|
|
2250
|
+
z-index: 100;
|
|
2251
|
+
transition: all linear 144ms;
|
|
2252
|
+
|
|
2253
|
+
.${barChartClassNames.barChartTooltipItem} {
|
|
2254
|
+
padding: 0.125rem;
|
|
2255
|
+
margin-bottom: 4px;
|
|
2256
|
+
|
|
2257
|
+
:last-of-type {
|
|
2258
|
+
margin-bottom: 0;
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2259
2262
|
`;
|
|
2260
2263
|
|
|
2261
2264
|
const useSelection = (node, props) => {
|
|
@@ -3063,45 +3066,45 @@ const horizontalBarChartClassNames = {
|
|
|
3063
3066
|
horizontalBarChartTooltipName: "horizontalBarChartTooltipName",
|
|
3064
3067
|
horizontalBarChartTooltipValue: "horizontalBarChartTooltipValue",
|
|
3065
3068
|
};
|
|
3066
|
-
const Table = styled.table `
|
|
3067
|
-
width: 100%;
|
|
3069
|
+
const Table = styled.table `
|
|
3070
|
+
width: 100%;
|
|
3068
3071
|
`;
|
|
3069
|
-
const LabelCell = styled.div `
|
|
3070
|
-
text-align: right;
|
|
3072
|
+
const LabelCell = styled.div `
|
|
3073
|
+
text-align: right;
|
|
3071
3074
|
`;
|
|
3072
|
-
const BarFlex = styled.div `
|
|
3073
|
-
width: 100%;
|
|
3074
|
-
display: flex;
|
|
3075
|
-
height: 1rem;
|
|
3075
|
+
const BarFlex = styled.div `
|
|
3076
|
+
width: 100%;
|
|
3077
|
+
display: flex;
|
|
3078
|
+
height: 1rem;
|
|
3076
3079
|
`;
|
|
3077
|
-
const BarsTd = styled.td `
|
|
3078
|
-
width: 100%;
|
|
3079
|
-
position: relative;
|
|
3080
|
-
vertical-align: middle;
|
|
3080
|
+
const BarsTd = styled.td `
|
|
3081
|
+
width: 100%;
|
|
3082
|
+
position: relative;
|
|
3083
|
+
vertical-align: middle;
|
|
3081
3084
|
`;
|
|
3082
|
-
const TooltipFlex = styled(TooltipFlex$1) `
|
|
3083
|
-
position: absolute;
|
|
3084
|
-
top: 0;
|
|
3085
|
-
left: 50%;
|
|
3086
|
-
transform: translate(-50%, -50%);
|
|
3087
|
-
will-change: left, top;
|
|
3085
|
+
const TooltipFlex = styled(TooltipFlex$1) `
|
|
3086
|
+
position: absolute;
|
|
3087
|
+
top: 0;
|
|
3088
|
+
left: 50%;
|
|
3089
|
+
transform: translate(-50%, -50%);
|
|
3090
|
+
will-change: left, top;
|
|
3088
3091
|
`;
|
|
3089
|
-
const StackSumContainer = styled.div `
|
|
3090
|
-
position: relative;
|
|
3092
|
+
const StackSumContainer = styled.div `
|
|
3093
|
+
position: relative;
|
|
3091
3094
|
`;
|
|
3092
|
-
const StackSum = styled.div `
|
|
3093
|
-
white-space: nowrap;
|
|
3094
|
-
position: absolute;
|
|
3095
|
-
top: 50%;
|
|
3096
|
-
left: 50%;
|
|
3097
|
-
transform: translate(0, -50%);
|
|
3095
|
+
const StackSum = styled.div `
|
|
3096
|
+
white-space: nowrap;
|
|
3097
|
+
position: absolute;
|
|
3098
|
+
top: 50%;
|
|
3099
|
+
left: 50%;
|
|
3100
|
+
transform: translate(0, -50%);
|
|
3098
3101
|
`;
|
|
3099
|
-
const StackWrapper = styled.div `
|
|
3100
|
-
position: absolute;
|
|
3101
|
-
top: 0;
|
|
3102
|
-
display: flex;
|
|
3103
|
-
justify-content: flex-start;
|
|
3104
|
-
height: 100%;
|
|
3102
|
+
const StackWrapper = styled.div `
|
|
3103
|
+
position: absolute;
|
|
3104
|
+
top: 0;
|
|
3105
|
+
display: flex;
|
|
3106
|
+
justify-content: flex-start;
|
|
3107
|
+
height: 100%;
|
|
3105
3108
|
`;
|
|
3106
3109
|
|
|
3107
3110
|
const Tooltip$1 = ({ renderTooltip, bars, style, className, }) => {
|
|
@@ -3153,10 +3156,10 @@ const useStackWrapper = (stackedTooltip) => {
|
|
|
3153
3156
|
: ({ children }) => (jsxRuntime.jsx(react.Fragment, { children: children })), [stackedTooltip]);
|
|
3154
3157
|
};
|
|
3155
3158
|
|
|
3156
|
-
const BarStyled = styled.div `
|
|
3157
|
-
position: relative;
|
|
3158
|
-
display: inline-flex;
|
|
3159
|
-
height: 100%;
|
|
3159
|
+
const BarStyled = styled.div `
|
|
3160
|
+
position: relative;
|
|
3161
|
+
display: inline-flex;
|
|
3162
|
+
height: 100%;
|
|
3160
3163
|
`;
|
|
3161
3164
|
|
|
3162
3165
|
const Bar = ({ withTooltip, bar, formatNativeTitle, tooltipBind, mouseMove, mouseLeave, pointerEventsNone, isFirstChild, isLastChild, isOnlyChild, }) => {
|
|
@@ -3173,23 +3176,23 @@ const Bar = ({ withTooltip, bar, formatNativeTitle, tooltipBind, mouseMove, mous
|
|
|
3173
3176
|
}, title: formatNativeTitle ? formatNativeTitle(bar) : "", onMouseOver: onMouseMove, onMouseMove: tooltipBind ? onMouseMove : void 0, onMouseOut: onMouseLeave }));
|
|
3174
3177
|
};
|
|
3175
3178
|
|
|
3176
|
-
const TickTd = styled.td `
|
|
3177
|
-
position: relative;
|
|
3179
|
+
const TickTd = styled.td `
|
|
3180
|
+
position: relative;
|
|
3178
3181
|
`;
|
|
3179
|
-
const Ticks = styled.div `
|
|
3180
|
-
position: relative;
|
|
3181
|
-
height: 1rem;
|
|
3182
|
+
const Ticks = styled.div `
|
|
3183
|
+
position: relative;
|
|
3184
|
+
height: 1rem;
|
|
3182
3185
|
`;
|
|
3183
|
-
const Tick = styled.div `
|
|
3184
|
-
white-space: nowrap;
|
|
3185
|
-
width: 0;
|
|
3186
|
-
height: 0;
|
|
3187
|
-
position: absolute;
|
|
3188
|
-
top: 50%;
|
|
3189
|
-
transform: translateY(-50%);
|
|
3190
|
-
display: flex;
|
|
3191
|
-
align-items: center;
|
|
3192
|
-
justify-content: center;
|
|
3186
|
+
const Tick = styled.div `
|
|
3187
|
+
white-space: nowrap;
|
|
3188
|
+
width: 0;
|
|
3189
|
+
height: 0;
|
|
3190
|
+
position: absolute;
|
|
3191
|
+
top: 50%;
|
|
3192
|
+
transform: translateY(-50%);
|
|
3193
|
+
display: flex;
|
|
3194
|
+
align-items: center;
|
|
3195
|
+
justify-content: center;
|
|
3193
3196
|
`;
|
|
3194
3197
|
|
|
3195
3198
|
const hundred = 100;
|
|
@@ -3288,29 +3291,29 @@ const bubbleChartClassNames = {
|
|
|
3288
3291
|
bubbleChartTooltipFlex: "bubbleChartTooltipFlex",
|
|
3289
3292
|
bubbleChartTip: "bubbleChartTip",
|
|
3290
3293
|
};
|
|
3291
|
-
const SvgWrapper = styled(Wrapper) `
|
|
3292
|
-
.${bubbleChartClassNames.bubbleChartYAxis},
|
|
3293
|
-
.${bubbleChartClassNames.bubbleChartXAxis},
|
|
3294
|
-
.${bubbleChartClassNames.bubbleChartGridGlobal} {
|
|
3295
|
-
shape-rendering: crispEdges;
|
|
3296
|
-
}
|
|
3297
|
-
|
|
3298
|
-
.${bubbleChartClassNames.bubbleChartGridLineX},
|
|
3299
|
-
.${bubbleChartClassNames.bubbleChartGridLineY} {
|
|
3300
|
-
stroke: rgba(149, 149, 149, 0.24);
|
|
3301
|
-
}
|
|
3302
|
-
|
|
3303
|
-
.${bubbleChartClassNames.bubbleChartYScaleLabel} {
|
|
3304
|
-
font-size: 10px;
|
|
3305
|
-
}
|
|
3294
|
+
const SvgWrapper = styled(Wrapper) `
|
|
3295
|
+
.${bubbleChartClassNames.bubbleChartYAxis},
|
|
3296
|
+
.${bubbleChartClassNames.bubbleChartXAxis},
|
|
3297
|
+
.${bubbleChartClassNames.bubbleChartGridGlobal} {
|
|
3298
|
+
shape-rendering: crispEdges;
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
.${bubbleChartClassNames.bubbleChartGridLineX},
|
|
3302
|
+
.${bubbleChartClassNames.bubbleChartGridLineY} {
|
|
3303
|
+
stroke: rgba(149, 149, 149, 0.24);
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
.${bubbleChartClassNames.bubbleChartYScaleLabel} {
|
|
3307
|
+
font-size: 10px;
|
|
3308
|
+
}
|
|
3306
3309
|
`;
|
|
3307
|
-
const TooltipStyles = styled.createGlobalStyle `
|
|
3308
|
-
.${bubbleChartClassNames.bubbleChartTooltipContainer} {
|
|
3309
|
-
position: absolute;
|
|
3310
|
-
transition: opacity 150ms cubic-bezier(0.2, 1, 0.6, 1);
|
|
3311
|
-
pointer-events: none;
|
|
3312
|
-
z-index: 1;
|
|
3313
|
-
}
|
|
3310
|
+
const TooltipStyles = styled.createGlobalStyle `
|
|
3311
|
+
.${bubbleChartClassNames.bubbleChartTooltipContainer} {
|
|
3312
|
+
position: absolute;
|
|
3313
|
+
transition: opacity 150ms cubic-bezier(0.2, 1, 0.6, 1);
|
|
3314
|
+
pointer-events: none;
|
|
3315
|
+
z-index: 1;
|
|
3316
|
+
}
|
|
3314
3317
|
`;
|
|
3315
3318
|
|
|
3316
3319
|
const drawGrid = ({ svg, yScale, xScale, yTicksCount, drawGridX, drawGridY, }) => {
|
|
@@ -3347,14 +3350,14 @@ const drawGrid = ({ svg, yScale, xScale, yTicksCount, drawGridX, drawGridY, }) =
|
|
|
3347
3350
|
}
|
|
3348
3351
|
};
|
|
3349
3352
|
|
|
3350
|
-
const Tooltip = styled.div `
|
|
3351
|
-
width: 0;
|
|
3352
|
-
height: 0;
|
|
3353
|
-
display: flex;
|
|
3354
|
-
align-items: flex-end;
|
|
3355
|
-
justify-content: center;
|
|
3356
|
-
font-size: 12px;
|
|
3357
|
-
white-space: nowrap;
|
|
3353
|
+
const Tooltip = styled.div `
|
|
3354
|
+
width: 0;
|
|
3355
|
+
height: 0;
|
|
3356
|
+
display: flex;
|
|
3357
|
+
align-items: flex-end;
|
|
3358
|
+
justify-content: center;
|
|
3359
|
+
font-size: 12px;
|
|
3360
|
+
white-space: nowrap;
|
|
3358
3361
|
`;
|
|
3359
3362
|
|
|
3360
3363
|
const drawTooltip = ({ bubbles, tooltipRoot, tooltipClassName, renderTooltip, }) => {
|