<figure [id]="uniqueId"></figure>
<div class="row" style="margin-left: 15%;">
  <div class="col">
    <div *ngFor="let item of data; let $index = index;" class="nbp-fid-donut-chart-legend">
      <svg width="20" height="20" style="margin-bottom:-6px;">
        <rect width="15" height="15" [attr.fill]="colors[$index]"></rect>
      </svg>
      <span>{{item[config.labelKey]}} - {{formatter ? formatter(item[config.valueKey]) : item[config.valueKey]}}</span>
    </div>
  </div>
</div>
