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

The svlRadChart not draw correctly into face of cube

1 Answer 46 Views
Cube
This is a migrated thread and some comments may be shown as answers.
kronnos_indigo
Top achievements
Rank 2
kronnos_indigo asked on 27 Oct 2009, 10:22 PM
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

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 30 Oct 2009, 05:41 PM
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.
Tags
Cube
Asked by
kronnos_indigo
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Share this question
or