@syncfusion/ej2-charts
Advanced tools
Comparing version 22.2.8 to 22.2.9
/*! | ||
* filename: index.d.ts | ||
* version : 22.2.8 | ||
* version : 22.2.9 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-charts@*", | ||
"_id": "@syncfusion/ej2-charts@22.2.7", | ||
"_id": "@syncfusion/ej2-charts@22.2.8", | ||
"_inBundle": false, | ||
"_integrity": "sha512-Y0dvVaf0iUQChBLpd5pZNlX9vQ7eiE9WqQuU7+b+erHCocGRqqRRpWsyWKLtUYYp8UmF6fUUkmR6zXZLRSYsXQ==", | ||
"_integrity": "sha512-C9zvzHCOUaq3rUBWSrsNGKDqk2IoLww7wwf60U57kNfz7p1oyfmdg1MOU6LNNLHrJWQn6jlnerkhSOg+m1RgdA==", | ||
"_location": "/@syncfusion/ej2-charts", | ||
@@ -29,4 +29,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-charts/-/ej2-charts-22.2.7.tgz", | ||
"_shasum": "8d172f9647eb29f37b4815704091bb334e2ba0a9", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-charts/-/ej2-charts-22.2.8.tgz", | ||
"_shasum": "c3de7c22ecaac4a868e6bf6f5b659178f9afdd08", | ||
"_spec": "@syncfusion/ej2-charts@*", | ||
@@ -39,4 +39,4 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~22.2.5", | ||
"@syncfusion/ej2-calendars": "~22.2.8", | ||
"@syncfusion/ej2-base": "~22.2.9", | ||
"@syncfusion/ej2-calendars": "~22.2.9", | ||
"@syncfusion/ej2-compression": "~22.2.5", | ||
@@ -76,5 +76,5 @@ "@syncfusion/ej2-data": "~22.2.5", | ||
"typings": "index.d.ts", | ||
"version": "22.2.8", | ||
"version": "22.2.9", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -175,3 +175,3 @@ var __extends = (this && this.__extends) || (function () { | ||
columnHeight += legendOption.textSize.height + ((i === 0) ? padding : this.itemPadding); | ||
if (columnHeight + this.itemPadding + arrowHeight > (legendBounds.height)) { | ||
if (columnHeight + this.itemPadding + (arrowHeight / this.pageButtonSize) > (legendBounds.height)) { | ||
//columnHeight = Math.max(columnHeight, (rowCount * (this.maxItemHeight + padding)) + padding + arrowHeight); | ||
@@ -342,2 +342,5 @@ rowWidth = rowWidth + maximumWidth; | ||
} | ||
else if (!this.isVertical && this.isPaging && !this.legend.enablePages) { | ||
return width - tx - this.fivePixel; | ||
} | ||
return width - ((this.legend.padding * 2) + this.legend.shapeWidth + this.legend.shapePadding); | ||
@@ -344,0 +347,0 @@ }; |
@@ -225,3 +225,5 @@ var __extends = (this && this.__extends) || (function () { | ||
var datalabelGroup = getElement(_this.accumulation.element.id + '_datalabel_Series_' + series.index); | ||
datalabelGroup.style.visibility = _this.accumulation.isDestroyed ? 'hidden' : 'visible'; | ||
if (datalabelGroup) { | ||
datalabelGroup.style.visibility = _this.accumulation.isDestroyed ? 'hidden' : 'visible'; | ||
} | ||
} | ||
@@ -228,0 +230,0 @@ }); |
@@ -19,2 +19,3 @@ import { Axis } from '../axis/axis'; | ||
private isColumn; | ||
private isStacking; | ||
/** | ||
@@ -21,0 +22,0 @@ * Constructor for the dateTime module. |
@@ -16,2 +16,3 @@ import { getMinPointsDelta, getActualDesiredIntervalsCount, setRange, triggerLabelRender } from '../../common/utils/helper'; | ||
this.isColumn = 0; | ||
this.isStacking = false; | ||
this.chart = chart; | ||
@@ -65,3 +66,3 @@ } | ||
else { | ||
axis.actualRange.min = axis.doubleRange.start - axis.actualRange.interval; | ||
axis.actualRange.min = axis.doubleRange.start - (this.isStacking ? 0 : axis.actualRange.interval); | ||
} | ||
@@ -151,3 +152,4 @@ } | ||
if (axis.orientation === 'Vertical') { | ||
this.isColumn += (series.type === 'Column' || series.type === 'Bar' || series.drawType === 'Column') ? 1 : 0; | ||
this.isColumn += (series.type.indexOf('Column') !== -1 || series.type.indexOf('Bar') !== -1 || series.drawType === 'Column') ? 1 : 0; | ||
this.isStacking = series.type.indexOf('Stacking') !== -1; | ||
if (this.chart.requireInvertedAxis) { | ||
@@ -154,0 +156,0 @@ this.findMinMax(series.xMin - this.paddingInterval, series.xMax + this.paddingInterval); |
@@ -321,2 +321,5 @@ var __extends = (this && this.__extends) || (function () { | ||
textPadding - this.itemPadding - this.legend.shapeWidth / 2) : (legendOption.location.x - textPadding + this.itemPadding + (this.legend.shapeWidth / 2)) - this.legendBounds.x; | ||
if (!this.isVertical && this.isPaging && !this.legend.enablePages) { | ||
availwidth = this.legendBounds.width - legendOption.location.x - this.fivePixel; | ||
} | ||
availwidth = this.legend.maximumLabelWidth ? Math.min(this.legend.maximumLabelWidth, availwidth) : availwidth; | ||
@@ -323,0 +326,0 @@ if (this.legend.textOverflow === 'Ellipsis' && this.legend.textWrap === 'Normal') { |
@@ -1081,3 +1081,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var isColumnBarType = (series.type.indexOf('Column') !== -1 || series.type.indexOf('Bar') !== -1); | ||
series.yMin = isLogAxis && isColumnBarType && series.yMin < 1 ? series.yMin : Math.min.apply(0, startValues); | ||
series.yMin = isLogAxis && isColumnBarType && series.yMin < 1 ? series.yMin : Math.min.apply(0, isStacking100 ? startValues : endValues); | ||
series.yMax = Math.max.apply(0, endValues); | ||
@@ -1084,0 +1084,0 @@ if (series.yMin > Math.min.apply(0, endValues)) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
29248482
215125