Commit 36674a63 authored by Gabriel Gutu-Robu's avatar Gabriel Gutu-Robu

Removed voice overlap and added indices updated indices descriptions

parent d656da50
......@@ -109,7 +109,7 @@
<h5>CSCL Indices Description</h5>
<ul class="course-description-list">
<li class="lesson cscl-indices-description"
*ngFor="let csclIndexDescription of csclIndicesDescription | keyvalue">
*ngFor="let csclIndexDescription of csclIndicesDescriptions | keyvalue">
<div class="heading">
<span class="lesson-nr no-select">{{csclIndexDescription.key}}</span>
</div>
......@@ -135,7 +135,7 @@
<svg id="collaborationSocialKB" width="100%" height="300"></svg>
</div>
</div>
<div class="row">
<div class="row" style="display: none;">
<div class="col-xs-12 col-md-12">
<h4>Collaboration - Voice Overlap</h4>
</div>
......
......@@ -39,9 +39,9 @@ export class CsclNewComponent implements OnInit {
participantEdges: any;
participantEvolution: any;
collaborationSocialKBNodes: any;
voiceOverlapNodes: any;
// voiceOverlapNodes: any;
csclIndices: any;
csclIndicesDescription: any;
csclIndicesDescriptions: any;
conceptMap: any;
error: string;
......@@ -200,18 +200,18 @@ export class CsclNewComponent implements OnInit {
}, 1000);
// build collaboration voice graph
this.voiceOverlapNodes = response.data.voiceOverlap;
const intervalCollaborationVoiceOverlap = setInterval(function () {
if (_this.voiceOverlapNodes.count === response.data.voiceOverlap.count) {
clearInterval(intervalCollaborationVoiceOverlap);
_this.readerbenchService.d3jsLineGraph(
response.data.voiceOverlap,
'#collaborationVoiceOverlap',
'Contribution ID',
'Voice PMI'
);
}
}, 1000);
// this.voiceOverlapNodes = response.data.voiceOverlap;
// const intervalCollaborationVoiceOverlap = setInterval(function () {
// if (_this.voiceOverlapNodes.count === response.data.voiceOverlap.count) {
// clearInterval(intervalCollaborationVoiceOverlap);
// _this.readerbenchService.d3jsLineGraph(
// response.data.voiceOverlap,
// '#collaborationVoiceOverlap',
// 'Contribution ID',
// 'Voice PMI'
// );
// }
// }, 1000);
// build cscl indices
this.csclIndices = response.data.csclIndices;
......@@ -222,10 +222,10 @@ export class CsclNewComponent implements OnInit {
}, 1000);
// build cscl indices description
this.csclIndicesDescription = response.data.csclIndicesDescription;
const intervalCsclIndicesDescription = setInterval(function () {
if (_this.csclIndicesDescription.count === response.data.csclIndicesDescription.count) {
clearInterval(intervalCsclIndicesDescription);
this.csclIndicesDescriptions = response.data.csclIndicesDescriptions;
const csclIndicesDescriptions = setInterval(function () {
if (_this.csclIndicesDescriptions.count === response.data.csclIndicesDescriptions.count) {
clearInterval(csclIndicesDescriptions);
}
}, 1000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment