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
dd3bcd4e
Commit
dd3bcd4e
authored
Aug 28, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dragdrop
parent
76d68cec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
31 deletions
+11
-31
dashboard-management.component.html
.../dashboard-management/dashboard-management.component.html
+11
-1
dashboard-management.component.ts
...PU/dashboard-management/dashboard-management.component.ts
+0
-30
No files found.
src/app/DPU/dashboard-management/dashboard-management.component.html
View file @
dd3bcd4e
...
...
@@ -169,7 +169,17 @@
[
col
]="
panel
.
col
"
>
<ng-template
#
header
>
<div>
{{ panel.header }}
</div>
<div
class=
"p-2 bg-white border-b border-gray-200 text-gray-700 font-semibold flex justify-between items-center"
>
<span>
{{ panel.header }}
</span>
<button
(
click
)="
removeWidgetFromDashboard
(
panel
.
id
!)"
class=
"text-red-500 hover:text-red-700"
>
<i
class=
"bi bi-trash"
></i>
</button>
</div>
</ng-template>
<ng-template
#
content
>
<ng-container
...
...
src/app/DPU/dashboard-management/dashboard-management.component.ts
View file @
dd3bcd4e
...
...
@@ -63,36 +63,6 @@ import { AccumulationChartAllModule, ChartAllModule } from '@syncfusion/ej2-angu
})
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