2022-08-18 18:29:11 +02:00
|
|
|
<div *ngIf="channelsObservable | async">
|
|
|
|
<div *ngIf="chartOptions" [class]="'full-container ' + style + (fitContainer ? ' fit-container' : '')">
|
|
|
|
<div *ngIf="style === 'graph'" class="card-header">
|
|
|
|
<div class="d-flex d-md-block align-items-baseline" style="margin-bottom: -5px">
|
|
|
|
<span i18n="lightning.nodes-channels-world-map">Lightning nodes channels world map</span>
|
|
|
|
</div>
|
|
|
|
<small style="color: #ffffff66" i18n="lightning.tor-nodes-excluded">(Tor nodes excluded)</small>
|
2022-07-21 22:43:12 +02:00
|
|
|
</div>
|
|
|
|
|
2022-08-18 18:29:11 +02:00
|
|
|
<div class="chart" echarts [initOpts]="chartInitOptions" [options]="chartOptions" (chartInit)="onChartInit($event)"
|
|
|
|
(chartFinished)="onChartFinished($event)">
|
|
|
|
</div>
|
2022-07-21 22:43:12 +02:00
|
|
|
</div>
|
|
|
|
|
2022-08-18 18:29:11 +02:00
|
|
|
<div *ngIf="!chartOptions && style === 'nodepage'" style="padding-top: 30px"></div>
|
2022-07-21 22:43:12 +02:00
|
|
|
</div>
|