Telerik Forums
UI for WPF Forum
1 answer
136 views

My license version is 2018.2.620.45

I can't use RadHorizontalBulletGraph control even if I add reference Telerik.Windows.Controls.DataVisualization.

There is an error ''QualitativeRanges' property does not support the value of the 'QualitativeRange' format.'

 

I can't use that control even if drag and drop.

If i delete 'QualitativeRanges' property, I can't see that control.

So, what should i do?

Martin Ivanov
Telerik team
 answered on 24 Jul 2018
2 answers
158 views

Hi,

I'd like to know if it is possible to customize some aspects of the BulletGraph control:

1. When I set the value of Minimum property to a value higher than zero, an oval is shown instead of the bar for the FeaturedMeasure, is it possible to show the bar even when the Minimum property value is higher than zero?

2. Is it possible to hide the axis of values?

3. Is it possible to change the width of the FeaturedMeasure bar? I am using a  RadVerticalBulletGraph.

 

Thanks,

Alberto Martinez

Amige
Top achievements
Rank 1
Veteran
 answered on 18 Mar 2016
1 answer
156 views
Hello ,

I have a cluster Bar series with 2 clusters or may 3 clusters. Now I want one more reference line, like we have on the bullet chart on these clustered bar series. Is it possible in telerik? . I think its combining the cluster bar series feature and reference line feature of bullet chart. 

Please see the attachment of the kind of graph I am expecting. 
Petar Marchev
Telerik team
 answered on 30 Jun 2015
1 answer
160 views
Hi, I am new using Telerik controls and WPF, I saw the executive dashboard demo and I would like to create a chart like the one showing sales by product. I am reviewing the code but I don´t really understad it, I think the control that is used is a BulletGraph.

There is this Page where you can see how to create a BulletGraph, but I don't know how to show the lines for the actual value and the target value.

Does anyone have an example to achieve a chart like that one?

Thanks,

Alberto


Evgenia
Telerik team
 answered on 24 Sep 2013
1 answer
88 views
I know there is not direct support to allow dragging of the ComparitiveMeasure line in BulletGraph. However what I'd like to know if it is possible to do this via some kind of workaround?

Thanks,
Wouter
Evgenia
Telerik team
 answered on 29 Aug 2013
3 answers
159 views
Hello,
I am attempting to use a RadVerticalBulletGraph but there is a problem with the QualitativeRange object.I am attempting to implement a BulletGraph in an MVVM pattern such that the ViewModel only needs to provide the Value while the Brush is specified within the XAML (via styling). So my requiements are:

1. QualitativeRange Brush defined in XAML
2. QualitativeRange Value bound to a property on the ViewModel

Unfortunately this appears to be impossible. All working examples I've been able to find either create the QualitativeRange objects in code behind (unacceptable due to the color being defined in code) or have the value and brush hard coded (also unacceptable due to the binding requirement).

If anyone is able to provide an example that meets my two requirements I would be extremely grateful to see it. Thanks,
Jason
Jason
Top achievements
Rank 1
 answered on 23 May 2012
1 answer
219 views

I would like to add some static text to the Comparative Measure element.  I have re-templated the bullet graph, but my attempts to add the text does not seem to work.  I would like the text to float at the top right of the line.  Is this possible?

Here is my style template:

<Style x:Key="RadHorizontalBulletGraphStyle" TargetType="telerik:RadHorizontalBulletGraph">
    <Setter Property="ComparativeMeasureThickness" Value="1"/>
    <Setter Property="FontSize" Value="10"/>
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerik:RadHorizontalBulletGraph">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="5*"/>
                        <RowDefinition Height="5*"/>
                    </Grid.RowDefinitions>
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="White" Grid.Row="0">
                        <Grid>
                            <Grid>
                                <Grid.Resources>
                                    <Style TargetType="telerik:BarItem">
                                        <Setter Property="LengthPercent" Value="1" />
                                    </Style>
                                </Grid.Resources>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="5*" />
                                    <RowDefinition Height="5*" />
                                </Grid.RowDefinitions>
                                <telerik:FeaturedMeasurePresenter Grid.Row="0" Content="{TemplateBinding FeaturedMeasureInternal}" Margin="0,5" />
                                <telerik:FeaturedMeasurePresenter Grid.Row="1" Content="{TemplateBinding ProjectedMeasureInternal}" Margin="0,5"  />
                            </Grid>
                            <StackPanel HorizontalAlignment="Stretch">
                                <telerik:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}" Range="{TemplateBinding Range}" Margin="-15" />
                            </StackPanel>
                        </Grid>
                    </Border>
                    <telerik:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Opacity="0.5" RenderTransformOrigin="0.5,0.5" Range="{TemplateBinding Range}"  >
                        <telerik:QuantitativeScaleContainer.RenderTransform>
                            <TranslateTransform Y="5"/>
                        </telerik:QuantitativeScaleContainer.RenderTransform>
                    </telerik:QuantitativeScaleContainer>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
<SolidColorBrush x:Key="ActualBrush" Color="Green" />
<SolidColorBrush x:Key="TargetBrush" Color="Red" />

