UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular2 and beyond!

30 lines (26 loc) 488 B
import { Component, Input, ChangeDetectionStrategy } from '@angular/core'; @Component({ selector: 'g[ngx-charts-grid-panel]', template: ` <svg:rect [attr.height]="height" [attr.width]="width" [attr.x]="x" [attr.y]="y" stroke="none" class="gridpanel" /> `, changeDetection: ChangeDetectionStrategy.OnPush }) export class GridPanelComponent { @Input() path; @Input() width; @Input() height; @Input() x; @Input() y; }