Skip to content

Commit 9ffd8ae

Browse files
author
pipeline
committed
bug(EJ2-2116): sample level changes for linear gauge
1 parent 8a9949d commit 9ffd8ae

File tree

9 files changed

+11
-31
lines changed

9 files changed

+11
-31
lines changed

src/lineargauge/axes-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/lineargauge/axes.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,6 @@ export class AxesComponent {
120120
this.gauge.axes[0].pointers[0].placement = <Placement>ele.value;
121121
this.gauge.refresh();
122122
};
123-
124-
document.getElementById('markerType').onchange = () => {
125-
let ele: HTMLSelectElement = <HTMLSelectElement>document.getElementById('markerType');
126-
this.gauge.axes[0].pointers[0].markerType = <MarkerType>ele.value;
127-
this.gauge.refresh();
128-
};
129123
};
130124

131125
private getRandomArbitrary(min: number, max: number): number {

src/lineargauge/axes.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,6 @@
8585
</div>
8686
</td>
8787
</tr>
88-
<tr>
89-
<td>
90-
<div>Marker Type</div>
91-
</td>
92-
<td>
93-
<div>
94-
<select name="selectIndex" autocomplete="off" id="markerType" class="form-control" style="width:90%">
95-
<option value="Triangle">Triangle</option>
96-
<option value="Diamond">Diamond</option>
97-
<option value="Rectangle">Rectangle</option>
98-
<option value="InvertedTriangle" selected>Inverted Triangle</option>
99-
<option value="Circle">Circle</option>
100-
<option value="Arrow">Arrow</option>
101-
<option value="InvertedArrow">InvertedArrow</option>
102-
</select>
103-
</div>
104-
</td>
105-
</tr>
10688
</table>
10789
</div>
10890
</div>

src/lineargauge/data-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/lineargauge/data.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, ViewEncapsulation } from '@angular/core';
22

33
/**
4-
* Thermometer linear gauge
4+
* Linear gauge Data sample
55
*/
66
@Component({
77
selector: 'control-content',

src/lineargauge/style-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/lineargauge/style.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { LinearGaugeComponent } from '@syncfusion/ej2-ng-lineargauge';
33
import { IMouseEventArgs } from '@syncfusion/ej2-lineargauge';
44

55
/**
6-
* Tooltip linear gauge
6+
* linear gauge style sample
77
*/
88
@Component({
99
selector: 'control-content',

src/lineargauge/tooltip-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/lineargauge/tooltip.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ export class TooltipComponent {
3232
}
3333
];
3434
public Container: Object = {
35-
width: 140
35+
width: 140,
36+
border: {
37+
width: 2,
38+
color: '#a6a6a6'
39+
}
3640
};
3741
public Tooltip: Object = {
3842
enable: true,

0 commit comments

Comments
 (0)