Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
feat: make svgHeight and svgWidth inputs closes #200
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Oct 16, 2018
1 parent 2e3c3a6 commit 51418cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/trend/trend.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ export class TrendComponent implements OnChanges {
@Input() strokeWidth = 1;
@Input() gradient: string[] = [];
@Input() preserveAspectRatio: string;
@Input() svgHeight: string | number = '25%';
@Input() svgWidth: string | number = '100%';
@ViewChild('pathEl') pathEl: ElementRef;
gradientTrimmed: any[];
d: any;
svgWidth: string | number = '100%';
svgHeight: string | number = '25%';
viewBox: string;
pathStroke: any;
gradientId: string;
Expand Down

0 comments on commit 51418cd

Please sign in to comment.