Skip to content

Commit bbff062

Browse files
author
pipeline
committed
v19.2.56 is released
1 parent 703b794 commit bbff062

File tree

185 files changed

+3056
-4195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+3056
-4195
lines changed

controls/base/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.55 (2021-08-11)
5+
## 19.2.56 (2021-08-17)
66

77
### Common
88

controls/buttons/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.55 (2021-08-11)
5+
## 19.2.56 (2021-08-17)
66

77
### Checkbox
88

controls/calendars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-calendars",
3-
"version": "19.2.47",
3+
"version": "19.2.55",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 19.2.56 (2021-08-17)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#337487` - Query selector issue fixed for container ID.
12+
513
## 19.2.55 (2021-08-11)
614

715
### Chart

controls/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "19.2.51",
3+
"version": "19.2.55",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/spec/chart/user-interaction/crosshair.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,8 @@ describe('Chart Crosshair', () => {
681681
expect(element2.getAttribute('fill') == 'green' || element2.getAttribute('fill') == null ).toBe(true);
682682
done();
683683
};
684-
chartObj.crosshair.horizontalColor= 'red';
685-
chartObj.crosshair.verticalColor = 'green';
684+
chartObj.crosshair.horizontalLineColor = 'red';
685+
chartObj.crosshair.verticalLineColor = 'green';
686686
chartObj.loaded = loaded;
687687
chartObj.refresh();
688688
});

controls/charts/src/chart/chart-model.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ export interface CrosshairSettingsModel {
6767
* The color of the border that accepts value in hex and rgba as a valid CSS color string.
6868
* @default ''
6969
*/
70-
verticalColor?: string;
70+
verticalLineColor?: string;
7171

7272
/**
7373
* The color of the border that accepts value in hex and rgba as a valid CSS color string.
7474
* @default ''
7575
*/
76-
horizontalColor?: string;
76+
horizontalLineColor?: string;
7777

7878
/**
7979
* The opacity for background.

controls/charts/src/chart/chart.ts

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ export class CrosshairSettings extends ChildProperty<CrosshairSettings> {
179179
* @default ''
180180
*/
181181
@Property('')
182-
public verticalColor: string;
183-
182+
public verticalLineColor: string;
183+
184184
/**
185185
* The color of the border that accepts value in hex and rgba as a valid CSS color string.
186186
* @default ''
187187
*/
188188
@Property('')
189-
public horizontalColor: string;
190-
189+
public horizontalLineColor: string;
190+
191191
/**
192192
* The opacity for background.
193193
* @default 1
@@ -1566,12 +1566,18 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
15661566
* Return the proper ID when the special character exist in the ID
15671567
*/
15681568
private isIdHasSpecialCharacter(elementId: string): string {
1569-
const regex: RegExp = /^[A-Za-z0-9 ]+$/;
1569+
const regex: RegExp = /^[A-Za-z ]+$/;
1570+
const numberRegex: RegExp = /^[0-9 ]+$/;
15701571
let childElementId: string = '';
15711572
if (!regex.test(elementId)) {
1572-
for (let i: number = 0; i < elementId.length; i++) {
1573+
let start: number = 0;
1574+
if (numberRegex.test(elementId[0])) {
1575+
childElementId += ('\\3' + elementId[0]);
1576+
start = 1;
1577+
}
1578+
for (let i: number = start; i < elementId.length; i++) {
15731579
if (!regex.test(elementId[i]) && elementId.indexOf('-') === -1 &&
1574-
elementId.indexOf('_') === -1 && elementId.indexOf('\\') === -1) {
1580+
elementId.indexOf('_') === -1 && elementId.indexOf('\\') === -1 && !numberRegex.test(elementId[i])) {
15751581
childElementId += ('\\' + elementId[i]);
15761582
} else {
15771583
childElementId += elementId[i];
@@ -3786,4 +3792,4 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
37863792
}
37873793
}
37883794
}
3789-
}
3795+
}

controls/charts/src/chart/user-interaction/crosshair.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class Crosshair {
159159
}
160160
options = new PathOption(
161161
this.elementID + '_HorizontalLine', 'none', crosshair.line.width,
162-
crosshair.horizontalColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, horizontalCross
162+
crosshair.horizontalLineColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, horizontalCross
163163
);
164164
this.drawCrosshairLine(options, cross, chartRect.x, this.valueY, chartRect.width, 0, horizontalCross);
165165
/**
@@ -168,7 +168,7 @@ export class Crosshair {
168168
*/
169169
options = new PathOption(
170170
this.elementID + '_VerticalLine', 'none', crosshair.line.width,
171-
crosshair.verticalColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, verticalCross
171+
crosshair.verticalLineColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, verticalCross
172172
);
173173
this.drawCrosshairLine(options, cross, this.valueX, chartRect.y, 0, chartRect.height, verticalCross);
174174
this.renderAxisTooltip(chart, chartRect, <Element>axisTooltipGroup);
@@ -181,12 +181,12 @@ export class Crosshair {
181181
axisTooltipGroup = chart.renderer.createGroup({ 'id': this.elementID + '_crosshair_axis' });
182182
options = new PathOption(
183183
this.elementID + '_HorizontalLine', 'none', crosshair.line.width,
184-
crosshair.horizontalColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, horizontalCross
184+
crosshair.horizontalLineColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, horizontalCross
185185
);
186186
this.renderCrosshairLine(options, crossGroup);
187187
options = new PathOption(
188188
this.elementID + '_VerticalLine', 'none', crosshair.line.width,
189-
crosshair.verticalColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, verticalCross
189+
crosshair.verticalLineColor || crosshair.line.color || chart.themeStyle.crosshairLine, crosshair.opacity, crosshair.dashArray, verticalCross
190190
);
191191
this.renderCrosshairLine(options, crossGroup);
192192
crossGroup.appendChild(axisTooltipGroup);

controls/data/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.55 (2021-08-11)
5+
## 19.2.56 (2021-08-17)
66

77
### DataManager
88

0 commit comments

Comments
 (0)