Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > Horizontal RadChart Stacked Bar 100 - how do I center it?
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Horizontal RadChart Stacked Bar 100 - how do I center it?

Feed from this thread
  • Donn avatar

    Posted on Jun 20, 2011 (permalink)

    I have one horizontal Stacked Bar 100 that I'm working with.  It's a very simple, horizontal, two series bar that represents wins/losses and filled dynamically in code behind, it all works great except one small, but aggrevating, thing - I can't seem to figure out how to fill the "width" to 100%.  I've removed all parts of the chart, no border, no background, no legend, etc... but the stacked bar doesn't fill the background - it seems to leave a small area to the right of the stacked bar where the legend used to be.
    I changed BarWidthPercent = 100, but since this is horizontal that seems to change the "height".
    How do I make it so the actual stacked bar fills 100% of the RadChart background??
    Or at least center the stacked bar in the middle of the background?
    The problem is having just the single bar looks off-center.

  • Donn avatar

    Posted on Jun 21, 2011 (permalink)

    Nevermind.  I found the properties I was looking for...

    Seems I overlooked the margins -> PlotArea.Appearance.Dimensions

  • Evgenia Evgenia admin's avatar

    Posted on Jun 23, 2011 (permalink)

    Hi Donn,

    Should we consider that the issue you were facing is now resolved?

    All the best,
    Evgenia
    the Telerik team

    Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > Horizontal RadChart Stacked Bar 100 - how do I center it?