Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145054 | Jun 4,2019 12:17 PM UTC | Jun 24,2019 11:47 AM UTC | Angular - EJ 2 | 12 |
![]() |
Tags: DashboardLayout |
<ejs-dashboardlayout id='dashboardLayout' [cellSpacing]='cellSpacing'
[panels]='panels'
[columns]="6"
[cellAspectRatio]='aspectRatio'>
<e-panels>
<e-panel [sizeX]="2" [sizeY]="2" [row]="0" [col]="0">
<ng-template #header>
<div>Product usage ratio</div>
</ng-template>
<ng-template #content>
<div id="column">
<ejs-accumulationchart id="chart-container" [legendSettings]='legendSettings'><e-accumulation-series-collection><e-accumulation-series [dataSource]='pieData' xName='x' yName='y'></e-accumulation-series></e-accumulation-series-collection></ejs-accumulationchart>
</div>
</ng-template>
</e-panel>
</e-panels>
</ejs-dashboardlayout>
|
let strBody = document.getElementById('chartData').outerHTML;
var panels = this.Dashboard.serialize();
panels[0].content = (this.data) ? strBody : strBody1;
this.Dashboard.panels = panels; |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.