menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfBulletGraph - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfBulletGraph

    Represents the bullet graph. To render this, create an instance of the SfBulletGraph class, and set required properties.

    Inheritance
    System.Object
    SfBulletGraph
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.BulletGraph
    Assembly: Syncfusion.SfBulletGraph.WPF.dll
    Syntax
    public class SfBulletGraph : Control, IDisposable

    Constructors

    SfBulletGraph()

    Initializes a new instance of the SfBulletGraph class.

    Declaration
    public SfBulletGraph()

    Fields

    BindRangeStrokeToLabelsProperty

    Using a DependencyProperty as the backing store for BindRangeStrokeToLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty BindRangeStrokeToLabelsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    BindRangeStrokeToTicksProperty

    Using a DependencyProperty as the backing store for BindRangeStrokeToTicks. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty BindRangeStrokeToTicksProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    CaptionPositionProperty

    Using a DependencyProperty as the backing store for CaptionPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty CaptionPositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    CaptionProperty

    Using a DependencyProperty as the backing store for Caption. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty CaptionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ComparativeMeasureProperty

    Using a DependencyProperty as the backing store for ComparativeMeasure. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ComparativeMeasureProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ComparativeMeasureSymbolStrokeProperty

    Using a DependencyProperty as the backing store for ComparativeMeasureSymbolStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ComparativeMeasureSymbolStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ComparativeMeasureSymbolStrokeThicknessProperty

    Using a DependencyProperty as the backing store for ComparativeMeasureSymbolStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ComparativeMeasureSymbolStrokeThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ComparativeMeasureToolTipTemplateProperty

    Using a DependencyProperty as the backing store for ComparativeMeasureToolTipTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ComparativeMeasureToolTipTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    EnableAnimationProperty

    Using a DependencyProperty as the backing store for EnableAnimation. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty EnableAnimationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FeaturedMeasureBarStrokeProperty

    Using a DependencyProperty as the backing store for FeaturedMeasureBarStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FeaturedMeasureBarStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FeaturedMeasureBarStrokeThicknessProperty

    Using a DependencyProperty as the backing store for FeaturedMeasureBarStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FeaturedMeasureBarStrokeThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FeaturedMeasureProperty

    Using a DependencyProperty as the backing store for FeaturedMeasure. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FeaturedMeasureProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FeaturedMeasureToolTipTemplateProperty

    Using a DependencyProperty as the backing store for FeaturedMeasureToolTipTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FeaturedMeasureToolTipTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IntervalProperty

    Using a DependencyProperty as the backing store for Interval. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IntervalProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelFormatProperty

    Using a DependencyProperty as the backing store for LabelFormat. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelFormatProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelOffsetProperty

    Using a DependencyProperty as the backing store for LabelOffset. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelOffsetProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelPositionProperty

    Using a DependencyProperty as the backing store for LabelPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelPositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelSizeProperty

    Using a DependencyProperty as the backing store for LabelSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelStrokeProperty

    Using a DependencyProperty as the backing store for LabelStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LabelTemplateProperty

    Using a DependencyProperty as the backing store for LabelTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MajorTickSizeProperty

    Using a DependencyProperty as the backing store for MajorTickSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MajorTickSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MajorTickStrokeProperty

    Using a DependencyProperty as the backing store for MajorTickStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MajorTickStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MajorTickStrokeThicknessProperty

    Using a DependencyProperty as the backing store for MajorTickStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MajorTickStrokeThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MaximumProperty

    Using a DependencyProperty as the backing store for Maximum. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MaximumProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinimumProperty

    Using a DependencyProperty as the backing store for Minimum. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinimumProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinorTickSizeProperty

    Using a DependencyProperty as the backing store for MinorTickSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinorTickSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinorTicksPerIntervalProperty

    Using a DependencyProperty as the backing store for MinorTicksPerInterval. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinorTicksPerIntervalProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinorTickStrokeProperty

    Using a DependencyProperty as the backing store for MinorTickStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinorTickStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinorTickStrokeThicknessProperty

    Using a DependencyProperty as the backing store for MinorTickStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinorTickStrokeThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OrientationProperty

    Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty OrientationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    QualitativeRangesProperty

    Using a DependencyProperty as the backing store for QualitativeRanges. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty QualitativeRangesProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    QualitativeRangesSizeProperty

    Using a DependencyProperty as the backing store for QualitativeRangesSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty QualitativeRangesSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    QualitativeRangeToolTipTemplateProperty

    Using a DependencyProperty as the backing store for QualitativeRangeToolTipTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty QualitativeRangeToolTipTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    QuantitativeScaleLengthProperty

    Using a DependencyProperty as the backing store for QuantitativeScaleLength. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty QuantitativeScaleLengthProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowToolTipProperty

    Using a DependencyProperty as the backing store for ShowToolTip. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowToolTipProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TickPositionProperty

    Using a DependencyProperty as the backing store for TickPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TickPositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    BindRangeStrokeToLabels

    Gets or sets a value indicating whether the color of labels should be similar to the color of ranges.

    Declaration
    public bool BindRangeStrokeToLabels { get; set; }
    Property Value
    Type
    System.Boolean
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.BindRangeStrokeToLabels = true; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    BindRangeStrokeToTicks

    Gets or sets a value indicating whether the color of ticks should be similar to the color of ranges.

    Declaration
    public bool BindRangeStrokeToTicks { get; set; }
    Property Value
    Type
    System.Boolean
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.BindRangeStrokeToTicks = true; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Caption

    Gets or sets the caption of the bullet graph.

    Declaration
    public object Caption { get; set; }
    Property Value
    Type
    System.Object
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Caption = "CIT Revenue YTD"; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    CaptionPosition

    Gets or sets the position for caption of the bullet graph.

    Declaration
    public BulletGraphCaptionPosition CaptionPosition { get; set; }
    Property Value
    Type
    BulletGraphCaptionPosition
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Caption = "CIT Revenue YTD"; bulletGraph.CaptionPosition = BulletGraphCaptionPosition.Far; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    ComparativeMeasure

    Gets or sets the value of the comparative measure.

    Declaration
    public double ComparativeMeasure { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ComparativeMeasure = 80; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    ComparativeMeasureSymbolStroke

    Gets or sets the color for the symbol that represents comparative measure.

    Declaration
    public Brush ComparativeMeasureSymbolStroke { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ComparativeMeasure = 80; bulletGraph.ComparativeMeasureSymbolStroke = new SolidColorBrush(Colors.DarkKhaki); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    ComparativeMeasureSymbolStrokeThickness

    Gets or sets the thickness for the symbol that represents comparative measure.

    Declaration
    public double ComparativeMeasureSymbolStrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ComparativeMeasure = 80; bulletGraph.ComparativeMeasureSymbolStrokeThickness = 20; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    ComparativeMeasureToolTipTemplate

    Gets or sets a template to customize the tooltip of comparative measure.

    Declaration
    public DataTemplate ComparativeMeasureToolTipTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate
    Remarks

    ShowToolTip of bullet graph should be enabled to view the tooltip of comparative measure.

    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ShowToolTip = true; bulletGraph.ComparativeMeasureToolTipTemplate = this.Resources["ComparativeMeasureToolTipTemplate"] as DataTemplate; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    EnableAnimation

    Gets or sets a value indicating whether the animation for indicating measures should be enabled or not.

    Declaration
    public bool EnableAnimation { get; set; }
    Property Value
    Type
    System.Boolean
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.EnableAnimation = true; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    FeaturedMeasure

    Gets or sets the value of of the featured measure.

    Declaration
    public double FeaturedMeasure { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.FeaturedMeasure = 52; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    FeaturedMeasureBarStroke

    Gets or sets the color of the bar that represents featured measure.

    Declaration
    public Brush FeaturedMeasureBarStroke { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.FeaturedMeasure = 52; bulletGraph.FeaturedMeasureBarStroke = new SolidColorBrush(Colors.DarkGray); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    FeaturedMeasureBarStrokeThickness

    Gets or sets the thickness of the bar that represents featured measure.

    Declaration
    public double FeaturedMeasureBarStrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.FeaturedMeasure = 52; bulletGraph.FeaturedMeasureBarStrokeThickness = 50; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    FeaturedMeasureToolTipTemplate

    Gets or sets a template to customize the tooltip of Featured measure.

    Declaration
    public DataTemplate FeaturedMeasureToolTipTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate
    Remarks

    ShowToolTip of bullet graph should be enabled to view the tooltip of featured measure.

    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ShowToolTip = true; bulletGraph.FeaturedMeasureToolTipTemplate = this.Resources["FeaturedMeasureToolTipTemplate"] as DataTemplate; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Interval

    Gets or sets the interval for ticks in the quantitative scale.

    Declaration
    public double Interval { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Interval = 10; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelFormat

    Gets or sets the format for labels in the quantitative scale.

    Declaration
    public string LabelFormat { get; set; }
    Property Value
    Type
    System.String
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelFormat = "0,.0 K"; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelOffset

    Gets or sets the offset value that maintain space between ticks and labels.

    Declaration
    public double LabelOffset { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelOffset = 5; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelPosition

    Gets or sets the position of labels in the quantitative scale.

    Declaration
    public BulletGraphLabelsPosition LabelPosition { get; set; }
    Property Value
    Type
    BulletGraphLabelsPosition
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelPosition = BulletGraphLabelsPosition.Above; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelSize

    Gets or sets the font size of labels in the quantitative scale.

    Declaration
    public double LabelSize { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelSize = 12; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelStroke

    Gets or sets the color of labels in the quantitative scale.

    Declaration
    public Brush LabelStroke { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelStroke = new SolidColorBrush(Colors.Wheat); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    LabelTemplate

    Gets or sets a template for customizing the bullet graph labels.

    Declaration
    public DataTemplate LabelTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.LabelTemplate = this.Resources["LabelTemplate"] as DataTemplate; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MajorTickSize

    Gets or sets the length of the major ticks in the quantitative scale.

    Declaration
    public double MajorTickSize { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MajorTickSize = 10; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MajorTickStroke

    Gets or sets the color of the major ticks in the quantitative scale.

    Declaration
    public Brush MajorTickStroke { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MajorTickStroke = new SolidColorBrush(Colors.White); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MajorTickStrokeThickness

    Gets or sets the thickness of the major ticks in the quantitative scale.

    Declaration
    public double MajorTickStrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MajorTickStrokeThickness = 2; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Maximum

    Gets or sets the maximum value of the quantitative scale.

    Declaration
    public double Maximum { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Maximum = 90; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Minimum

    Gets or sets the minimum value of the quantitative scale.

    Declaration
    public double Minimum { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Minimum = 10; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MinorTickSize

    Gets or sets the length of the minor ticks in the quantitative scale.

    Declaration
    public double MinorTickSize { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MinorTickSize = 6; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MinorTicksPerInterval

    Gets or sets the number of minor ticks that has to be placed in-between the major ticks in the quantitative scale.

    Declaration
    public int MinorTicksPerInterval { get; set; }
    Property Value
    Type
    System.Int32
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MinorTicksPerInterval = 2; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MinorTickStroke

    Gets or sets the color of the minor ticks in the quantitative scale.

    Declaration
    public Brush MinorTickStroke { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MinorTickStroke = new SolidColorBrush(Colors.WhiteSmoke); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    MinorTickStrokeThickness

    Gets or sets the thickness of the minor ticks in the quantitative scale.

    Declaration
    public double MinorTickStrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.MinorTickStrokeThickness = 1; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Orientation

    Gets or sets the orientation of the bullet graph.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type
    System.Windows.Controls.Orientation
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.Orientation = Orientation.Horizontal; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    QualitativeRanges

    Gets or sets the collection of qualitative ranges for the bullet graph.

    Declaration
    public QualitativeRangeCollection QualitativeRanges { get; set; }
    Property Value
    Type
    QualitativeRangeCollection
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    QualitativeRangesSize

    Gets or sets the size of the qualitative ranges in the bullet graph.

    Declaration
    public double QualitativeRangesSize { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    QualitativeRangeToolTipTemplate

    Gets or sets a template to customize the tooltip of comparative measure.

    Declaration
    public DataTemplate QualitativeRangeToolTipTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate
    Remarks

    ShowToolTip of bullet graph should be enabled to view the tooltip of qualitative ranges.

    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ShowToolTip = true; bulletGraph.QualitativeRangeToolTipTemplate = this.Resources["QualitativeRangeToolTipTemplate"] as DataTemplate; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    QuantitativeScaleLength

    Gets or sets the length of the length of the quantitative scale in the bullet graph.

    Declaration
    public double QuantitativeScaleLength { get; set; }
    Property Value
    Type
    System.Double
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QuantitativeScaleLength = 400; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    ShowToolTip

    Gets or sets a value indicating whether the tooltip should be shown.

    Declaration
    public bool ShowToolTip { get; set; }
    Property Value
    Type
    System.Boolean
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.ShowToolTip = true; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    TickPosition

    Gets or sets the position of ticks in the quantitative scale.

    Declaration
    public BulletGraphTicksPosition TickPosition { get; set; }
    Property Value
    Type
    BulletGraphTicksPosition
    Examples

    using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.TickPosition = BulletGraphTicksPosition.Cross; bulletGraph.QualitativeRanges = new QualitativeRangeCollection(); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 30, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 60, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Green) }); bulletGraph.QualitativeRanges.Add(new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Blue) }); Layout.Children.Add(bulletGraph); } } }

    Methods

    Dispose()

    Method to release allocated resources of bullet graph.

    Declaration
    public void Dispose()

    MeasureOverride(Size)

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize
    Returns
    Type
    System.Windows.Size

    OnApplyTemplate()

    Method gets called when the default style key template is applied.

    Declaration
    public override void OnApplyTemplate()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved