We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568a4ba commit 31f55deCopy full SHA for 31f55de
1 file changed
src/app/component/circular-heatmap/circular-heatmap.component.ts
@@ -236,14 +236,10 @@ export class CircularHeatmapComponent implements OnInit {
236
return undefined;
237
}
238
239
- private AddSegmentLabels(allDimensionNames: string[]) {
240
- console.log(allDimensionNames);
241
- for (var i = 0; i < allDimensionNames.length; i++) {
242
- var allSubDimensionInThisDimension = Object.keys(
243
- this.YamlObject[allDimensionNames[i]]
244
- );
245
- for (var j = 0; j < allSubDimensionInThisDimension.length; j++) {
246
- this.segment_labels.push(allSubDimensionInThisDimension[j]);
+ private AddSegmentLabels(yampObject: any[]) {
+ for (let dim in yampObject) {
+ for (let subdim in yampObject[dim]) {
+ this.segment_labels.push(subdim);
247
248
249
console.log(this.segment_labels);
0 commit comments