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

Setting Minimum distorts the FeaturedMeasure bar

1 Answer 74 Views
BulletGraph
This is a migrated thread and some comments may be shown as answers.
david mcintyre
Top achievements
Rank 1
david mcintyre asked on 18 Nov 2010, 12:00 AM
<telerikGridView:GridViewDataColumn  Width="250" EditTriggers="None" HeaderTextAlignment="Center"  >
                        <telerikGridView:GridViewDataColumn.Header>
                            <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" />
                                </StackPanel>
                            </Grid>
                        </telerikGridView:GridViewDataColumn.Header>
                        <telerikGridView:GridViewDataColumn.CellTemplate>
                            <DataTemplate
                                <telerikpresentation:RadHorizontalBulletGraph Width="150" Height="20" Minimum=".8" Maximum="1" QuantitativeScaleVisibility="Collapsed" ComparativeMeasure="{Binding ServiceLevelRecommended}" ComparativeMeasureBrush="Red" FeaturedMeasure="{Binding ServiceLevelCurrent}" 
                                 
                                <telerikpresentation:RadHorizontalBulletGraph.QualitativeRanges>
                                        <telerikpresentation:QualitativeRange Brush="Orange" Value=".85" />
                                        <telerikpresentation:QualitativeRange Brush="Aqua" Value=".9" />
                                        <telerikpresentation:QualitativeRange Brush="LightGreen" Value="1"/>                                        
                                    </telerikpresentation:RadHorizontalBulletGraph.QualitativeRanges
                                </telerikpresentation:RadHorizontalBulletGraph>
                            </DataTemplate>
                        </telerikGridView:GridViewDataColumn.CellTemplate>
                    </telerikGridView:GridViewDataColumn>

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? 

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 18 Nov 2010, 10:40 AM
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
Tags
BulletGraph
Asked by
david mcintyre
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or