We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to refresh UWP BulletGraph with dynamic data

Platform: UWP |
Control: SfBulletGraph |
Published Date: December 11, 2018 |
Last Revised Date: June 23, 2021
Tags: bulletgraph

You can dynamically add the bullet graph ranges and feature measure values. Initially, the bullet graph and its ranges alone can be initialized and ranges value (RangeEnd) and FeatureMeasureValue can be set dynamically. 

Initializing Qualitative ranges:

                    <syncfusion4:QualitativeRange x:Name="HorizontalRange1"   RangeStroke="#61A301"></syncfusion4:QualitativeRange>
                    <syncfusion4:QualitativeRange  x:Name="HorizontalRange2"   RangeStroke="#FCDA21"></syncfusion4:QualitativeRange>
                    <syncfusion4:QualitativeRange  x:Name="HorizontalRange3"  RangeStroke="#D61E40" ></syncfusion4:QualitativeRange>


Dynamically (e.g., via Button click) adding values to the ranges:

HorizontalRange1.RangeEnd = range;
                HorizontalRange2.RangeEnd = Math.Round(range * 2);
                HorizontalRange3.RangeEnd = Math.Round(range * 3);


On initializing alone, the bullet graph will appear as shown in the following screenshot.

Bullet Graph


After adding ranges and feature measure value, the bullet graph will appear shown in the following screenshot:

Bullet Graph Ranges

Sample for updating the ranges and feature measure for bullet graph dynamically: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BulletgraphUWP-996984154

2X faster development

The ultimate UWP UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile