none
can the bar width be fixed ? RRS feed

  • Question

  • Hello ,
    when i have 3 to 4 bars in a chart then the size is different and if i have only 2 bars the bar width is different.

    Can i configure the chart in such a way that the bar width be same ?

    let me know ...

    thnx in advance.
    Wednesday, April 25, 2007 9:00 AM

All replies

  • One way of doing this is to define 2 charts and using a conditional setting for the Chart.Visibility property.  If you only have 2 data categories at runtime, you conditionally show the chart with smaller bars.  If you have more data categories, conditionally show the other chart.

     

    Another suggestion with an example based on SSRS is discussed in this related thread: https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=598187&SiteID=1

     

    -- Robert

     

    Monday, April 30, 2007 12:06 AM
    Moderator
  • Hello,

    What i want to say is irrespective of the number of bars in the chart ...can the bar with be fixed ?
    for eg: if i specify that i want a bar of width 10mm .. then all the bars will be of 10mm even if there are only 2 bars in a 500mm width chart.

    I hope you got my problem.....

    let me know ...

    - thnx.
    Monday, April 30, 2007 4:41 AM