And here is my control definition:

<telerik:RadHorizontalBulletGraph TextFormatString="${0}"
                                  ProjectedValue="150"
                                  FeaturedMeasure="200"
                                  ComparativeMeasure="175"
                                  Height="100"
                                  Style="{StaticResource RadHorizontalBulletGraphStyle}"
                                  FeaturedMeasureBrush="{StaticResource ActualBrush}"
                                  ProjectedValueBrush="{StaticResource TargetBrush}"
                                  Step="200" />
Yavor
Telerik team
 answered on 26 Mar 2012
1 answer
208 views
Hi,

I'm using a TileView and have a RadHorizontalBulletGraph that I only display when the TileView item is in the maximized state. When I maximize an item, the bullet graph displays correctly, but when I go to minimize the item, I get a NullReferenceException. There's not much of a stack trace, but here it is:

   at System.Windows.StyleHelper.FindNameInTemplateContent(DependencyObject container, String childName, FrameworkTemplate frameworkTemplate)
   at System.Windows.TemplateNameScope.System.Windows.Markup.INameScope.FindName(String name)
   at System.Windows.FrameworkElement.FindName(String name)
   at Telerik.Windows.Controls.ChildrenOfTypeExtensions.GetChildByName(FrameworkElement element, String name) in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Core\Controls\Extensions\ChildrenOfTypeExtensions.cs:line 42
   at Telerik.Windows.Controls.BulletGraph.RadBulletGraphBase.ToggleAxis() in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Controls\DataVisualization\BulletGraph\Base\RadBulletGraphBase.cs:line 925
   at Telerik.Windows.Controls.BulletGraph.RadBulletGraphBase.SynchronizeFeaturedMeasures() in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Controls\DataVisualization

Here's a simplified version of my XAML. Any ideas?
<DataTemplate x:Key="MachineTileLarge">
<Grid>
    <Grid.RowDefinitions>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition/>
    </Grid.RowDefinitions>
    <telerik:RadHorizontalBulletGraph Grid.Row="1" Maximum="100"
        ComparativeMeasureBrush="CornflowerBlue" FeaturedMeasureBrush="SeaGreen"
        ComparativeMeasure="32" FeaturedMeasure="75" />
</Grid>
</DataTemplate>
<DataTemplate x:Key="MachineTemplate">
    <telerik:RadFluidContentControl ContentChangeMode="Manual" TransitionDuration="0:0:.5"
        State="{Binding State, Converter={StaticResource tileConverter}}"
        SmallContentTemplate="{StaticResource MachineTileSmall}"
        ContentTemplate="{StaticResource MachineTileNormal}"
        LargeContentTemplate="{StaticResource MachineTileLarge}" />
</DataTemplate>
 
<Style TargetType="telerik:RadTileView">
    <Setter Property="PreservePositionWhenMaximized" Value="True" />
    <Setter Property="telerik:TileViewPanel.IsVirtualized" Value="True" />
    <Setter Property="IsAutoScrollingEnabled" Value="True" />
    <Setter Property="TileStateChangeTrigger" Value="SingleClick" />
    <Setter Property="MinimizedColumnWidth" Value="200" />
    <Setter Property="MinimizedRowHeight" Value="225" />
    <Setter Property="RowHeight" Value="330" />
    <Setter Property="ColumnWidth" Value="290" />
    <Setter Property="ContentTemplate" Value="{StaticResource MachineTemplate}" />
    <Setter Property="ItemTemplate" Value="{StaticResource MachineTileHeader}" />
</Style>
 
<telerik:RadTileView ItemsSource="{Binding Path=MachineStatusItems}"                                    
     TileStateChanged="tileView_TileStateChanged"
     TileStateChangeTrigger="SingleClick"
     MaximizeMode="ZeroOrOne"
     IsItemDraggingEnabled="True"
     PreservePositionWhenMaximized="True"/>
Yavor
Telerik team
 answered on 11 Oct 2011
2 answers
145 views
Hi,

