Width of Bar charts

2 posts, 0 answers
  1. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 10 Jan 2011 Link to this post

    Hi

    Is there any way if we can control the width of the bar charts programeetically so that if only one bar is all you have to display do not occupy most of the chart area.

    thanks
    manish
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 12 Jan 2011 Link to this post

    Hello Manish,

    You can alter the size of the bars using the ItemWidthPercent property :

    radChart.DefaultView.ChartArea.ItemWidthPercent = 50;

    The smaller this value is the smaller the bar size.
    I hope this information helps.

    Best wishes,
    Evgenia
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top