New to Telerik UI for WinUI? Download free 30-day trial

Getting Started with WinUI BulletGraph

This guide provides the information you need to start using the Telerik UI for WinUI BulletGraph by adding the component to your project.

At the end, you will be able to achieve the following result.

WinUI RadBulletGraph RadBulletGraph-Getting Started

Prerequisites

Before adding the BulletGraph, you need to:

  1. Set up your WinUI project.

  2. Create your Telerik UI for WinUI application and install the Telerik UI for WinUI components depending on the required installation approach:

Add the Assembly References

To use the RadBulletGraph components, add references to the following assemblies:

  • Telerik.WinUI.Controls.dll
  • Telerik.WinUI.Controls.DataVisualization.dll

Define the Component

The following example demonstrates how to define a RadBulletGraph control and set its StartValue and EndValue properties.

Create the BulletGraph

<Grid xmlns:dataVisualization="using:Telerik.UI.Xaml.Controls.DataVisualization"> 
    <dataVisualization:RadBulletGraph Height="50" Width="300" StartValue="0" EndValue="100" /> 
</Grid> 
The following image shows the created BulletGraph.

WinUI RadBulletGraph RadBulletGraph-Getting Started

Set the Orientation

You can now show a vertical graph by setting the Orientation property to Vertical.

Set the BulletGraph Orientation

<Grid xmlns:dataVisualization="using:Telerik.UI.Xaml.Controls.DataVisualization"> 
    <dataVisualization:RadBulletGraph Height="300" Width="50" StartValue="0" EndValue="100" Orientation="Vertical"/> 
</Grid> 
The following image shows a vertical BulletGraph.

WinUI RadBulletGraph RadBulletGraph-Getting Started

Telerik UI for WinUI Learning Resources

See Also

In this article
Not finding the help you need?