Setting Minimum distorts the FeaturedMeasure bar

2 posts, 0 answers
  1. david mcintyre
    david mcintyre avatar
    31 posts
    Member since:
    Mar 2010

    Posted 17 Nov 2010 Link to this post

    <telerikGridView:GridViewDataColumn  Width="250" EditTriggers="None" HeaderTextAlignment="Center"  >
                                <Grid Width="250" >
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                                        <TextBlock Text="{Binding ApplicationStrings.CurrentSuggested, Source={StaticResource ResourceWrapper}}"  />
                                        <TextBlock Text="{Binding ApplicationStrings.Suggested, Source={StaticResource ResourceWrapper}}" Foreground="Red" />
                                    <telerikpresentation:RadHorizontalBulletGraph Width="150" Height="20" Minimum=".8" Maximum="1" QuantitativeScaleVisibility="Collapsed" ComparativeMeasure="{Binding ServiceLevelRecommended}" ComparativeMeasureBrush="Red" FeaturedMeasure="{Binding ServiceLevelCurrent}" 
                                            <telerikpresentation:QualitativeRange Brush="Orange" Value=".85" />
                                            <telerikpresentation:QualitativeRange Brush="Aqua" Value=".9" />
                                            <telerikpresentation:QualitativeRange Brush="LightGreen" Value="1"/>                                        

    In the bullet graph demos, the FeaturedMeasure property is displayed as a "progress bar" that stretches from the lower limit until the bound FeatureMeasure value.  This is how i want my own control to look.  All of the displayed values will be between 80 and 100%, so I want to only display the latter range in order to amplify the differences.  However, if I set Minimum (.8 in this case) the look of the FeaturedMeasure changes from being a progress bar to a tiny oval.  I can't find any property or template to override this behavior.  Is this the intended behavior of the control? 
  2. Yavor
    Yavor avatar
    401 posts

    Posted 18 Nov 2010 Link to this post

    Hi David,

    This behavior is normal as it is dictated from the design specifications of the control. The featured measure is displayed like a bar only when the zero is contained within the range. In your case your range starts at 80% and that's why the featured measure cannot be displayed as a bar, but rather as an ellipse for easy visual representation. Please take a look at the Bullet graph product page and the Bullet graph design specification.

    Kind regards,
    Yavor Ivanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top