Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-charts

Package Overview
Dependencies
Maintainers
3
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-charts - npm Package Compare versions

Comparing version 23.1.36 to 23.1.38

4

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 23.1.36
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
* version : 23.1.38
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
* Use of this code is subject to the terms of our license.

@@ -6,0 +6,0 @@ * A copy of the current license can be obtained at any time by e-mailing

{
"_from": "@syncfusion/ej2-charts@*",
"_id": "@syncfusion/ej2-charts@20.13.0",
"_id": "@syncfusion/ej2-charts@23.1.36",
"_inBundle": false,
"_integrity": "sha512-afehClgCHGcUOPmIjdDoD0Y/SD+X7eC2WnJAvAWmzOw6UJxTZ2N+l9yR477aZVBkMThEbeDpZlS/oz3oU46jfA==",
"_integrity": "sha512-+x/fG2HRPtHP5cHUtgNjYKFeArrYiElcj5DLSsAgEIFcAe+N7n26OTN0lWd18TPQnU9u/T+T+ovYoLFgjhxuIQ==",
"_location": "/@syncfusion/ej2-charts",

@@ -29,4 +29,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-charts/-/ej2-charts-20.13.0.tgz",
"_shasum": "7ab872ae52dccd149be874c1458092840a5c750f",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-charts/-/ej2-charts-23.1.36.tgz",
"_shasum": "1c20379984679efd80db5e9fdbac0d0a495d6aa4",
"_spec": "@syncfusion/ej2-charts@*",

@@ -39,4 +39,4 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~23.1.36",
"@syncfusion/ej2-calendars": "~23.1.36",
"@syncfusion/ej2-base": "~23.1.38",
"@syncfusion/ej2-calendars": "~23.1.38",
"@syncfusion/ej2-compression": "~23.1.36",

@@ -77,5 +77,5 @@ "@syncfusion/ej2-data": "~23.1.36",

"typings": "index.d.ts",
"version": "23.1.36",
"version": "23.1.38",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -744,3 +744,3 @@ /**

*/
private calculateBounds;
calculateBounds(): void;
private calculateLegendBounds;

@@ -747,0 +747,0 @@ /**

@@ -500,2 +500,3 @@ var __extends = (this && this.__extends) || (function () {

this.chart.refreshPoints(currentSeries.points);
this.chart.calculateBounds();
this.chart.renderElements();

@@ -502,0 +503,0 @@ }

@@ -59,3 +59,3 @@ /* eslint-disable jsdoc/require-returns */

//% equivalence of a value 1
var coEff = 1 / (sumOfPoints * (1 + gapRatio / (1 - gapRatio)));
var coEff = (sumOfPoints !== 0) ? 1 / (sumOfPoints * (1 + gapRatio / (1 - gapRatio))) : 0;
var spacing = gapRatio / (points.length - 1);

@@ -62,0 +62,0 @@ var y = 0;

@@ -369,3 +369,3 @@ import { getMinPointsDelta, getActualDesiredIntervalsCount, setRange, triggerLabelRender } from '../../common/utils/helper';

Double.prototype.formatValue = function (axis, isCustom, format, tempInterval) {
var labelValue = !(tempInterval % 1) ? tempInterval : Number(tempInterval.toLocaleString().replace(',', ''));
var labelValue = !(tempInterval % 1) ? tempInterval : Number(tempInterval.toLocaleString().split(',').join(''));
return isCustom ? format.replace('{value}', axis.format(labelValue))

@@ -372,0 +372,0 @@ : format ? axis.format(tempInterval) : axis.format(labelValue);

@@ -1212,5 +1212,5 @@ var __extends = (this && this.__extends) || (function () {

options = new RectOption(elementId + '_ChartSeriesClipRect_' + index, 'transparent', { width: 1, color: 'Gray' }, 1, {
x: -markerWidth, y: -markerHeight,
width: this.clipRect.width + markerWidth * 2,
height: this.clipRect.height + markerHeight * 2
x: (this.xAxis.columnIndex === 0) ? -markerWidth : 0, y: (this.yAxis.rowIndex === chart.rows.length - 1) ? -markerHeight : 0,
width: this.clipRect.width + (this.xAxis.columnIndex === chart.columns.length - 1 ? markerWidth * 2 : markerWidth),
height: this.clipRect.height + (this.yAxis.rowIndex === 0 ? markerHeight * 2 : markerHeight)
});

@@ -1217,0 +1217,0 @@ this.clipRectElement = appendClipElement(chart.redraw, options, render);

@@ -64,3 +64,3 @@ var __extends = (this && this.__extends) || (function () {

})[0] : chart.primaryYAxis);
var newAxis = new Axis(chart, 'axis', {
var newAxis = new Axis(chart, 'axes', {
name: targetSeries.yAxisName,

@@ -67,0 +67,0 @@ majorGridLines: {

@@ -205,3 +205,32 @@ import { withInBounds, PointData, getValueXByPoint, getValueYByPoint, sort } from '../../common/utils/helper';

var xLength = xData.length;
if (value >= series.xMin - 0.5 && value <= series.xMax + 0.5) {
var leftSideNearest = 0.5;
var rightSideNearest = 0.5;
if (series.xAxis.valueType === 'DateTime' && series.points.length === 1) {
leftSideNearest = series.xAxis.visibleRange.min;
rightSideNearest = series.xAxis.visibleRange.max;
for (var index = 0; index < series.chart.visibleSeries.length; index++) {
var visibleSeries = series.chart.visibleSeries[index];
if (visibleSeries.xMin >= leftSideNearest && visibleSeries.xMin < series.xMin) {
leftSideNearest = visibleSeries.xMin + 0.1;
}
if (visibleSeries.xMax <= rightSideNearest && visibleSeries.xMax > series.xMax) {
rightSideNearest = visibleSeries.xMax - 0.1;
}
if (visibleSeries.points.length > 1) {
if (visibleSeries.xMax >= leftSideNearest && visibleSeries.xMax < series.xMin) {
leftSideNearest = visibleSeries.xMax + 0.1;
}
if (visibleSeries.xMin <= rightSideNearest && visibleSeries.xMin > series.xMax) {
rightSideNearest = visibleSeries.xMin - 0.1;
}
}
}
if (leftSideNearest !== series.xAxis.visibleRange.min) {
leftSideNearest = Math.abs(series.xMin - leftSideNearest) / 2;
}
if (rightSideNearest !== series.xAxis.visibleRange.max) {
rightSideNearest = Math.abs(series.xMax - rightSideNearest) / 2;
}
}
if (value >= series.xMin - leftSideNearest && value <= series.xMax + rightSideNearest) {
for (var i = 0; i < xLength; i++) {

@@ -208,0 +237,0 @@ data = xData[i];

@@ -121,3 +121,3 @@ import { Rect } from '@syncfusion/ej2-svg-base';

selectionCircleStroke: '#FFD939',
tabColor: '#969696',
tabColor: '#FFD939',
bearFillColor: '#2ecd71',

@@ -188,3 +188,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#282727',
tabColor: 'rgb(102, 175, 233)',
tabColor: theme === 'MaterialDark' ? '#00B0FF' : theme === 'FabricDark' ? '#0074CC' : '#0070F0',
bearFillColor: '#2ecd71',

@@ -236,3 +236,3 @@ bullFillColor: '#e74c3d',

tooltipLightLabel: 'rgba(255,255,255, 0.9)', tooltipHeaderLine: 'rgba(255,255,255, 0.2)', markerShadow: null,
selectionRectFill: 'rgba(255,255,255, 0.1)', selectionRectStroke: 'rgba(0, 123, 255)', selectionCircleStroke: '#495057', tabColor: 'rgb(102, 175, 233)', bearFillColor: '#2ecd71', bullFillColor: '#e74c3d',
selectionRectFill: 'rgba(255,255,255, 0.1)', selectionRectStroke: 'rgba(0, 123, 255)', selectionCircleStroke: '#495057', tabColor: '#007BFF', bearFillColor: '#2ecd71', bullFillColor: '#e74c3d',
toolkitSelectionColor: '#007BFF',

@@ -299,3 +299,3 @@ toolkitFill: '#495057',

selectionCircleStroke: '#6B7280',
tabColor: 'rgb(79, 70, 229)',
tabColor: '#4F46E5',
bearFillColor: '#2ecd71',

@@ -364,3 +364,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#282727',
tabColor: 'rgb(34, 211, 238)',
tabColor: '#22D3EE',
bearFillColor: '#2ecd71',

@@ -430,3 +430,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#6B7280',
tabColor: '#0d6efd',
tabColor: '#0D6EFD',
bearFillColor: '#2ecd71',

@@ -496,3 +496,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#6B7280',
tabColor: 'rgb(13, 110, 253)',
tabColor: '#0D6EFD',
bearFillColor: '#2ecd71',

@@ -562,3 +562,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#6B7280',
tabColor: '#0078d4',
tabColor: '#0078D4',
bearFillColor: '#2ecd71',

@@ -628,3 +628,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#6B7280',
tabColor: '#0078d4',
tabColor: '#0078D4',
bearFillColor: '#2ecd71',

@@ -694,3 +694,3 @@ bullFillColor: '#e74c3d',

selectionCircleStroke: '#79747E',
tabColor: '#EADDFF',
tabColor: '#49454E',
bearFillColor: '#5887FF',

@@ -761,3 +761,3 @@ bullFillColor: '#F7523F',

selectionCircleStroke: '#938F99',
tabColor: '#4F378B',
tabColor: '#CAC4D0',
bearFillColor: '#B3F32F',

@@ -828,3 +828,3 @@ bullFillColor: '#FF9E45',

selectionCircleStroke: '#29abe2',
tabColor: 'rgb(158, 158, 158)',
tabColor: theme === 'Material' ? '#ff4081' : theme === 'Fabric' ? '#0078D6' : '#317AB9',
bearFillColor: '#2ecd71',

@@ -831,0 +831,0 @@ bullFillColor: '#e74c3d',

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc