Telerik Forums
UI for Silverlight Forum
3 answers
28 views
There is no scale if i put a bulletgraph into a Tile.
Outside of the TileList it works fine.. what to do?
CHRISTIAN
Top achievements
Rank 1
 answered on 20 Jan 2015
1 answer
39 views
I'm working with a RadHorizontalBulletGraph in Silverlight.  Currently the control appears as in the picture below.  What I'm hoping to do, however, is to take those qualitative range brushes and actually apply them to the bar itself.  That way, one would see the bar as green for most of the way, then become yellow as it neared the maximum, and then red once it hit the max.  Ultimately, the bar itself would display the quality colors instead of seeing a black bar climbing through colored backgrounds.

Is this possible with the bullet graph?  The example here displays almost what I want.  Once the bar passes the 50 mark, it changes colors to become a lighter grey.  All I want is to figure out how this was done and apply it to my situation.  I've included the picture from the example.

Also, here is my code creating the bullet graph (please note I'm doing this programmatically, so please respond with a solution that can be done in the code if possible):

RadHorizontalBulletGraph bulletGraph = new RadHorizontalBulletGraph();
 
bulletGraph.Height = 20;
bulletGraph.Margin = new Thickness(10,5,10,5);
if (viewCol.Width > 0)
  bulletGraph.Width = viewCol.Width;
 
bulletGraph.Minimum = viewCol.BGMinValue;
bulletGraph.Maximum = viewCol.BGMaxValue;
 
string displayValue = GetDisplayVal(dataItem);
bulletGraph.FeaturedMeasure = S.ToDouble(displayValue);
             
bulletGraph.QuantitativeScaleVisibility = viewCol.BGShowLabels ? Visibility.Visible : Visibility.Collapsed;
 
QualitativeRange range1 = new QualitativeRange();
range1.Value = viewCol.BGRange1;
range1.Brush = new SolidColorBrush(S.ColorFromInt(viewCol.BGRange1Color));
bulletGraph.QualitativeRanges.Add(range1);
 
QualitativeRange range2 = new QualitativeRange();
range2.Value = viewCol.BGRange2;
range2.Brush = new SolidColorBrush(S.ColorFromInt(viewCol.BGRange2Color));
bulletGraph.QualitativeRanges.Add(range2);
 
QualitativeRange range3 = new QualitativeRange();
range3.Value = viewCol.BGRange3;
range3.Brush = new SolidColorBrush(S.ColorFromInt(viewCol.BGRange3Color));
bulletGraph.QualitativeRanges.Add(range3);
Petar Kirov
Telerik team
 answered on 10 Sep 2013
1 answer
29 views
Take a look at the attached picture.  You can see that the scale bars do not exactly line up with the edges of the bulletgraph.  I know it's a small thing.  It seems to appear at both ends of the graph.  My guess is there's some sort of pixel division that doesn't round nicely when drawing the scale.
Missing User
 answered on 06 May 2013
1 answer
30 views

How many apps can i have on a 16GB ipod touch?

I have a 16GB ipod touch (non-jailbroken) and i am wondering how many apps it can hold?
































------------------------------------------
ipad 2 Cable
ipad 2 Sleeve ipad2 smart covers


Rob
Top achievements
Rank 1
 answered on 01 May 2013
1 answer
28 views
I Use latest Version control.
that property set Bold Font is not latest Version.

What is Property Replaced?

Thank you.
<Style x:Key="RadHorizontalBulletGraphStyle" TargetType="telerik:RadHorizontalBulletGraph">  
  <Setter Property="ComparativeMeasureThickness" Value="2"/>  
  <Setter Property="FontSize" Value="10"/>
  <Setter Property="Template">
   <Setter.Value>
    <ControlTemplate TargetType="telerik:RadHorizontalBulletGraph">
     <Grid>
      <Grid.RowDefinitions>
       <RowDefinition Height="*"/>
       <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="0">
                            <Grid>
                                <telerik:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}"/>
                                <telerik:PositioningIndicatorPanel x:Name="PART_AxisPanel"/>
                                <Grid>
                                    <Grid.Resources>
                                        <Style TargetType="telerik:BarItem">
                                            <Setter Property="LengthPercent" Value="1" />
                                        </Style>
                                    </Grid.Resources>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="3*" />
                                        <RowDefinition Height="1.5*" />
                                    </Grid.RowDefinitions>
                                    <telerik:FeaturedMeasurePresenter Grid.Row="0" ChildrenSource="{TemplateBinding FeaturedMeasures}"/>
                                    <telerik:ProjectedMeasurePresenter Grid.Row="1" Margin="0,1,0,0" ChildrenSource="{TemplateBinding ProjectedMeasures}"/> --> Error, here property Is not in Class

                                    
                                </Grid>
                                <telerik:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}"/>
                            </Grid>
                        </Border>
                        <telerik:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Opacity="0.6" RenderTransformOrigin="0.5,0.5" >
       <telerik:QuantitativeScaleContainer.RenderTransform>
        <CompositeTransform TranslateY="10"/>
       </telerik:QuantitativeScaleContainer.RenderTransform>
      </telerik:QuantitativeScaleContainer>
     </Grid>
    </ControlTemplate>
   </Setter.Value>
  </Setter>
 </Style>
Rosko
Telerik team
 answered on 31 Jul 2012
2 answers
69 views
I'm trying to duplicate the bulletgraph example that I see on your demos, but when I copy the style for the bulletgraph it tells me that the property 'content' is not found on type 'FeaturedMeasurePresenter' and that 'Range' was not found in type 'ComparativeMeasuresContainer' and 'QualitiveScaleContainer' and 'QualitiveRangeContainer'....

I am using 2011.3.1220.1040 (can't upgrade any further).

I've tried messing with the references, but having no luck. I have Telerik.Windows.Controls, Telerik.Windows.Datavisualization... do I need something else?
Amura
Top achievements
Rank 1
 answered on 26 May 2012
3 answers
47 views
Can someone please help me to understand how the data is been formed for this perticular bulletgraph chart?
http://demos.telerik.com/silverlight/#BulletGraph/FirstLook
Yavor
Telerik team
 answered on 04 Nov 2011
1 answer
66 views
The attached image shows a RadBulletGraph with the border thickness set to 1.

As you can see there is an excess of white space between the right hand qualitative range and the right hand vertical border.
I have been unable to configure the properties so that the border wraps only the colored area of the bullet graph.

Can someone please provide some guidance as to how I may render a radbulletgraph so I'm not seeing the white space?

Thanks.
Yavor
Telerik team
 answered on 21 Sep 2011
2 answers
46 views
Is it possible to show a custom marker for either the comparative or featured measurements or both?

The attached image shows how I would like to show a custom marker.

Is this possible?

Thanks.
Pete
Top achievements
Rank 1
 answered on 16 Sep 2011
1 answer
44 views
I am assuming the the 'quality' brushes in the HorizontalBulletGraph are meant to show different colors in the graph to indicate whether the actual number in the acceptable range.  I have set the colors for :

QualityGoodBrush
QualityPoorBrush
QualitySatisfactoryBrush

But despite setting these values the graph does not look any different.

How do you get these colors to show up on the graph?

Thanks very much for your help!

PatC
Evgenia
Telerik team
 answered on 14 Sep 2011
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?