Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-charts

Package Overview
Dependencies
Maintainers
2
Versions
297
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 16.2.48 to 16.2.49

8

CHANGELOG.md

@@ -15,2 +15,10 @@ <!-- markdownlint-disable MD010 -->

#### Bug Fixes
- Changing label color is now working properly in `axisLabelRender` event.
## 16.2.48 (2018-08-14)
### Chart
#### New Features

@@ -17,0 +25,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 16.2.48
* version : 16.2.49
* Copyright Syncfusion Inc. 2001 - 2018. 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.2.48",
"version": "16.2.49",
"description": "Essential JS 2 Chart Components",

@@ -8,10 +8,10 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "~16.2.47",
"@syncfusion/ej2-data": "~16.2.48",
"@syncfusion/ej2-svg-base": "~16.2.47",
"@syncfusion/ej2-pdf-export": "~16.2.46",
"@syncfusion/ej2-file-utils": "~16.2.46",
"@syncfusion/ej2-compression": "~16.2.46",
"@syncfusion/ej2-navigations": "~16.2.48",
"@syncfusion/ej2-calendars": "~16.2.47"
"@syncfusion/ej2-base": "~16.2.49",
"@syncfusion/ej2-data": "~16.2.49",
"@syncfusion/ej2-svg-base": "~16.2.49",
"@syncfusion/ej2-pdf-export": "~16.2.49",
"@syncfusion/ej2-file-utils": "~16.2.49",
"@syncfusion/ej2-compression": "~16.2.49",
"@syncfusion/ej2-navigations": "~16.2.49",
"@syncfusion/ej2-calendars": "~16.2.49"
},

@@ -18,0 +18,0 @@ "devDependencies": {

@@ -930,3 +930,3 @@ import { createElement, isNullOrUndefined } from '@syncfusion/ej2-base';

}
textElement(options, axis.labelStyle, axis.labelStyle.color || chart.themeStyle.axisLabel, labelElement, (axis.opposedPosition !== (axis.labelPosition === 'Inside'))).setAttribute('style', 'cursor: default');
textElement(options, label.labelStyle, label.labelStyle.color || chart.themeStyle.axisLabel, labelElement, (axis.opposedPosition !== (axis.labelPosition === 'Inside'))).setAttribute('style', 'cursor: default');
}

