Adding dynamic attributes

Hi

I am trying to dynamic value to the code below. especially I want the 90 in (stroke-dasharray=“90,100”), to come from dynamic record.

<circle class="circle-chart__circle" stroke="#0747A6" stroke-width="2" stroke-dasharray="90,100" stroke-linecap="round" fill="none" cx="16.91549431" cy="16.91549431" r="15.91549431" />

I have tried using the following:
dmx-bind:stroke-dasharray="'(scProjectsAAIWCAGScore.data.qrProjectsAAIWCAGScore.sum(AAIW_Score) / scProjectsAAIWCAGScore.data.qrProjectsAAIWCAGScore.count()).formatNumber(2, '.', ',')',100"

But it is not working, I am hoping to get some ideas as to what I need to do.

Thanks

Community Page
Last updated: