RadialGauge Scale Labels Position Outside not working

2 posts, 0 answers
  1. Sven
    Sven avatar
    7 posts
    Member since:
    Sep 2011

    Posted 21 Aug 2013 Link to this post

    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
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 21 Aug 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top