Skip to content

Commit 7fee513

Browse files
author
pipeline
committed
bug(EJ2-5518): React sample issues fixed
1 parent 198e83c commit 7fee513

File tree

12 files changed

+14
-16
lines changed

12 files changed

+14
-16
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-24 Bytes
Binary file not shown.

samples/chart/range-column/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class RangeColumn extends SampleBase<{}, {}> {
4141
<ChartComponent id='charts' style={{ textAlign: "center" }}
4242
primaryXAxis={{ valueType: 'Category', majorGridLines: { width: 0 } }}
4343
primaryYAxis={{ labelFormat: '{value}˚C', maximum: 20, edgeLabelPlacement: 'Shift', lineStyle: { width: 0 }, majorTickLines: { width: 0 } }}
44-
title='Maximum and minimum Temperature' loaded={this.onChartLoad.bind(this)}
44+
title='Maximum and Minimum Temperature' loaded={this.onChartLoad.bind(this)}
4545
load={this.load.bind(this)}
4646
chartArea={{ border: { width: 0 } }}
4747
width={Browser.isDevice ? '100%' : '60%'}

samples/circulargauge/pointers/app/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class Pointers extends SampleBase<{}, {}> {
117117
</PointersDirective>
118118
<AnnotationsDirective>
119119
<AnnotationDirective content='<div style="color:#757575; font-family:Roboto; font-size:14px;">Range Bar</div>'
120-
angle={180} radius='20%'></AnnotationDirective>
120+
angle={180} zIndex='1' radius='20%'></AnnotationDirective>
121121
</AnnotationsDirective>
122122
</AxisDirective>
123123
</AxesDirective>
@@ -148,7 +148,7 @@ export class Pointers extends SampleBase<{}, {}> {
148148
</PointersDirective>
149149
<AnnotationsDirective>
150150
<AnnotationDirective content='<div style="color:#757575; font-family:Roboto; font-size:14px;">Triangle</div>'
151-
angle={180} radius='20%'></AnnotationDirective>
151+
angle={180} zIndex='1' radius='20%'></AnnotationDirective>
152152
</AnnotationsDirective>
153153
</AxisDirective>
154154
</AxesDirective>
@@ -193,7 +193,7 @@ export class Pointers extends SampleBase<{}, {}> {
193193
</PointersDirective>
194194
<AnnotationsDirective>
195195
<AnnotationDirective content='<div style="color:#757575; font-family:Roboto; font-size:14px;">Needle</div>'
196-
angle={180} radius='20%'></AnnotationDirective>
196+
angle={180} zIndex='1' radius='20%'></AnnotationDirective>
197197
</AnnotationsDirective>
198198
</AxisDirective>
199199
</AxesDirective>
@@ -250,7 +250,7 @@ export class Pointers extends SampleBase<{}, {}> {
250250
</PointersDirective>
251251
<AnnotationsDirective>
252252
<AnnotationDirective content='<div style="color:#757575; font-family:Roboto; font-size:14px;">Multiple Needle</div>'
253-
angle={180} radius='25%'></AnnotationDirective>
253+
angle={180} zIndex='1' radius='25%'></AnnotationDirective>
254254
</AnnotationsDirective>
255255
</AxisDirective>
256256
</AxesDirective>
@@ -294,7 +294,7 @@ export class Pointers extends SampleBase<{}, {}> {
294294
</PointersDirective>
295295
<AnnotationsDirective>
296296
<AnnotationDirective content='<div style="color:#757575; font-family:Roboto; font-size:14px;">Live Update</div>'
297-
angle={180} radius='20%'></AnnotationDirective>
297+
angle={180} zIndex='1' radius='20%'></AnnotationDirective>
298298
</AnnotationsDirective>
299299
</AxisDirective>
300300
</AxesDirective>

samples/lineargauge/axes/app/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ export class Axes extends SampleBase<{}, {}> {
6565

6666
private typeChange() {
6767
this.gaugeInstance.axes[0].pointers[0].type = this.typeElement.value as Point;
68-
this.placeElement.enabled = (this.typeElement.value === 'Marker') ? true : false;
69-
this.markerElement.disabled = (this.typeElement.value === 'Marker') ? false : true;
68+
this.placeElement.enabled = (this.typeElement.value === 'Marker');
7069
this.gaugeInstance.refresh();
7170
}
7271

src/chart/range-column.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class RangeColumn extends SampleBase<{}, {}> {
4141
<ChartComponent id='charts' style={{ textAlign: "center" }}
4242
primaryXAxis={{ valueType: 'Category', majorGridLines: { width: 0 } }}
4343
primaryYAxis={{ labelFormat: '{value}˚C', maximum: 20, edgeLabelPlacement: 'Shift', lineStyle: { width: 0 }, majorTickLines: { width: 0 } }}
44-
title='Maximum and minimum Temperature' loaded={this.onChartLoad.bind(this)}
44+
title='Maximum and Minimum Temperature' loaded={this.onChartLoad.bind(this)}
4545
load={this.load.bind(this)}
4646
chartArea={{ border: { width: 0 } }}
4747
width={Browser.isDevice ? '100%' : '60%'}

0 commit comments

Comments
 (0)