Is this possible?

Thread is closed for posting
3 posts, 0 answers
  1. Fredrik
    Fredrik avatar
    54 posts
    Member since:
    Sep 2010

    Posted 27 Sep 2011 Link to this post

    Hi !!!

    Another great component from telerik ...tumbs up.

    I´m looking to incorporate this component into my project and have some suggestions (maybe some of this could be done already).

    1. Is it possible to have some kind of label text next to the labelsteps values ? (For example my BulletGraph is showing a timescale and I would like to have 1h, 2h etc as labels under the graph)

    2. Is it possible to get rid of the comperativemeasure. Setting it to negative value perhaps ?


  2. Victor
    Victor avatar
    1358 posts

    Posted 06 Oct 2011 Link to this post

    Hello Fredrik,

     Thank you for the questions. Please excuse us for the very delayed response, we had a technical issue (now resolved) that caused us to miss your post in our support system.

    You can easily specify custom text in the bullet graph scale labels by providing your own data template and a custom value converter that will convert the actual value of the label to your desired text. This data template should be set to the bullet graph's LabelTemplate property and the value converter should used inside this template. For example:

                <TextBlock Text="{Binding Converter={StaticResource converter}}"/>

    Here are the converter declaration and implementation:
        <local:MyValueConverter x:Key="converter"/>

    public class MyValueConverter : IValueConverter
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
            return String.Format("{0}h", value);
        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
            return null;

    In order to hide the comparative measure you can simply set the comparative measure's template to a data template that contains an empty UI element. For example:

    Please write again if you have other questions.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. esteban
    esteban avatar
    1 posts
    Member since:
    Aug 2013

    Posted 01 Aug 2013 Link to this post

    Oh great!! Thanks Admind, excellent information, thx for sharing! :D
    [url=]Valor de la plata[/url]
Back to Top