<div *ngIf="visible">
    <div [ngStyle]="{'left.px': position.left, 'top.px': position.top}" id="chartjs-tooltip">
        <ul class="tooltip-list">
            <li *ngFor="let item of items">
                <span [style.background]="item.color" class="tooltip-color"></span>
                {{ item.body }}
            </li>
        </ul>
    </div>
</div>