@syncfusion/ej2-charts
Advanced tools
Comparing version 23.1.42 to 23.1.43
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.42 | ||
* version : 23.1.43 | ||
* Copyright Syncfusion Inc. 2001 - 2023. 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@23.1.41", | ||
"_id": "@syncfusion/ej2-charts@23.1.42", | ||
"_inBundle": false, | ||
"_integrity": "sha512-scA7tApV8O3On7TYj8vZKTLssNNZJh0DpTm/3C0zIRsAyAto7ziMSlONsmQJ9twUDlPzqPuIi9Yz23egPfp2NQ==", | ||
"_integrity": "sha512-yaNBz1e7TIyi9FDNVOZIl/5F8Bj/MWtgzzF4bBb9emcSRCPB/RELKSJcCdXnj3IRhPnY6ym+9FXZEjVNEqaa0g==", | ||
"_location": "/@syncfusion/ej2-charts", | ||
@@ -29,4 +29,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-charts/-/ej2-charts-23.1.41.tgz", | ||
"_shasum": "940dce0319db70fadeb580bd3a7456be199c11c8", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-charts/-/ej2-charts-23.1.42.tgz", | ||
"_shasum": "af58eae78e5e6e7ff91c1baa3d6a39a2ce5ac583", | ||
"_spec": "@syncfusion/ej2-charts@*", | ||
@@ -42,7 +42,7 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"@syncfusion/ej2-compression": "~23.1.36", | ||
"@syncfusion/ej2-data": "~23.1.36", | ||
"@syncfusion/ej2-data": "~23.1.43", | ||
"@syncfusion/ej2-excel-export": "~23.1.36", | ||
"@syncfusion/ej2-file-utils": "~23.1.36", | ||
"@syncfusion/ej2-navigations": "~23.1.41", | ||
"@syncfusion/ej2-pdf-export": "~23.1.39", | ||
"@syncfusion/ej2-navigations": "~23.1.43", | ||
"@syncfusion/ej2-pdf-export": "~23.1.43", | ||
"@syncfusion/ej2-svg-base": "~23.1.36" | ||
@@ -77,5 +77,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "23.1.42", | ||
"version": "23.1.43", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -234,5 +234,5 @@ var __extends = (this && this.__extends) || (function () { | ||
pointX = (this.centerX + radius * vector.x) + ((axis.majorTickLines.height + elementSize.width / 2 + padding / 2) | ||
* (Math.cos(angle * Math.PI / 180)) * (axis.labelPosition === 'Inside' ? 1 : -1)); | ||
* (Math.cos(angle * Math.PI / 180)) * (axis.labelPosition === 'Inside' && chart.enableRtl ? -1 : axis.labelPosition === 'Inside' ? 1 : axis.labelPosition === 'Outside' && chart.enableRtl ? 1 : -1)); | ||
pointY = (this.centerY + radius * vector.y) + ((axis.majorTickLines.height + elementSize.height / 2) | ||
* (Math.sin(angle * Math.PI / 180)) * (axis.labelPosition === 'Inside' ? 1 : -1)); | ||
* (Math.sin(angle * Math.PI / 180)) * (axis.labelPosition === 'Inside' && chart.enableRtl ? -1 : axis.labelPosition === 'Inside' ? 1 : axis.labelPosition === 'Outside' && chart.enableRtl ? 1 : -1)); | ||
pointY += (elementSize.height / 4); | ||
@@ -331,4 +331,4 @@ labelRegions[i] = this.getLabelRegion(pointX, pointY, axis.visibleLabels[i], anchor); | ||
y1 = this.centerY + radius * vector.y; | ||
x2 = x1 + (axis.majorTickLines.height * (Math.cos(angle * Math.PI / 180)) * (axis.tickPosition === 'Inside' ? 1 : -1)); | ||
y2 = y1 + (axis.majorTickLines.height * (Math.sin(angle * Math.PI / 180)) * (axis.tickPosition === 'Inside' ? 1 : -1)); | ||
x2 = x1 + (axis.majorTickLines.height * (Math.cos(angle * Math.PI / 180)) * (axis.tickPosition === 'Inside' && chart.enableRtl ? -1 : axis.tickPosition === 'Inside' ? 1 : axis.tickPosition === 'Outside' && chart.enableRtl ? 1 : -1)); | ||
y2 = y1 + (axis.majorTickLines.height * (Math.sin(angle * Math.PI / 180)) * (axis.tickPosition === 'Inside' && chart.enableRtl ? -1 : axis.tickPosition === 'Inside' ? 1 : axis.tickPosition === 'Outside' && chart.enableRtl ? 1 : -1)); | ||
majorTick = 'M ' + x1 + ' ' + y1 + ' L ' + x2 + ' ' + y2; | ||
@@ -335,0 +335,0 @@ this.renderTickLine(axis, index, majorTick, '', i); |
@@ -76,3 +76,3 @@ /* eslint-disable valid-jsdoc */ | ||
element = drawSymbol(bubblePoint.symbolLocations[0], 'Circle', new Size(argsData.width, argsData.height), marker.imageUrl, shapeOption, bubblePoint.x.toString() + ':' + bubblePoint.yValue.toString(), series.chart.svgRenderer, series.clipRect); | ||
appendChildElement(series.chart.enableCanvas, series.seriesElement, element, redraw); | ||
appendChildElement(series.chart.enableCanvas, series.seriesElement, element, redraw, false, '', '', null, '', false, false, null, null, true); | ||
bubblePoint.regions.push(new Rect(bubblePoint.symbolLocations[0].x - segmentRadius, bubblePoint.symbolLocations[0].y - segmentRadius, 2 * segmentRadius, 2 * segmentRadius)); | ||
@@ -79,0 +79,0 @@ bubblePoint.marker = { |
@@ -1265,5 +1265,2 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
if (this.type === 'Scatter' || this.type === 'Bubble' || this.drawType === 'Scatter') { | ||
appendChildElement(chart.enableCanvas, chart.seriesElements, this.seriesElement, redraw); | ||
} | ||
} | ||
@@ -1270,0 +1267,0 @@ if (marker.visible && (chart.chartAreaType === 'Cartesian' || |
@@ -118,3 +118,3 @@ /* eslint-disable valid-jsdoc */ | ||
var imageURL = argsData.point.marker.imageUrl || marker.imageUrl; | ||
var shapeOption = new PathOption(chart.element.id + '_Series_' + series.index + '_Point_' + point.index, argsData.fill, argsData.border.width, argsData.border.color, series.opacity, null); | ||
var shapeOption = new PathOption(chart.element.id + '_Series_' + series.index + '_Point_' + point.index, argsData.fill, argsData.border.width, (series.chart.enableCanvas && !argsData.border.color) ? argsData.fill : argsData.border.color, series.opacity, null); | ||
if (chart.redraw && getElement(shapeOption.id)) { | ||
@@ -124,3 +124,4 @@ circlePath = argsData.shape === 'Circle' ? 'c' : ''; | ||
} | ||
appendChildElement(series.chart.enableCanvas, series.seriesElement, drawSymbol(point.symbolLocations[0], argsData.shape, new Size(argsData.width, argsData.height), imageURL, shapeOption, point.x.toString() + ':' + point.yValue.toString(), series.chart.svgRenderer, series.clipRect), chart.redraw, true, circlePath + 'x', circlePath + 'y', startLocation, previousPath); | ||
var element = drawSymbol(point.symbolLocations[0], argsData.shape, new Size(argsData.width, argsData.height), imageURL, shapeOption, point.x.toString() + ':' + point.yValue.toString(), series.chart.renderer, series.clipRect); | ||
appendChildElement(series.chart.enableCanvas, series.seriesElement, element, chart.redraw, true, circlePath + 'x', circlePath + 'y', startLocation, previousPath, false, false, null, null, true); | ||
point.regions.push(new Rect(point.symbolLocations[0].x - marker.width, point.symbolLocations[0].y - marker.height, 2 * marker.width, 2 * marker.height)); | ||
@@ -132,5 +133,2 @@ point.marker = { | ||
}; | ||
if (series.chart.enableCanvas) { | ||
series.chart.markerRender.render(series); | ||
} | ||
}; | ||
@@ -137,0 +135,0 @@ /** |
@@ -247,3 +247,3 @@ import { Effect } from '@syncfusion/ej2-base'; | ||
*/ | ||
export declare function appendChildElement(isCanvas: boolean, parent: Element | HTMLElement, childElement: Element | HTMLElement, redraw?: boolean, isAnimate?: boolean, x?: string, y?: string, start?: ChartLocation, direction?: string, forceAnimate?: boolean, isRect?: boolean, previousRect?: Rect, animateDuration?: number): void; | ||
export declare function appendChildElement(isCanvas: boolean, parent: Element | HTMLElement, childElement: Element | HTMLElement, redraw?: boolean, isAnimate?: boolean, x?: string, y?: string, start?: ChartLocation, direction?: string, forceAnimate?: boolean, isRect?: boolean, previousRect?: Rect, animateDuration?: number, scatterElement?: boolean): void; | ||
/** @private */ | ||
@@ -250,0 +250,0 @@ export declare function getDraggedRectLocation(x1: number, y1: number, x2: number, y2: number, outerRect: Rect): Rect; |
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
30122791
219597