@syncfusion/ej2-charts
Advanced tools
Comparing version 16.4.47 to 16.4.48
@@ -9,2 +9,13 @@ # Changelog | ||
- Scatter chart's edge position render issue is fixed | ||
- Datalabel did not show properly in Edge browser is fixed | ||
- Trendline not rendering while using NaN as input issue is fixed | ||
- DataSource not refreshed in angular chart has been fixed | ||
## 16.4.47 (2019-01-16) | ||
### Chart | ||
#### Bug Fixes | ||
- Chart not rendering using remote data without query issue is fixed | ||
@@ -11,0 +22,0 @@ |
@@ -1,10 +0,1 @@ | ||
/*! | ||
* filename: index.d.ts | ||
* version : 16.4.47 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
* A copy of the current license can be obtained at any time by e-mailing | ||
* licensing@syncfusion.com. Any infringement will be prosecuted under | ||
* applicable laws. | ||
*/ | ||
import * as _charts from '@syncfusion/ej2-charts'; | ||
@@ -11,0 +2,0 @@ |
{ | ||
"name": "@syncfusion/ej2-charts", | ||
"version": "16.4.47", | ||
"version": "16.4.48", | ||
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.", | ||
@@ -9,4 +9,4 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~16.4.47", | ||
"@syncfusion/ej2-data": "~16.4.47", | ||
"@syncfusion/ej2-svg-base": "~16.4.47", | ||
"@syncfusion/ej2-data": "~16.4.48", | ||
"@syncfusion/ej2-svg-base": "~16.4.48", | ||
"@syncfusion/ej2-pdf-export": "~16.4.47", | ||
@@ -16,3 +16,3 @@ "@syncfusion/ej2-file-utils": "~16.4.47", | ||
"@syncfusion/ej2-navigations": "~16.4.47", | ||
"@syncfusion/ej2-calendars": "~16.4.47" | ||
"@syncfusion/ej2-calendars": "~16.4.48" | ||
}, | ||
@@ -19,0 +19,0 @@ "devDependencies": { |
@@ -1128,2 +1128,6 @@ import { Component, Internationalization } from '@syncfusion/ej2-base'; | ||
/** | ||
* Clear visible Axis labels | ||
*/ | ||
private clearVisibleAxisLabels; | ||
/** | ||
* Called internally if any of the property value changed. | ||
@@ -1130,0 +1134,0 @@ * @private |
@@ -1,2 +0,2 @@ | ||
import { Property, ChildProperty, Complex, Collection, SvgRenderer, DateFormatOptions, getValue } from '@syncfusion/ej2-base';import { isNullOrUndefined, extend } from '@syncfusion/ej2-base';import { StackValues, RectOption, ControlPoints, PolarArc, appendChildElement, appendClipElement } from '../../common/utils/helper';import { firstToLowerCase, ChartLocation, Rect, CircleOption, IHistogramValues } from '../../common/utils/helper';import { ChartSeriesType, ChartShape, LegendShape, LabelPosition, SeriesValueType, EmptyPointMode, SplineType } from '../utils/enum';import { ChartDrawType } from '../utils/enum';import { BorderModel, FontModel, MarginModel, AnimationModel, EmptyPointSettingsModel } from '../../common/model/base-model';import { ConnectorModel } from '../../common/model/base-model';import { CornerRadiusModel } from '../../common/model/base-model';import { ErrorBarType, ErrorBarDirection, ErrorBarMode, TrendlineTypes } from '../utils/enum';import { Border, Font, Margin, Animation, EmptyPointSettings, CornerRadius, Connector } from '../../common/model/base';import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data';import { Chart } from '../chart';import { Axis, Column, Row } from '../axis/axis';import { Data } from '../../common/model/data';import { ISeriesRenderEventArgs } from '../../common/model/interface';import { seriesRender } from '../../common/model/constants';import { Alignment, SeriesCategories } from '../../common/utils/enum';import { BoxPlotMode, Segment } from '../utils/enum';import { sort } from '../../common/utils/helper'; | ||
import { Property, ChildProperty, Complex, Collection, SvgRenderer, DateFormatOptions, getValue } from '@syncfusion/ej2-base';import { isNullOrUndefined, extend } from '@syncfusion/ej2-base';import { StackValues, RectOption, ControlPoints, PolarArc, appendChildElement, appendClipElement } from '../../common/utils/helper';import { firstToLowerCase, ChartLocation, Rect, CircleOption, IHistogramValues } from '../../common/utils/helper';import { ChartSeriesType, ChartShape, LegendShape, LabelPosition, SeriesValueType, EmptyPointMode, SplineType } from '../utils/enum';import { ChartDrawType } from '../utils/enum';import { BorderModel, FontModel, MarginModel, AnimationModel, EmptyPointSettingsModel } from '../../common/model/base-model';import { ConnectorModel } from '../../common/model/base-model';import { CornerRadiusModel } from '../../common/model/base-model';import { ErrorBarType, ErrorBarDirection, ErrorBarMode, TrendlineTypes } from '../utils/enum';import { Border, Font, Margin, Animation, EmptyPointSettings, CornerRadius, Connector } from '../../common/model/base';import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data';import { Chart } from '../chart';import { Axis, Column, Row } from '../axis/axis';import { Data } from '../../common/model/data';import { ISeriesRenderEventArgs } from '../../common/model/interface';import { seriesRender } from '../../common/model/constants';import { Alignment, SeriesCategories } from '../../common/utils/enum';import { BoxPlotMode, Segment } from '../utils/enum';import { sort } from '../../common/utils/helper';import { Browser } from '@syncfusion/ej2-base'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -28,2 +28,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { sort } from '../../common/utils/helper'; | ||
import { Browser } from '@syncfusion/ej2-base'; | ||
/** | ||
@@ -906,3 +907,4 @@ * Configures the data label in the series. | ||
if (chart.chartAreaType === 'PolarRadar') { | ||
options = new CircleOption(elementId + '_ChartSeriesClipRect_' + index, 'transparent', { width: 1, color: 'Gray' }, 1, this.clipRect.width / 2 + this.clipRect.x, this.clipRect.height / 2 + this.clipRect.y, chart.radius); | ||
var markerMaxValue = (this.drawType === 'Scatter') ? Math.max(this.marker.width, this.marker.height) : 0; | ||
options = new CircleOption(elementId + '_ChartSeriesClipRect_' + index, 'transparent', { width: 1, color: 'Gray' }, 1, this.clipRect.width / 2 + this.clipRect.x, this.clipRect.height / 2 + this.clipRect.y, chart.radius + markerMaxValue); | ||
this.clipRectElement = appendClipElement(chart.redraw, options, render, 'drawCircularClipPath'); | ||
@@ -980,3 +982,4 @@ } | ||
} | ||
if (dataLabel.visible) { | ||
//to datalabel animation disabled for edge and IE | ||
if (dataLabel.visible && Browser.info.name !== 'edge' && !Browser.isIE) { | ||
chart.dataLabelModule.doDataLabelAnimation(this); | ||
@@ -983,0 +986,0 @@ } |
@@ -92,2 +92,6 @@ import { Series, Points } from '../series/chart-series'; | ||
while (index < points.length) { | ||
// To fix trendline not rendered issue while Nan Value is provided for y values. | ||
if (isNaN(yValues[index])) { | ||
yValues[index] = ((yValues[index - 1] + yValues[index + 1]) / 2); | ||
} | ||
xAvg += xValues[index]; | ||
@@ -94,0 +98,0 @@ yAvg += yValues[index]; |
@@ -141,3 +141,3 @@ import { Property, Complex, ChildProperty } from '@syncfusion/ej2-base';import { SmithchartAlignment } from '../utils/enum';import { SmithchartFont } from '../utils/utils';import { SmithchartFontModel} from '../utils/utils-model';import { Theme} from '../model/theme'; | ||
* position for legend. | ||
* @default bottom | ||
* @default 'bottom' | ||
*/ | ||
@@ -169,3 +169,3 @@ | ||
* shape for legend. | ||
* @default circle | ||
* @default 'circle' | ||
*/ | ||
@@ -172,0 +172,0 @@ |
@@ -92,3 +92,3 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
* position for legend. | ||
* @default bottom | ||
* @default 'bottom' | ||
*/ | ||
@@ -113,3 +113,3 @@ position: string; | ||
* shape for legend. | ||
* @default circle | ||
* @default 'circle' | ||
*/ | ||
@@ -116,0 +116,0 @@ shape: string; |
@@ -72,3 +72,3 @@ import { Property, Complex, ChildProperty} from '@syncfusion/ej2-base';import { SmithchartFont} from '../utils/utils';import { SmithchartFontModel} from '../utils/utils-model';import { Theme } from '../model/theme'; | ||
* border color for marker border. | ||
* @default white | ||
* @default 'white' | ||
*/ | ||
@@ -92,3 +92,3 @@ color?: string; | ||
* border color for data label color. | ||
* @default white | ||
* @default 'white' | ||
*/ | ||
@@ -179,3 +179,3 @@ color?: string; | ||
* shape for marker. | ||
* @default circle | ||
* @default 'circle' | ||
*/ | ||
@@ -235,3 +235,3 @@ shape?: string; | ||
* visibility for series. | ||
* @default visible | ||
* @default 'visible' | ||
*/ | ||
@@ -288,3 +288,3 @@ visibility?: string; | ||
* perform animation of series based on animation duration. | ||
* @default 2000ms | ||
* @default '2000ms' | ||
*/ | ||
@@ -291,0 +291,0 @@ animationDuration?: string; |
@@ -53,3 +53,3 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
* border color for marker border. | ||
* @default white | ||
* @default 'white' | ||
*/ | ||
@@ -66,3 +66,3 @@ color: string; | ||
* border color for data label color. | ||
* @default white | ||
* @default 'white' | ||
*/ | ||
@@ -125,3 +125,3 @@ color: string; | ||
* shape for marker. | ||
* @default circle | ||
* @default 'circle' | ||
*/ | ||
@@ -166,3 +166,3 @@ shape: string; | ||
* visibility for series. | ||
* @default visible | ||
* @default 'visible' | ||
*/ | ||
@@ -210,3 +210,3 @@ visibility: string; | ||
* perform animation of series based on animation duration. | ||
* @default 2000ms | ||
* @default '2000ms' | ||
*/ | ||
@@ -213,0 +213,0 @@ animationDuration: string; |
@@ -15,3 +15,3 @@ import { Property, ChildProperty} from '@syncfusion/ej2-base'; | ||
* font style for text. | ||
* @default Normal | ||
* @default 'Normal' | ||
*/ | ||
@@ -22,3 +22,3 @@ fontStyle?: string; | ||
* font weight for text. | ||
* @default Regular | ||
* @default 'Regular' | ||
*/ | ||
@@ -35,3 +35,3 @@ fontWeight?: string; | ||
* font size for text. | ||
* @default 12px | ||
* @default '12px' | ||
*/ | ||
@@ -101,3 +101,3 @@ size?: string; | ||
* color for smithchart border . | ||
* @default transparent | ||
* @default 'transparent' | ||
*/ | ||
@@ -104,0 +104,0 @@ |
@@ -10,3 +10,3 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
* font style for text. | ||
* @default Normal | ||
* @default 'Normal' | ||
*/ | ||
@@ -16,3 +16,3 @@ fontStyle: string; | ||
* font weight for text. | ||
* @default Regular | ||
* @default 'Regular' | ||
*/ | ||
@@ -27,3 +27,3 @@ fontWeight: string; | ||
* font size for text. | ||
* @default 12px | ||
* @default '12px' | ||
*/ | ||
@@ -72,3 +72,3 @@ size: string; | ||
* color for smithchart border . | ||
* @default transparent | ||
* @default 'transparent' | ||
*/ | ||
@@ -75,0 +75,0 @@ color: string; |
@@ -161,3 +161,3 @@ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import { VisibleType, EdgeLabelMode } from './enum'; | ||
* To configure the sparkline axis line dashArray. | ||
* @default ''. | ||
* @default '' | ||
*/ | ||
@@ -308,3 +308,3 @@ dashArray?: string; | ||
* To configure the marker fill color. | ||
* @default `#00bdae`. | ||
* @default '#00bdae' | ||
*/ | ||
@@ -356,3 +356,3 @@ fill?: string; | ||
* To configure the dataLabel fill color. | ||
* @default `transparent`. | ||
* @default 'transparent' | ||
*/ | ||
@@ -363,3 +363,3 @@ fill?: string; | ||
* To configure the dataLabel format the value. | ||
* @default ``. | ||
* @default '' | ||
*/ | ||
@@ -366,0 +366,0 @@ format?: string; |
@@ -131,3 +131,3 @@ /** | ||
* To configure the sparkline axis line dashArray. | ||
* @default ''. | ||
* @default '' | ||
*/ | ||
@@ -250,3 +250,3 @@ dashArray: string; | ||
* To configure the marker fill color. | ||
* @default `#00bdae`. | ||
* @default '#00bdae' | ||
*/ | ||
@@ -288,3 +288,3 @@ fill: string; | ||
* To configure the dataLabel fill color. | ||
* @default `transparent`. | ||
* @default 'transparent' | ||
*/ | ||
@@ -294,3 +294,3 @@ fill: string; | ||
* To configure the dataLabel format the value. | ||
* @default ``. | ||
* @default '' | ||
*/ | ||
@@ -297,0 +297,0 @@ format: string; |
@@ -24,2 +24,3 @@ import { extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
else if (!isNaN(data[0]) || this.sparkline.valueType === 'Numeric') { | ||
data = (this.sparkline.enableRtl) ? this.sparkline.dataSource.reverse() : this.sparkline.dataSource; | ||
this.sparkline.sparklineData = data; // extend([], data) as Object[]; | ||
@@ -593,2 +594,3 @@ } | ||
}); | ||
validData_1 = (this.sparkline.enableRtl) ? validData_1.reverse() : validData_1; | ||
interval = validData_1[1][x] - validData_1[0][x]; | ||
@@ -645,2 +647,3 @@ } | ||
temp = temp.sort(function (a, b) { return a[model.xName] - b[model.xName]; }); | ||
temp = (this.sparkline.enableRtl) ? temp.reverse() : temp; | ||
maxX = temp[temp.length - 1][model.xName]; | ||
@@ -647,0 +650,0 @@ minX = temp[0][model.xName]; |
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
18024851
139173