This is a migrated thread and some comments may be shown as answers.

RadialGauge Scale Labels Position Outside not working

1 Answer 131 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Sven
Top achievements
Rank 1
Sven asked on 21 Aug 2013, 12:29 PM
Hi,

I am using a RadialGauge and want to position the scale labe on the outside. The Gauge is created with HTML helper as follows:

@(Html.Kendo().RadialGauge()
    .Name("gauge1")
    .Pointer(pointer => pointer
        .Color("#8EBC00")
        .Value(@ViewBag.ServiceLevel))
    .Scale(scale => scale
        .MinorUnit(5)
        .StartAngle(0)
        .EndAngle(180)
        .Max(100)
        .Labels(labels => labels
            .Position(GaugeRadialScaleLabelsPosition.Outside))
        .Ranges(ranges => {
            ranges.Add().From(0).To(5).Color("#c20000");
            ranges.Add().From(5).To(25).Color("#ff7a00");
            ranges.Add().From(25).To(60).Color("#ffc700");                           
        })                                            
    )
)
The result is, that the scale is still positioned inside the scale. Is there anything wrong in my code?

I am using v.2013.2.716.340.

Regards
Sven

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 21 Aug 2013, 02:00 PM
Hello Sven,

I confirm that this is a bug and the fix will be included with the next internal build of Kendo UI. Apologies for the caused inconvenience.

I have updated your telerik points.

Regards,
Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Gauges
Asked by
Sven
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or