BulletGraph Example Not Working

3 posts, 0 answers
  1. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 27 Apr 2012 Link to this post

    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?
  2. Yavor
    Yavor avatar
    401 posts

    Posted 02 May 2012 Link to this post

    Hi Barry,

    I suppose the problems you are having are caused by using a newer template for the bulletgraph with older binaries. If you want to style your bulletgraph to look like in this demo you can use this template:

    <ControlTemplate x:Key="RadHorizontalBulletGraphStyle" TargetType="telerik:RadHorizontalBulletGraph">
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="0">
                    <telerik:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}"/>
                            <Style TargetType="telerik:BarItem">
                                <Setter Property="LengthPercent" Value="1" />
                            <RowDefinition Height="5*" />
                            <RowDefinition Height="*" />
                        <telerik:FeaturedMeasurePresenter Grid.Row="0" ChildrenSource="{TemplateBinding FeaturedMeasures}" Background="#FF333333" />
                        <telerik:ProjectedMeasurePresenter Grid.Row="1" Margin="0,1,0,0" ChildrenSource="{TemplateBinding ProjectedMeasures}" />
                    <telerik:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}"/>
            <telerik:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Opacity="0.6" RenderTransformOrigin="0.5,0.5" >
                    <TranslateTransform Y="10"/>

    Hope this helps!

    the Telerik team

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

  3. DevCraft R3 2016 release webinar banner
  4. Amura
    Amura avatar
    1 posts
    Member since:
    May 2012

    Posted 26 May 2012 Link to this post

    this is so true.
Back to Top