tvcharts 0.9.49 → 0.9.50
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.
|
@@ -141,6 +141,9 @@ var BoxesLayout = {
|
|
|
141
141
|
var y2Val = store.get(y2DimI, i);
|
|
142
142
|
var startPoint = coordSys.dataToPoint([x1Val, y1Val]);
|
|
143
143
|
var endPoint = coordSys.dataToPoint([x2Val, y2Val]);
|
|
144
|
+
if (isNaN(startPoint[0]) || isNaN(startPoint[1]) || isNaN(endPoint[0]) || isNaN(endPoint[1])) {
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
144
147
|
var itemModel = data.getItemModel(i);
|
|
145
148
|
var _a = itemModel.get('itemStyle'),
|
|
146
149
|
border_width = _a.border_width,
|