Skip to content

Commit ab64a47

Browse files
committed
add id handling
1 parent a0ad7a2 commit ab64a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/zingchart-angular/src/lib/zingchart-angular.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class ZingchartAngularComponent implements AfterViewInit, OnDestroy, OnCh
159159
this.chartHeight = this.height || DEFAULT_HEIGHT;
160160
this.output = this.output || DEFAULT_OUTPUT;
161161
this.renderObject = {
162-
id: this.chartId,
162+
id: this.id || this.chartId,
163163
data: data,
164164
width: this.chartWidth,
165165
height: this.chartHeight,

0 commit comments

Comments
 (0)