daily pastebin goal
92%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div *ngFor="let data of dashboardDataMulti; index as i">
  2.             <ngb-accordion #acc="ngbAccordion" activeIds="ngb-panel-{{i}}" type="light">
  3.                 <ngb-panel  title="{{data.name}}">
  4.                     <ng-template ngbPanelContent>
  5.                     <ngx-charts-pie-grid
  6.                               [view]="view"
  7.                               [scheme]="colorScheme"
  8.                               [results]="dashboardDataMulti[data]"
  9.                               [designatedTotal]="100"
  10.                               [animations]="animations"
  11.                               [tooltipDisabled]="tooltipDisabled"
  12.                               (select)="onSelect($event)">
  13.                             </ngx-charts-pie-grid>
  14.                     </ng-template>
  15.                 </ngb-panel>
  16.             </ngb-accordion>
  17.         </div>
  18.    
  19. setTimeout(() => {
  20.       this.generateDashboardData();
  21.       // change the data periodically
  22.       this.dataInterval = setInterval(() => this.generateDashboardData(), 10 * 600);
  23. }, 1000);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top