M
Size: a a a
M
DK
DK
А
DK
КГ
визуализация данных с помощью библиотеки d3.js 4.xпарни кто нибудь читал?
CA
CA
CA
GС
R
GС
GС
GС
R
R
R
GС
public hostInfo(d: any) {
return `<table>
<tr>
<td>asdadasd - ${d}</td>
</tr>
</table>`;
}
hostInfo
.append('foreignObject')
.attr('x', 0)
.attr('y', 0)
.attr('width', '100px')
.attr('height', '200px')
.append('xhtml:div')
.attr('style', 'width: 100%; height: 100%;')
.html(this.hostInfo);
....
d3.select('#host-info')
.datum(d);