Skip to content

Commit 7b86a2b

Browse files
committed
fix: fix radar node click issue
1 parent 992fde9 commit 7b86a2b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

projects/ledge-render/src/lib/chart/ledge-tech-radar/ledge-tech-radar.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export class LedgeTechRadarComponent implements OnInit, AfterViewInit {
239239
.enter()
240240
.append('li')
241241
.append('a')
242-
.attr('href', '#radarChart')
242+
// .attr('href', '#radarChart')
243243
.on('click', handleClick)
244244
.text((d: any) => d.name);
245245
}
@@ -307,9 +307,9 @@ export class LedgeTechRadarComponent implements OnInit, AfterViewInit {
307307
d3.selectAll(`.legend li`)
308308
.filter((d: any) => d === technology)
309309
.classed('active', true);
310-
311-
d3.text(encodeURI(`tech/${data.name.toLocaleLowerCase()}.html`))
312-
.then(text => d3.select('#tech-info').html(text));
310+
//
311+
// d3.text(encodeURI(`tech/${data.name.toLocaleLowerCase()}.html`))
312+
// .then(text => d3.select('#tech-info').html(text));
313313

314314
// follow the href
315315
return true;

0 commit comments

Comments
 (0)