@syncfusion/ej2-charts
Advanced tools
Comparing version 16.1.24 to 16.1.26
/*! | ||
* filename: index.d.ts | ||
* version : 15.4.27 | ||
* version : 16.1.24 | ||
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-charts", | ||
"version": "16.1.24", | ||
"version": "16.1.26", | ||
"description": "Essential JS 2 Chart Components", | ||
@@ -11,7 +11,7 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "^16.1.24", | ||
"@syncfusion/ej2-data": "^16.1.24", | ||
"@syncfusion/ej2-pdf-export": "^16.1.24", | ||
"@syncfusion/ej2-file-utils": "^16.1.24", | ||
"@syncfusion/ej2-compression": "^16.1.24" | ||
"@syncfusion/ej2-base": "^16.1.26", | ||
"@syncfusion/ej2-data": "^16.1.26", | ||
"@syncfusion/ej2-pdf-export": "^16.1.26", | ||
"@syncfusion/ej2-file-utils": "^16.1.26", | ||
"@syncfusion/ej2-compression": "^16.1.26" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
@@ -91,3 +91,3 @@ define(["require", "exports", "@syncfusion/ej2-base", "../../common/utils/helper"], function (require, exports, ej2_base_1, helper_1) { | ||
ty = this.getTextStart(ty - textMid, rect.height, stripline.verticalAlignment); | ||
alignment = this.invertAlignment(stripline.verticalAlignment); | ||
alignment = this.invertAlignment(stripline.horizontalAlignment); | ||
} | ||
@@ -97,3 +97,3 @@ else { | ||
ty = this.getTextStart(ty + (textMid * this.factor(stripline.verticalAlignment)) - padding, rect.height, stripline.verticalAlignment); | ||
alignment = stripline.horizontalAlignment; | ||
alignment = stripline.verticalAlignment; | ||
} | ||
@@ -106,6 +106,6 @@ anchor = alignment; | ||
case 'Start': | ||
anchor = 'End'; | ||
anchor = 'Start'; | ||
break; | ||
case 'End': | ||
anchor = 'Start'; | ||
anchor = 'End'; | ||
break; | ||
@@ -112,0 +112,0 @@ } |
@@ -41,3 +41,2 @@ define(["require", "exports", "../../common/utils/helper", "../../common/model/constants"], function (require, exports, helper_1, constants_1) { | ||
helper_1.withInRange(visiblePoints[bubblePoint.index - 1], bubblePoint, visiblePoints[bubblePoint.index + 1], series)) { | ||
bubblePoint.symbolLocations.push(helper_1.getPoint(bubblePoint.xValue, bubblePoint.yValue, xAxis, yAxis, isInverted)); | ||
if ((series.maxRadius === null || series.minRadius === null)) { | ||
@@ -58,2 +57,3 @@ segmentRadius = radius * Math.abs(+bubblePoint.size / maximumSize); | ||
if (!argsData.cancel) { | ||
bubblePoint.symbolLocations.push(helper_1.getPoint(bubblePoint.xValue, bubblePoint.yValue, xAxis, yAxis, isInverted)); | ||
bubblePoint.color = argsData.fill; | ||
@@ -60,0 +60,0 @@ shapeOption = new helper_1.PathOption(series.chart.element.id + '_Series_' + series.index + '_Point_' + bubblePoint.index, argsData.fill, argsData.border.width, argsData.border.color, series.opacity, null); |
@@ -373,7 +373,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (this.seriesType.indexOf('HighLow') > -1) { | ||
point.high = ej2_base_2.isNullOrUndefined(point.high) ? this.getAverage(this.high, i) : point.high; | ||
point.low = ej2_base_2.isNullOrUndefined(point.low) ? this.getAverage(this.low, i) : point.low; | ||
point.high = (ej2_base_2.isNullOrUndefined(point.high) || isNaN(+point.high)) ? this.getAverage(this.high, i) : point.high; | ||
point.low = (ej2_base_2.isNullOrUndefined(point.low) || isNaN(+point.low)) ? this.getAverage(this.low, i) : point.low; | ||
if (this.seriesType.indexOf('HighLowOpenClose') > -1) { | ||
point.open = ej2_base_2.isNullOrUndefined(point.open) ? this.getAverage(this.open, i) : point.open; | ||
point.close = ej2_base_2.isNullOrUndefined(point.close) ? this.getAverage(this.close, i) : | ||
point.open = (ej2_base_2.isNullOrUndefined(point.open) || isNaN(+point.open)) ? this.getAverage(this.open, i) : point.open; | ||
point.close = (ej2_base_2.isNullOrUndefined(point.close) || isNaN(+point.close)) ? this.getAverage(this.close, i) : | ||
point.close; | ||
@@ -403,16 +403,18 @@ } | ||
if (this instanceof Series && this.type === 'Bubble') { | ||
this.sizeMax = Math.max(this.sizeMax, ej2_base_2.isNullOrUndefined(point.size) ? this.sizeMax : point.size); | ||
this.sizeMax = Math.max(this.sizeMax, (ej2_base_2.isNullOrUndefined(point.size) || isNaN(+point.size)) ? this.sizeMax | ||
: point.size); | ||
} | ||
return ej2_base_2.isNullOrUndefined(point.x) || ej2_base_2.isNullOrUndefined(point.y); | ||
return ej2_base_2.isNullOrUndefined(point.x) || (ej2_base_2.isNullOrUndefined(point.y) || isNaN(+point.y)); | ||
case 'HighLow': | ||
this.setHiloMinMax(point.high, point.low); | ||
return ej2_base_2.isNullOrUndefined(point.x) || ej2_base_2.isNullOrUndefined(point.low) || ej2_base_2.isNullOrUndefined(point.high); | ||
return ej2_base_2.isNullOrUndefined(point.x) || (ej2_base_2.isNullOrUndefined(point.low) || isNaN(+point.low)) || | ||
(ej2_base_2.isNullOrUndefined(point.high) || isNaN(+point.high)); | ||
case 'HighLowOpenClose': | ||
this.setHiloMinMax(point.high, point.low); | ||
return ej2_base_2.isNullOrUndefined(point.x) || ej2_base_2.isNullOrUndefined(point.low) || | ||
ej2_base_2.isNullOrUndefined(point.open) || ej2_base_2.isNullOrUndefined(point.close) | ||
|| ej2_base_2.isNullOrUndefined(point.high); | ||
return ej2_base_2.isNullOrUndefined(point.x) || (ej2_base_2.isNullOrUndefined(point.low) || isNaN(+point.low)) || | ||
(ej2_base_2.isNullOrUndefined(point.open) || isNaN(+point.open)) || (ej2_base_2.isNullOrUndefined(point.close) || isNaN(+point.close)) | ||
|| (ej2_base_2.isNullOrUndefined(point.high) || isNaN(+point.high)); | ||
case 'BoxPlot': | ||
yValues = (point.y || [null]).filter(function (value) { | ||
return !ej2_base_2.isNullOrUndefined(value); | ||
return !ej2_base_2.isNullOrUndefined(value) && !isNaN(value); | ||
}).sort(function (a, b) { | ||
@@ -428,8 +430,8 @@ return a - b; | ||
SeriesBase.prototype.setXYMinMax = function (yValue) { | ||
this.yMin = Math.min(this.yMin, ej2_base_2.isNullOrUndefined(yValue) ? this.yMin : yValue); | ||
this.yMax = Math.max(this.yMax, ej2_base_2.isNullOrUndefined(yValue) ? this.yMax : yValue); | ||
this.yMin = Math.min(this.yMin, (ej2_base_2.isNullOrUndefined(yValue) || isNaN(yValue)) ? this.yMin : yValue); | ||
this.yMax = Math.max(this.yMax, (ej2_base_2.isNullOrUndefined(yValue) || isNaN(yValue)) ? this.yMax : yValue); | ||
}; | ||
SeriesBase.prototype.setHiloMinMax = function (high, low) { | ||
this.yMin = Math.min(this.yMin, Math.min(ej2_base_2.isNullOrUndefined(low) ? this.yMin : low, ej2_base_2.isNullOrUndefined(high) ? this.yMin : high)); | ||
this.yMax = Math.max(this.yMax, Math.max(ej2_base_2.isNullOrUndefined(low) ? this.yMax : low, ej2_base_2.isNullOrUndefined(high) ? this.yMax : high)); | ||
this.yMin = Math.min(this.yMin, Math.min((ej2_base_2.isNullOrUndefined(low) || isNaN(low)) ? this.yMin : low, (ej2_base_2.isNullOrUndefined(high) || isNaN(high)) ? this.yMin : high)); | ||
this.yMax = Math.max(this.yMax, Math.max((ej2_base_2.isNullOrUndefined(low) || isNaN(low)) ? this.yMax : low, (ej2_base_2.isNullOrUndefined(high) || isNaN(high)) ? this.yMax : high)); | ||
}; | ||
@@ -436,0 +438,0 @@ SeriesBase.prototype.getSeriesType = function () { |
@@ -152,3 +152,3 @@ var __extends = (this && this.__extends) || (function () { | ||
for (var i = 0; i < series.points.length; i++) { | ||
if (!series.points[i].symbolLocations.length) { | ||
if (!series.points[i].symbolLocations.length || !markerElements[j]) { | ||
continue; | ||
@@ -155,0 +155,0 @@ } |
@@ -22,3 +22,2 @@ define(["require", "exports", "../../common/utils/helper", "../../common/model/constants"], function (require, exports, helper_1, constants_1) { | ||
if (point.visible && helper_1.withInRange(visiblePoints[point.index - 1], point, visiblePoints[point.index + 1], series)) { | ||
point.symbolLocations.push(getCoordinate(point.xValue, point.yValue, xAxis, yAxis, isInverted, series)); | ||
symbolId = series.chart.element.id + '_Series_' + seriesIndex + '_Point_' + point.index; | ||
@@ -33,2 +32,3 @@ argsData = { | ||
if (!argsData.cancel) { | ||
point.symbolLocations.push(getCoordinate(point.xValue, point.yValue, xAxis, yAxis, isInverted, series)); | ||
point.color = argsData.fill; | ||
@@ -35,0 +35,0 @@ shapeOption = new helper_1.PathOption(symbolId, argsData.fill, argsData.border.width, argsData.border.color, series.opacity, null); |
@@ -102,3 +102,4 @@ var __extends = (this && this.__extends) || (function () { | ||
id: id, | ||
styles: 'top:' + (y + 15).toString() + 'px;left:' + (x + 15).toString() + 'px;background-color: rgb(255, 255, 255);' + | ||
styles: 'top:' + (y + 15).toString() + 'px;left:' + (x + 15).toString() + | ||
'px;background-color: rgb(255, 255, 255) !important; color:black !important; ' + | ||
'position:absolute;border:1px solid rgb(112, 112, 112); padding-left : 3px; padding-right : 2px;' + | ||
@@ -295,3 +296,4 @@ 'padding-bottom : 2px; padding-top : 2px; font-size:12px; font-family: "Segoe UI"' | ||
'left:' + left.toString() + 'px;' + | ||
'background:' + '#FFFFFF' + ';' + | ||
'color:black !important' + | ||
'background:#FFFFFF !important' + ';' + | ||
'position:absolute;border:1px solid #707070;font-size:' + fontSize + ';border-radius:2px;'; | ||
@@ -340,4 +342,4 @@ if (!tooltip) { | ||
y = y + (3 * (size.height / 4)) + (margin / 2); | ||
parent.appendChild(chart.renderer.drawPath(new PathOption(chart.element.id + '_Zoom_' + index + '_AxisLabel_Shape_' + i, '#414141', 2, '#414141', 1, null, direction))); | ||
textElement(new TextOption(chart.element.id + '_Zoom_' + index + '_AxisLabel_' + i, x, y, anchor, i ? axis.endLabel : axis.startLabel), { color: 'white', fontFamily: 'Segoe UI', fontWeight: 'Regular', size: '11px' }, 'white', parent); | ||
parent.appendChild(chart.renderer.drawPath(new PathOption(chart.element.id + '_Zoom_' + index + '_AxisLabel_Shape_' + i, chart.themeStyle.crosshairFill, 2, chart.themeStyle.crosshairFill, 1, null, direction))); | ||
textElement(new TextOption(chart.element.id + '_Zoom_' + index + '_AxisLabel_' + i, x, y, anchor, i ? axis.endLabel : axis.startLabel), { color: chart.themeStyle.crosshairLabel, fontFamily: 'Segoe UI', fontWeight: 'Regular', size: '11px' }, chart.themeStyle.crosshairLabel, parent); | ||
} | ||
@@ -344,0 +346,0 @@ return parent; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13654574
83032