<template name=\'swBasicPerecentage\'>
<div class=scada-widget name="{{this.name}}">
<svg height={{this.height}} width={{this.width}}>
<rect x1=0 y1=0 height={{this.height}} width="{{getWidth this.value}}" fill={{getColor this.value}} />
<text x={{xPosText}} y=15>{{this.value}}</text>
</svg>
</div>
</template>