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

Camera Extension do not work

1 Answer 46 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 09 Sep 2010, 06:31 PM
Hi,

I am not able to do the camera extension work. I have made a new object that inherits the RadChart, and create the property as follow:

Public Property GraphType() As Integer
    Get
        Return type
    End Get
    Set (ByVal value As Integer)
        type = value
  
        If type = LINE3D Then
            Dim camera As New CameraExtension
  
            'Just for test
            camera.RotateY(-30)
  
            chart.DefaultView.ChartArea.Extensions.Add(camera)
        End If
  
    End Set
End Property

So, with that property, I am able to change the graph 2D into 3D, but the camera don't work and I don't know how to do it work.
Can you help me to do that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Sep 2010, 10:45 AM
Hi Ricardo,

Please, have a look at our Flexible API demo example, which demonstrates how to enable the CameraExtension when switching to a 3D series.

Greetings,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or