Semicircle gauge issue after update

2 posts, 0 answers
  1. Rahil Kidwai
    Rahil Kidwai avatar
    3 posts
    Member since:
    Aug 2012

    Posted 02 Jul 2012 Link to this post

    I have a requirement to display some constant statistical data in a semicircular gauge and I am using RadSemicircleNorthGauge control.
    To achieve the desired look of the gauge the background properties of the gauge (InnerBackground, OuterBackground, OuterBorderBrush, Background) are all set to transparent. GaugeRange background property is being set appropriately to get the desired look. 
    Everything was working fine with  2012 Q1 version, but soon after updating to 2012 Q2 the semi circular gauge is no more semi circular. It's total span now is 270° instead of 180°.
    I am pasting the test code below for your reference. Can you please help and let me know how to fix the problem?


            <telerikgauge:RadSemicircleNorthGauge MaxHeight="600" MaxWidth="600" InnerBackground="Transparent" OuterBackground="Transparent" OuterBorderBrush="Transparent" Background="Transparent">
                <telerik:RadialScale RangeLocation="Inside"  Min="0" Max="100" MajorTickStep="10" MiddleTicks="1">
                        <telerik:GaugeRange Min="0" Max="40" StartWidth="0.7" EndWidth="0.7" Background="Red"/>
                        <telerik:GaugeRange Min="40" Max="100" StartWidth="0.7" EndWidth="0.7" Background="Green"/>
                        <telerik:Needle Value="40" TailHeight="0" Background="Blue"  BorderBrush="Blue"/>
                        <telerik:Pinpoint Background="Blue" BorderBrush="Blue" />

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 05 Jul 2012 Link to this post

    Hi Rahil,

    In the 2012.Q2 release we introduced a few breaking changes in the gauge control. We’ve added separate scale type for all semicircle and quadrant-style gauges. You can find description of changes here:

    For example, when you create North oriented quadrant gauge it is not enough to just create right type of the gauge control, but you must use the right type of the scale inside the container. I.e. instead of RadialScale you should use SemicircleNorthScale:

    <telerik:RadSemicircleNorthGauge MaxHeight="600"
        <telerik:SemicircleNorthScale RangeLocation="Inside" 
                <telerik:GaugeRange Min="0"
                <telerik:GaugeRange Min="40"
                <telerik:Needle Value="40"
                <telerik:Pinpoint Background="Blue"
                          BorderBrush="Blue" />

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top