This is a migrated thread and some comments may be shown as answers.

Customizing BulletGraph

2 Answers 85 Views
BulletGraph
This is a migrated thread and some comments may be shown as answers.
Amige
Top achievements
Rank 1
Veteran
Amige asked on 15 Mar 2016, 11:27 PM

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

2 Answers, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 18 Mar 2016, 12:16 PM
Hi Alberto,

Let me get straight to your questions.

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? - This behavior is expected by design. There is an exception when the quantitative scale begins at a value greater than zero. In such a case, the featured measure should be encoded as a symbol different symbol. In our case, Telerik BulletGraph control encodes the featured measure as an ellipse. You can take a look at the Bullet Graph Design Specification online PDF document where you can read more about this behavior.

2. Is it possible to hide the axis of values? - RadVertical(Horizontal)BulletGraph control expose a QuantitativeScaleVisibility property which you can use to hide the axis. You can set it to Hidden.

3. Is it possible to change the width of the FeaturedMeasure bar? - The FeaturedMeasue bar is represented as a Telerik BarItem visual element. The BarItem expose a LengthPercent property that you can use to change the width of the FeatureMeasure bar. You can create a custom style where you can set this property. 
<Style TargetType="telerik:BarItem">
    <Setter Property="LengthPercent" Value="0.5" />
</Style>


Hope this information is useful.

Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Amige
Top achievements
Rank 1
Veteran
answered on 18 Mar 2016, 04:53 PM

Hi Dinko,

Thanks for the answers, they really helped me.

Regards,

Alberto

Tags
BulletGraph
Asked by
Amige
Top achievements
Rank 1
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Amige
Top achievements
Rank 1
Veteran
Share this question
or