@@ -933,0 +933,0 @@ if (!chart.delayRedraw) {

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

import { withIn } from '../../common/utils/helper';
import { extend, getValue } from '@syncfusion/ej2-base';
import { NiceInterval } from '../axis/axis-helper';

@@ -81,2 +82,3 @@ /**

var tempInterval = Math.ceil(axis.visibleRange.min);
var labelStyle;
if (axis.zoomFactor < 1 || axis.zoomPosition > 0) {

@@ -89,5 +91,6 @@ tempInterval = axis.visibleRange.min - (axis.visibleRange.min % axis.visibleRange.interval);

for (; tempInterval <= axis.visibleRange.max; tempInterval += axis.visibleRange.interval) {
labelStyle = (extend({}, getValue('properties', axis.labelStyle), null, true));
if (withIn(tempInterval, axis.visibleRange) && axis.labels.length > 0) {
position = Math.round(tempInterval);
triggerLabelRender(this.chart, position, axis.labels[position] ? axis.labels[position] : position.toString(), axis.labelStyle, axis);
triggerLabelRender(this.chart, position, axis.labels[position] ? axis.labels[position] : position.toString(), labelStyle, axis);
}

@@ -94,0 +97,0 @@ }

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

import { withIn, firstToLowerCase } from '../../common/utils/helper';
import { extend, getValue } from '@syncfusion/ej2-base';
import { DataUtil } from '@syncfusion/ej2-data';

@@ -222,2 +223,3 @@ import { NiceInterval } from '../axis/axis-helper';

var tempInterval = axis.visibleRange.min;
var labelStyle;
if (!setRange(axis)) {

@@ -231,5 +233,6 @@ tempInterval = this.alignRangeStart(axis, tempInterval, axis.visibleRange.interval, axis.actualIntervalType).getTime();

axis.endLabel = axis.format(new Date(axis.visibleRange.max));
labelStyle = (extend({}, getValue('properties', axis.labelStyle), null, true));
while (tempInterval <= axis.visibleRange.max) {
if (withIn(tempInterval, axis.visibleRange)) {
triggerLabelRender(chart, tempInterval, axis.format(new Date(tempInterval)), axis.labelStyle, axis);
triggerLabelRender(chart, tempInterval, axis.format(new Date(tempInterval)), labelStyle, axis);
}

@@ -236,0 +239,0 @@ tempInterval = this.increaseDateTimeInterval(axis, tempInterval, axis.visibleRange.interval).getTime();

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

import { withIn, firstToLowerCase } from '../../common/utils/helper';
import { extend, getValue } from '@syncfusion/ej2-base';
/**

@@ -46,2 +47,3 @@ * Category module is used to render category axis.

axis.visibleLabels = [];
var labelStyle;
var padding = axis.labelPlacement === 'BetweenTicks' ? 0.5 : 0;

@@ -58,5 +60,6 @@ if (axis.intervalType === 'Auto') {

for (var i = 0; i < axis.labels.length; i++) {
labelStyle = (extend({}, getValue('properties', axis.labelStyle), null, true));
if (!this.sameInterval(axis.labels.map(Number)[i], axis.labels.map(Number)[i - 1], axis.actualIntervalType, i)) {
if (withIn(i - padding, axis.visibleRange)) {
triggerLabelRender(this.chart, i, axis.format(new Date(axis.labels.map(Number)[i])), axis.labelStyle, axis);
triggerLabelRender(this.chart, i, axis.format(new Date(axis.labels.map(Number)[i])), labelStyle, axis);
}

@@ -63,0 +66,0 @@ }

import { getMinPointsDelta, getActualDesiredIntervalsCount, setRange, triggerLabelRender } from '../../common/utils/helper';
import { DoubleRange } from '../utils/double-range';
import { withIn, logBase } from '../../common/utils/helper';
import { isNullOrUndefined } from '@syncfusion/ej2-base';
import { isNullOrUndefined, extend, getValue } from '@syncfusion/ej2-base';
/**

@@ -237,2 +237,3 @@ * Numeric module is used to render numeric axis.

var tempInterval = axis.visibleRange.min;
var labelStyle;
if (axis.zoomFactor < 1 || axis.zoomPosition > 0 || this.paddingInterval) {

@@ -250,4 +251,5 @@ tempInterval = axis.visibleRange.min - (axis.visibleRange.min % axis.visibleRange.interval);

for (; tempInterval <= axis.visibleRange.max; tempInterval += axis.visibleRange.interval) {
labelStyle = (extend({}, getValue('properties', axis.labelStyle), null, true));
if (withIn(tempInterval, axis.visibleRange)) {
triggerLabelRender(chart, tempInterval, this.formatValue(axis, isCustom, format, tempInterval), axis.labelStyle, axis);
triggerLabelRender(chart, tempInterval, this.formatValue(axis, isCustom, format, tempInterval), labelStyle, axis);
}

@@ -254,0 +256,0 @@ }

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

import { logBase, withIn } from '../../common/utils/helper';
import { extend, getValue } from '@syncfusion/ej2-base';
/**

@@ -98,2 +99,3 @@ * `Logarithmic` module is used to render log axis.

axis.visibleLabels = [];
var labelStyle;
if (axis.zoomFactor < 1 || axis.zoomPosition > 0) {

@@ -111,4 +113,5 @@ tempInterval = axis.visibleRange.min - (axis.visibleRange.min % axis.visibleRange.interval);

for (; tempInterval <= axis.visibleRange.max; tempInterval += axis.visibleRange.interval) {
labelStyle = (extend({}, getValue('properties', axis.labelStyle), null, true));
if (withIn(tempInterval, axis.visibleRange)) {
triggerLabelRender(this.chart, tempInterval, this.formatValue(axis, isCustomFormat, axisFormat, Math.pow(axis.logBase, tempInterval)), axis.labelStyle, axis);
triggerLabelRender(this.chart, tempInterval, this.formatValue(axis, isCustomFormat, axisFormat, Math.pow(axis.logBase, tempInterval)), labelStyle, axis);
}

@@ -115,0 +118,0 @@ }

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

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