@using Radzen.Blazor
@using Radzen.Blazor.Rendering

<g class="rz-arc-gauge-scale-value">
@{
    var scale = Scale;
}
@if (scale != null)
    {
        <GaugeBand 
        From=@scale.Min
            To=@Value
            Fill=@Fill
            Stroke=@Stroke
            StrokeWidth=@StrokeWidth
        Radius=@scale.CurrentRadius
        Center=@scale.CurrentCenter
        StartAngle=@scale.StartAngle
        EndAngle=@scale.EndAngle
        Min=@scale.Min
        Max=@scale.Max
        Size=@scale.CurrentSize
        />
    }
</g>