Is it possible to modify the appearance of the BulletGraph QualitativeRanges and/or FeaturedMeasure?
I would like to add gradient shading.

  • WPF version:  3.0.6920.4902
            (as per http://msdn.microsoft.com/en-us/library/aa349641.aspx)
  • OS:  Windows 7 Enterprise 64-bit
  • exact browser version:  IE9 v9.0.8112.16421
  • exact version of the Telerik product:  RadControls for WPF v2011.1.419.40
  • preferred programming language (VB.NET or C#):  C#


  • Thank you,
    - Martin
    Martin
    Top achievements
    Rank 1
     answered on 21 May 2011
    4 answers
    225 views
    Hello,

    in my scenario i try to visualize the variance of a production cyle within a radgridview. For this i want to show a warning/error range.

    <telerik:RadHorizontalBulletGraph Width="150" Height="20"
                                      QuantitativeScaleVisibility="Collapsed"
                                      FlowDirection="LeftToRight"
                                      FeaturedMeasure="{Binding Input0TimeLast}"
                                      ComparativeMeasure="{Binding Auftrag.ZyklusIstSoll}">
         
        <telerik:RadHorizontalBulletGraph.QualitativeRanges>
            <telerik:QualitativeRange Brush="Red" Value="{Binding ZyklusErrorBound}" />
            <telerik:QualitativeRange Brush="Yellow" Value="{Binding ZyklusWarningBound}" />
            <telerik:QualitativeRange Brush="Green" Value="{Binding ZyklusOkBound" />
        </telerik:RadHorizontalBulletGraph.QualitativeRanges>
    </telerik:RadHorizontalBulletGraph>

    public int ZyklusErrorBound
    {
        get
        {
            var x = this.Auftrag.ZyklusIstSoll - this.Auftrag.ZyklusIstToleranz;
             
            return x;
        }
    }
    public int ZyklusWarningBound
    {
        get
        {
            var x = this.Auftrag.ZyklusIstSoll - (this.Auftrag.ZyklusIstToleranz / 2);
             
            return x;
        }
    }


    When i bind the three QualitativeRange`s i get a exception "Sequence contains no elements". If i set instead of ZyklusOkBound a fixed value for example, no exceptions is thrown. But the two other values are not called from my Itemssource (i´ve checked that by setting a breakpoint on my getters). Instead of a message shows up in my console:

    System.Windows.Data Error: 2 : Cannot find govening FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=ZyklusWarningBound; DataItem=null; target element is 'QualitativeRange' (HashCode=7579691); target property is 'Value' (type 'Double')
    System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=ZyklusErrorBound; DataItem=null; target element is 'QualitativeRange' (HashCode=7579691); target property is 'Value' (type 'Double')

    What is absolutely remarkable, if i bind ZyklusErrorBound or ZyklusWarningBound to FeaturedMeasure the value is retrieved..

    Thanks in advance for your help.
    Yavor
    Telerik team
     answered on 02 Feb 2011
    Narrow your results
    Selected tags
    Tags
    GridView
    General Discussions
    Chart
    RichTextBox
    Docking
    ScheduleView
    ChartView
    TreeView
    Diagram
    Map
    ComboBox
    TreeListView
    Window
    RibbonView and RibbonWindow
    PropertyGrid
    DragAndDrop
    TabControl
    TileView
    Carousel
    DataForm
    PDFViewer
    MaskedInput (Numeric, DateTime, Text, Currency)
    AutoCompleteBox
    DatePicker
    Buttons
    ListBox
    GanttView
    PivotGrid
    Spreadsheet
    Gauges
    NumericUpDown
    PanelBar
    DateTimePicker
    DataFilter
    Menu
    ContextMenu
    TimeLine
    Calendar
    Installer and Visual Studio Extensions
    ImageEditor
    BusyIndicator
    Expander
    Slider
    TileList
    DataPager
    PersistenceFramework
    Styling
    TimeBar
    OutlookBar
    TransitionControl
    FileDialogs
    Book
    ToolBar
    ColorPicker
    TimePicker
    MultiColumnComboBox
    SyntaxEditor
    VirtualGrid
    NavigationView (Hamburger Menu)
    Wizard
    ExpressionEditor
    WatermarkTextBox
    DesktopAlert
    BarCode
    SpellChecker
    DataServiceDataSource
    EntityFrameworkDataSource
    RadialMenu
    ChartView3D
    Data Virtualization
    BreadCrumb
    LayoutControl
    ProgressBar
    Sparkline
    TabbedWindow
    ToolTip
    CloudUpload
    ColorEditor
    TreeMap and PivotMap
    EntityFrameworkCoreDataSource (.Net Core)
    HeatMap
    Chat (Conversational UI)
    VirtualizingWrapPanel
    Calculator
    NotifyIcon
    TaskBoard
    TimeSpanPicker
    Licensing
    WebCam
    CardView
    DataBar
    FilePathPicker
    Callout
    PasswordBox
    SplashScreen
    Localization
    Rating
    Accessibility
    CollectionNavigator
    AutoSuggestBox
    Security
    VirtualKeyboard
    HighlightTextBlock
    TouchManager
    StepProgressBar
    Badge
    OfficeNavigationBar
    ExpressionParser
    CircularProgressBar
    SvgImage
    PipsPager
    SlideView
    AI Coding Assistant
    InlineAIAssistant
    +? more
    Top users last month
    Tien
    Top achievements
    Rank 1
    Iron
    Krasimir
    Top achievements
    Rank 3
    Bronze
    Iron
    Iron
    Cedar
    Top achievements
    Rank 1
    Iron
    Emil
    Top achievements
    Rank 1
    Iron
    Kyle Watson
    Top achievements
    Rank 1
    Iron
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Tien
    Top achievements
    Rank 1
    Iron
    Krasimir
    Top achievements
    Rank 3
    Bronze
    Iron
    Iron
    Cedar
    Top achievements
    Rank 1
    Iron
    Emil
    Top achievements
    Rank 1
    Iron
    Kyle Watson
    Top achievements
    Rank 1
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?