Is there a way to apply the same value of {{getCount(userObj.assigned_to, 'Applicable')}} + px to the width of an LI element with a background color? When I try to add it to style.width, I encounter an error.
Template parse errors: Parser Error: Got interpolation ({{}}) where expression was expected at column 1
<li class="chart__bar" [style.width]="{{getCount(userObj.assigned_to, 'Applicable')}}">{{getCount(userObj.assigned_to, 'Applicable')}}</li>
Any suggestions on how to set the li width properly?