Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions src/app/component/circular-heatmap/circular-heatmap.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,28 @@ export class CircularHeatmapComponent implements OnInit {

svg.selectAll("path")
.on('click', function(d) {
_self.cardSubheader=d.explicitOriginalTarget.__data__.Level
_self.tasksData=d.explicitOriginalTarget.__data__.Task;
_self.cardHeader=d.explicitOriginalTarget.__data__.Name
console.log(d)
try{
curr=d.explicitOriginalTarget.__data__
}
catch{
curr=d.srcElement.__data__

}
_self.cardSubheader=curr.Level
_self.tasksData=curr.Task;
_self.cardHeader=curr.Name
_self.showTaskCard=true
//console.log(_self.tasksData)
})
.on('mouseover', function(d) {
console.log(d.explicitOriginalTarget)
curr=d.explicitOriginalTarget.__data__
console.log(d.toElement.__data__.Name)
try{
curr=d.explicitOriginalTarget.__data__
}
catch{
curr=d.toElement.__data__
}
//console.log(curr)
// increase the segment height of the one being hovered as well as all others of the same date
// while decreasing the height of all others accordingly
Expand Down
2 changes: 1 addition & 1 deletion src/assets/YAML/generated/generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ Implementation:
evidence: ""
comments: ""
assessment: ""
Pre-Commit checks & validations:
Pre-Commit checks and validations:
risk: Using an insecure application might lead to a compromised application.
This might lead to total data theft or data modification.
measure: |
Expand Down