All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for Silverlight Forum
/
Cube
/
The svlRadChart not draw correctly into face of cube
Cancel
Telerik UI for Silverlight
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
kronnos_indigo
61 posts
Member since:
Jul 2006
Posted 27 Oct 2009
Link to this post
Good afternoon Team Telerik.
I have a few problem with RadChart into face in RadCube. The image of RadChart appears as lengthened and only show 1/2 heigth of YWidth Cube. (The Radchart is runnig rigthly)
The code that I use is:
<StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1100"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="22"/>
<RowDefinition Height="500"/>
<RowDefinition Height="250"/>
</Grid.RowDefinitions>
<telerikCharting:RadChart x:Name="rcFC" HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.Row="1" Content="FFO">
<telerikCharting:RadChart.Background>
<RadialGradientBrush>
<GradientStop Color="Black" Offset="1"/>
<GradientStop Color="#FFA8DAF6"/>
</RadialGradientBrush>
</telerikCharting:RadChart.Background>
</telerikCharting:RadChart>
<telerikNavigation:RadCube x:Name="rcubePrincipal" Grid.Row="2" Grid.Column="0" SelectedIndex="0" RotateSpeed="3" IsRotateOnStart="False"
XWidth="1050" YWidth="250" ZWidth="250" HorizontalAlignment="Center" VerticalAlignment="Center"
IsRotateYAxisOnly="True" IsRotateXAxisOnly="False" >
<telerikCharting:RadChart x:Name="rcFCB" FontSize="9.333" Width="1050" Height="Auto" >
<telerikCharting:RadChart.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF065504" Offset="0"/>
<GradientStop Color="Black" Offset="1"/>
</LinearGradientBrush>
</telerikCharting:RadChart.Background>
</telerikCharting:RadChart>
<telerikCharting:RadChart x:Name="rcKTNO" HorizontalAlignment="Left" VerticalAlignment="Bottom"
Content="KTNO" FontSize="9.333" Width="1050" >
<telerikCharting:RadChart.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF8CCB76" Offset="0"/>
<GradientStop Color="Black" Offset="1"/>
</LinearGradientBrush>
</telerikCharting:RadChart.Background>
</telerikCharting:RadChart>
<telerikCharting:RadChart x:Name="rcCAF" HorizontalAlignment="Left" VerticalAlignment="Bottom"
Content="CAF" FontSize="9.333" Width="1050" >
<telerikCharting:RadChart.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF7FB5AD" Offset="0.025"/>
<GradientStop Color="Black" Offset="1"/>
</LinearGradientBrush>
</telerikCharting:RadChart.Background>
<telerikCharting:RadChart.AnimationSettings>
<Telerik_Windows_Controls_Charting:AnimationSettings/>
</telerikCharting:RadChart.AnimationSettings>
</telerikCharting:RadChart>
</telerikNavigation:RadCube>
</Grid>
</StackPanel>
Then, please to help to find the problem and resolve this.
Attach the image screen of problem.
Thanks by any help.
Juan Pablo Díaz S
Bogotá-Colombia
radchar-inside-a-face-of-radcube.jpg
Valentin.Stoychev
Admin
2198 posts
Posted 30 Oct 2009
Link to this post
Hello kronnos_indigo,
You need to set a fixed size to the chart in order to be sized correctly. The size should be smaller than the size of the cube.
Kind regards,
Valentin.Stoychev
the Telerik team
Instantly find answers to your questions on the new
Telerik Support Portal
.
Watch a
video
on how to optimize your support resource searches and
check out more tips
on the blogs.
Back to Top
Close