Skip to content

Commit

Permalink
fix: fix tech radar chart issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 16, 2020
1 parent 2b9cd74 commit e54f9b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class LedgeTechRadarComponent implements OnInit, AfterViewInit, OnChanges
items
});
}
console.log(this.trData);
}

ngOnChanges(changes: SimpleChanges): void {
Expand Down Expand Up @@ -240,7 +241,7 @@ export class LedgeTechRadarComponent implements OnInit, AfterViewInit, OnChanges

// append the list
legendSection.append('ol')
.attr('start', (d: any) => d.items[0].number)
.attr('start', (d: any) => d.items[0] ? d.items[0].number : 0)
.selectAll('li')
.data((d: any) => d.items)
.enter()
Expand Down

0 comments on commit e54f9b9

Please sign in to comment.