Show Y Data Values on Bar

Thread is closed for posting
2 posts, 0 answers
  1. Chu
    Chu avatar
    8 posts
    Member since:
    Apr 2010

    Posted 23 Jun 2010 Link to this post

    I've got a bar chart that is setup using the Series Grouping option:

    chart.DataManager.ValuesYColumns = new string[1] { "Utilization" };
    chart.DataManager.ValuesXColumn = "intervalAsNumeric";
    chart.DataManager.UseSeriesGrouping = true;
    chart.DataGroupColumn = "groupName";

    Everything works great, but I'd like to be able to display the "Utilization" value (Y-Value) on the bar itself. To be clear, I've got the Utilization value that displays along the Y-axis, but I need a value that shows the value of the bar itself -- either on the bar or next to/above it. So far I've been unable to coerce the chart in to showing this. I've tried various properties, none of which work.

    Is there someway to display this value?

    Thanks


  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 28 Jun 2010 Link to this post

    Hello Chu,

    By default RadChart does show labels for each bar, so you should see them unless you have turned them off or you have applied certain formatting like a single space string (" ")  which would effectively make them disappear. I have attached a small example, along with the result at my end.

    Best regards,
    Ves
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top