ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
12 lines (11 loc) • 510 B
HTML
<ng-container *nzStringTemplateOutlet="title">
<h4>{{ title }}</h4>
</ng-container>
<div #container></div>
<div nz-row class="g2-radar__legend" *ngIf="hasLegend">
<div nz-col [nzSpan]="24 / legendData.length" *ngFor="let i of legendData; let idx = index" (click)="_click(idx)" class="g2-radar__legend-item">
<i class="g2-radar__legend-dot" [ngStyle]="{ 'background-color': !i.checked ? '#aaa' : i.color }"></i>
{{ i.name }}
<h6 class="g2-radar__legend-title">{{ i.value }}</h6>
</div>
</div>