@fluentui/react-charting 5.23.12 → 5.23.13
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/CHANGELOG.json +22 -1
- package/CHANGELOG.md +12 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/lib/components/AreaChart/AreaChart.base.js +8 -13
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +1 -2
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js +9 -10
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js +3 -3
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js +3 -3
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/Legends/Legends.base.js +1 -2
- package/lib/components/Legends/Legends.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js +14 -23
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +2 -8
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.js +2 -1
- package/lib/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.js +4 -4
- package/lib/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib/components/PieChart/PieChart.base.js +4 -4
- package/lib/components/PieChart/PieChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.js +9 -14
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +4 -5
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js +3 -3
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.base.js +1 -2
- package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +30 -44
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +10 -17
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/utilities/SVGTooltipText.js +4 -5
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js +8 -13
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +1 -2
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.js +9 -10
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.js +3 -3
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.js +3 -3
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +2 -2
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -3
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-amd/components/Legends/Legends.base.js +1 -2
- package/lib-amd/components/Legends/Legends.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.js +14 -23
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +2 -8
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib-amd/components/PieChart/Arc/Arc.js +2 -1
- package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/PieChart/Pie/Pie.js +4 -4
- package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-amd/components/PieChart/PieChart.base.js +4 -4
- package/lib-amd/components/PieChart/PieChart.base.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +9 -14
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +4 -5
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +3 -3
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-amd/components/TreeChart/TreeChart.base.js +1 -2
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib-amd/components/TreeChart/TreeChart.types.js +2 -2
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +30 -44
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +10 -17
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/utilities/SVGTooltipText.js +4 -5
- package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
- package/lib-amd/utilities/utilities.js +5 -5
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +8 -13
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +1 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +9 -10
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +3 -3
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +3 -3
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +2 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -3
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.base.js +1 -2
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +14 -23
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +2 -8
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js +2 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.js +4 -4
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.base.js +4 -4
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +9 -14
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +4 -5
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +3 -3
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.js +1 -2
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +2 -2
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +30 -44
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +10 -17
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.js +4 -5
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/utilities.js +5 -5
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +3 -3
|
@@ -48,7 +48,7 @@ var _getPointPath = function (x, y, w, index) {
|
|
|
48
48
|
];
|
|
49
49
|
return allPointPaths[index];
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
var LineChartBase = /** @class */ (function (_super) {
|
|
52
52
|
__extends(LineChartBase, _super);
|
|
53
53
|
function LineChartBase(props) {
|
|
54
54
|
var _this_1 = _super.call(this, props) || this;
|
|
@@ -72,8 +72,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
72
72
|
return domainNRangeValue;
|
|
73
73
|
};
|
|
74
74
|
_this_1._injectIndexPropertyInLineChartData = function (lineChartData) {
|
|
75
|
-
var _a;
|
|
76
|
-
var allowMultipleShapesForPoints = (_a = _this_1.props.allowMultipleShapesForPoints, _a === void 0 ? false : _a);
|
|
75
|
+
var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
|
|
77
76
|
return lineChartData
|
|
78
77
|
? lineChartData.map(function (item, index) {
|
|
79
78
|
var _a, _b;
|
|
@@ -128,8 +127,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
128
127
|
});
|
|
129
128
|
};
|
|
130
129
|
_this_1._getBoxWidthOfShape = function (pointId, pointIndex, isLastPoint) {
|
|
131
|
-
var _a, _b, _c;
|
|
132
|
-
var allowMultipleShapesForPoints = (_a = _this_1.props, _b = _a.allowMultipleShapesForPoints, _b === void 0 ? false : _b), strokeWidth = (_c = _a.strokeWidth, _c === void 0 ? DEFAULT_LINE_STROKE_SIZE : _c);
|
|
130
|
+
var _a = _this_1.props, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? DEFAULT_LINE_STROKE_SIZE : _c;
|
|
133
131
|
var activePoint = _this_1.state.activePoint;
|
|
134
132
|
if (allowMultipleShapesForPoints) {
|
|
135
133
|
if (activePoint === pointId) {
|
|
@@ -152,8 +150,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
152
150
|
}
|
|
153
151
|
};
|
|
154
152
|
_this_1._getPath = function (xPos, yPos, pointId, pointIndex, isLastPoint, pointOftheLine) {
|
|
155
|
-
var _a;
|
|
156
|
-
var allowMultipleShapesForPoints = (_a = _this_1.props.allowMultipleShapesForPoints, _a === void 0 ? false : _a);
|
|
153
|
+
var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
|
|
157
154
|
var w = _this_1._getBoxWidthOfShape(pointId, pointIndex, isLastPoint);
|
|
158
155
|
var index = allowMultipleShapesForPoints ? pointOftheLine % Object.keys(pointTypes).length : 0;
|
|
159
156
|
var widthRatio = pointTypes[index].widthRatio;
|
|
@@ -161,9 +158,8 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
161
158
|
return _getPointPath(xPos, yPos, w, index);
|
|
162
159
|
};
|
|
163
160
|
_this_1._getPointFill = function (lineColor, pointId, pointIndex, isLastPoint) {
|
|
164
|
-
var _a, _b;
|
|
165
161
|
var activePoint = _this_1.state.activePoint;
|
|
166
|
-
var
|
|
162
|
+
var _a = _this_1.props, theme = _a.theme, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
|
|
167
163
|
if (allowMultipleShapesForPoints) {
|
|
168
164
|
if (pointIndex === 1 || isLastPoint) {
|
|
169
165
|
if (activePoint === pointId) {
|
|
@@ -241,7 +237,6 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
241
237
|
return { isInGap: isInGap, gapIndex: gapIndex };
|
|
242
238
|
};
|
|
243
239
|
_this_1._onMouseOverLargeDataset = function (linenumber, lineHeight, mouseEvent) {
|
|
244
|
-
var _a;
|
|
245
240
|
mouseEvent.persist();
|
|
246
241
|
var data = _this_1.props.data;
|
|
247
242
|
var lineChartData = data.lineChartData;
|
|
@@ -285,7 +280,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
285
280
|
break;
|
|
286
281
|
}
|
|
287
282
|
}
|
|
288
|
-
var
|
|
283
|
+
var _a = lineChartData[linenumber].data[index], xAxisCalloutData = _a.xAxisCalloutData, xAxisCalloutAccessibilityData = _a.xAxisCalloutAccessibilityData;
|
|
289
284
|
var formattedDate = xPointToHighlight instanceof Date ? formatDate(xPointToHighlight, _this_1.props.useUTC) : xPointToHighlight;
|
|
290
285
|
var modifiedXVal = xPointToHighlight instanceof Date ? xPointToHighlight.getTime() : xPointToHighlight;
|
|
291
286
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -543,8 +538,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
543
538
|
return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || "".concat(xValue, ". ").concat(legend, ", ").concat(yValue, ".");
|
|
544
539
|
};
|
|
545
540
|
_this_1._getChartTitle = function () {
|
|
546
|
-
var _a;
|
|
547
|
-
var chartTitle = (_a = _this_1.props.data, _a.chartTitle), lineChartData = _a.lineChartData;
|
|
541
|
+
var _a = _this_1.props.data, chartTitle = _a.chartTitle, lineChartData = _a.lineChartData;
|
|
548
542
|
return (chartTitle ? "".concat(chartTitle, ". ") : '') + "Line chart with ".concat((lineChartData === null || lineChartData === void 0 ? void 0 : lineChartData.length) || 0, " lines. ");
|
|
549
543
|
};
|
|
550
544
|
_this_1.state = {
|
|
@@ -593,9 +587,8 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
593
587
|
}
|
|
594
588
|
};
|
|
595
589
|
LineChartBase.prototype.render = function () {
|
|
596
|
-
var _a;
|
|
597
590
|
var _this_1 = this;
|
|
598
|
-
var
|
|
591
|
+
var _a = this.props, tickValues = _a.tickValues, tickFormat = _a.tickFormat, eventAnnotationProps = _a.eventAnnotationProps, legendProps = _a.legendProps, data = _a.data;
|
|
599
592
|
this._points = this._injectIndexPropertyInLineChartData(data.lineChartData);
|
|
600
593
|
var isXAxisDateType = getXAxisType(this._points);
|
|
601
594
|
var points = this._points;
|
|
@@ -634,9 +627,8 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
634
627
|
} }))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
|
|
635
628
|
};
|
|
636
629
|
LineChartBase.prototype._createLegends = function (data) {
|
|
637
|
-
var _a, _b;
|
|
638
630
|
var _this_1 = this;
|
|
639
|
-
var
|
|
631
|
+
var _a = this.props, legendProps = _a.legendProps, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
|
|
640
632
|
var isLegendMultiSelectEnabled = !!(legendProps && !!legendProps.canSelectMultipleLegends);
|
|
641
633
|
var legendDataItems = data.map(function (point) {
|
|
642
634
|
var color = point.color;
|
|
@@ -703,7 +695,6 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
703
695
|
this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
|
|
704
696
|
}
|
|
705
697
|
var _loop_1 = function (i) {
|
|
706
|
-
var _2;
|
|
707
698
|
var linesForLine = [];
|
|
708
699
|
var bordersForLine = [];
|
|
709
700
|
var pointsForLine = [];
|
|
@@ -713,7 +704,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
713
704
|
var theme = this_1.props.theme;
|
|
714
705
|
var verticaLineHeight = containerHeight - this_1.margins.bottom + 6;
|
|
715
706
|
if (this_1._points[i].data.length === 1) {
|
|
716
|
-
var
|
|
707
|
+
var _2 = this_1._points[i].data[0], x1_1 = _2.x, y1 = _2.y, xAxisCalloutData_1 = _2.xAxisCalloutData, xAxisCalloutAccessibilityData_1 = _2.xAxisCalloutAccessibilityData;
|
|
717
708
|
var circleId_1 = "".concat(this_1._circleId, "_").concat(i);
|
|
718
709
|
var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
|
|
719
710
|
pointsForLine.push(React.createElement("circle", __assign({ id: circleId_1, key: circleId_1, r: activePoint === circleId_1 ? 5.5 : 3.5, cx: this_1._xAxisScale(x1_1), cy: this_1._yAxisScale(y1), fill: activePoint === circleId_1 ? theme.semanticColors.bodyBackground : lineColor, opacity: isLegendSelected ? 1 : 0.1, onMouseOver: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, strokeWidth: activePoint === circleId_1 ? DEFAULT_LINE_STROKE_SIZE : 0, stroke: activePoint === circleId_1 ? lineColor : '', role: "img", "aria-label": this_1._getAriaLabel(i, 0), "data-is-focusable": isLegendSelected, ref: function (e) {
|
|
@@ -760,15 +751,14 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
760
751
|
}
|
|
761
752
|
else if (!this_1.props.optimizeLargeData) {
|
|
762
753
|
var _loop_2 = function (j) {
|
|
763
|
-
var _3, _4, _5;
|
|
764
754
|
var gapResult = this_1._checkInGap(j, gaps, gapIndex);
|
|
765
755
|
var isInGap = gapResult.isInGap;
|
|
766
756
|
gapIndex = gapResult.gapIndex;
|
|
767
757
|
var lineId = "".concat(this_1._lineId, "_").concat(i, "_").concat(j);
|
|
768
758
|
var borderId = "".concat(this_1._borderId, "_").concat(i, "_").concat(j);
|
|
769
759
|
var circleId = "".concat(this_1._circleId, "_").concat(i, "_").concat(j);
|
|
770
|
-
var
|
|
771
|
-
var
|
|
760
|
+
var _3 = this_1._points[i].data[j - 1], x1 = _3.x, y1 = _3.y, xAxisCalloutData = _3.xAxisCalloutData, xAxisCalloutAccessibilityData = _3.xAxisCalloutAccessibilityData;
|
|
761
|
+
var _4 = this_1._points[i].data[j], x2 = _4.x, y2 = _4.y;
|
|
772
762
|
var path = this_1._getPath(this_1._xAxisScale(x1), this_1._yAxisScale(y1), circleId, j, false, this_1._points[i].index);
|
|
773
763
|
var strokeWidth = ((_p = this_1._points[i].lineOptions) === null || _p === void 0 ? void 0 : _p.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
|
|
774
764
|
var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
|
|
@@ -780,7 +770,7 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
780
770
|
var hiddenHoverCircleId = "".concat(circleId).concat(j, "D");
|
|
781
771
|
var lastPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== lastCircleId_1;
|
|
782
772
|
path = this_1._getPath(this_1._xAxisScale(x2), this_1._yAxisScale(y2), lastCircleId_1, j, true, this_1._points[i].index);
|
|
783
|
-
var
|
|
773
|
+
var _5 = this_1._points[i].data[j], lastCirlceXCallout_1 = _5.xAxisCalloutData, lastCirlceXCalloutAccessibilityData_1 = _5.xAxisCalloutAccessibilityData;
|
|
784
774
|
pointsForLine.push(React.createElement(React.Fragment, { key: "".concat(lastCircleId_1, "_container") },
|
|
785
775
|
React.createElement("path", __assign({ id: lastCircleId_1, key: lastCircleId_1, d: path, "data-is-focusable": isLegendSelected, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
|
|
786
776
|
return _this_1._handleFocus(lineId, x2, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1);
|
|
@@ -864,4 +854,5 @@ export var LineChartBase = /** @class */ (function (_super) {
|
|
|
864
854
|
};
|
|
865
855
|
return LineChartBase;
|
|
866
856
|
}(React.Component));
|
|
857
|
+
export { LineChartBase };
|
|
867
858
|
//# sourceMappingURL=LineChart.base.js.map
|