Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
76d68cec
Commit
76d68cec
authored
Aug 28, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard
parent
ef92555b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
+34
-1
dashboard-management.component.html
.../dashboard-management/dashboard-management.component.html
+0
-0
dashboard-management.component.ts
...PU/dashboard-management/dashboard-management.component.ts
+34
-1
No files found.
src/app/DPU/dashboard-management/dashboard-management.component.html
View file @
76d68cec
This diff is collapsed.
Click to expand it.
src/app/DPU/dashboard-management/dashboard-management.component.ts
View file @
76d68cec
...
...
@@ -29,6 +29,7 @@ import { SyncfusionPivotWidgetComponent } from '../widgets/syncfusion-pivot-widg
import
{
SyncfusionChartWidgetComponent
}
from
'../widgets/syncfusion-chart-widget/syncfusion-chart-widget.component'
;
import
{
DatasetPickerComponent
}
from
'./dataset-picker.component'
;
import
{
DataTableWidgetComponent
}
from
'../widgets/dynamic-widgets/data-table-widget.component'
;
// Import new widget
import
{
AccumulationChartAllModule
,
ChartAllModule
}
from
'@syncfusion/ej2-angular-charts'
;
@
Component
({
selector
:
'app-dashboard-management'
,
...
...
@@ -53,13 +54,45 @@ import { DataTableWidgetComponent } from '../widgets/dynamic-widgets/data-table-
SyncfusionChartWidgetComponent
,
DatasetPickerComponent
,
DataTableWidgetComponent
,
// Add new widget to imports
DashboardLayoutModule
// Add Syncfusion DashboardLayoutModule
DashboardLayoutModule
,
ChartAllModule
,
AccumulationChartAllModule
// Add Syncfusion DashboardLayoutModule
],
templateUrl
:
'./dashboard-management.component.html'
,
styleUrls
:
[
'./dashboard-management.component.scss'
],
})
export
class
DashboardManagementComponent
implements
OnInit
{
public
chartData
:
Object
[]
=
[
{
month
:
'Jan'
,
sales
:
35
},
{
month
:
'Feb'
,
sales
:
28
},
{
month
:
'Mar'
,
sales
:
34
},
{
month
:
'Apr'
,
sales
:
32
},
{
month
:
'May'
,
sales
:
40
},
{
month
:
'Jun'
,
sales
:
32
},
{
month
:
'Jul'
,
sales
:
35
},
{
month
:
'Aug'
,
sales
:
55
},
{
month
:
'Sep'
,
sales
:
38
},
{
month
:
'Oct'
,
sales
:
30
},
{
month
:
'Nov'
,
sales
:
25
},
{
month
:
'Dec'
,
sales
:
32
}
];
public
primaryXAxis
:
Object
=
{
valueType
:
'Category'
}
public
lineData
:
any
[]
=
[
{
x
:
2013
,
y
:
28
},
{
x
:
2014
,
y
:
25
},
{
x
:
2015
,
y
:
26
},
{
x
:
2016
,
y
:
27
},
{
x
:
2017
,
y
:
32
},
{
x
:
2018
,
y
:
35
}
];
public
piechart
:
any
[]
=
[{
x
:
'TypeScript'
,
y
:
13
,
text
:
'TS 13%'
},
{
x
:
'React'
,
y
:
12.5
,
text
:
'Reat 12.5%'
},
{
x
:
'MVC'
,
y
:
12
,
text
:
'MVC 12%'
},
{
x
:
'Core'
,
y
:
12.5
,
text
:
'Core 12.5%'
},
{
x
:
'Vue'
,
y
:
10
,
text
:
'Vue 10%'
},
{
x
:
'Angular'
,
y
:
40
,
text
:
'Angular 40%'
}];
public
piechart1
:
any
[]
=
[
{
'x'
:
'Chrome'
,
y
:
37
,
text
:
'37%'
},
{
'x'
:
'UC Browser'
,
y
:
17
,
text
:
'17%'
},
{
'x'
:
'iPhone'
,
y
:
19
,
text
:
'19%'
},
{
'x'
:
'Others'
,
y
:
4
,
text
:
'4%'
},
{
'x'
:
'Opera'
,
y
:
11
,
text
:
'11%'
},
{
'x'
:
'Android'
,
y
:
12
,
text
:
'12%'
}
];
public
legendSettings
:
Object
=
{
visible
:
false
};
tooltip
:
any
;
datalabel
:
any
;
public
panels
:
(
PanelModel
&
{
componentType
:
Type
<
any
>
,
componentInputs
?:
{
[
key
:
string
]:
any
}
})[]
=
[];
public
cellSpacing
:
number
[]
=
[
10
,
10
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment