This is a migrated thread and some comments may be shown as answers.

Chart does not fit properly inside a RadPanelBar

1 Answer 24 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 26 Aug 2011, 07:30 PM
I have a RadChart that sit inside a Grid.  When I place the Grid in a RadPanelBarItem, the Chart did not resize itself and as a result, 2 scrollbars appeared.  If I put the chart somewhere else (not in a RadPanelBarItem), then it resize properly.

I also tried to
- put the RadChart directly in RadPanelBarItem without the parent Grid
- Setting the MinWidth / Height / FullWidth / Fullheight to 0

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 31 Aug 2011, 01:20 PM
Hi Edward,

This is happening because the PanelBarItem has a ScrollViewer in it's tempalte. You can either remove it if you don't need it, or simply set some dimensions for your content.


All the best,
Vladimir Milev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart
Asked by
Edward
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or