skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CameraExtension

This extension class provides zooming and rotation interactivity for 3D charts out-of-the-box.

Inheritance
System.Object
ChartExtension
CameraExtension
Inherited Members
ChartExtension.Owners
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public class CameraExtension : ChartExtension, IChartExtension<ChartArea>

Constructors

CameraExtension()

Initializes a new instance of the CameraExtension class.

Declaration
public CameraExtension()

Properties

SpinAxis

Gets or sets a value indicating the combination of principle axes (X, Y, Z) around which the chart area rotates in the 3D space.

Declaration
[SRCategory("Behavior")]
public SpinAxis SpinAxis { get; set; }
Property Value
SpinAxis

ZoomEnabled

Gets or sets a value indicating whether the zooming functionality of the extension is enabled.

Declaration
[SRCategory("Behavior")]
public bool ZoomEnabled { get; set; }
Property Value
System.Boolean

Methods

Attach(ChartArea)

Enables an extension object to find out when it has been aggregated. Called when the extension is added to the ChartArea.Extensions collection property.

Declaration
public override void Attach(ChartArea owner)
Parameters
ChartArea owner

The ChartArea object whose Extensions collection is being modified (new extension added).

Overrides
ChartExtension.Attach(ChartArea)

Detach(ChartArea)

Enables an object to find out when it is no longer aggregated. Called when an extension is removed from the ChartArea.Extensions collection property.

Declaration
public override void Detach(ChartArea owner)
Parameters
ChartArea owner

The ChartArea object whose Extensions collection is being modified (extension removed).

Overrides
ChartExtension.Detach(ChartArea)

Reset()

Resets the zooming and rotation of the camera extension tool to their initial state.

Declaration
public void Reset()

RotateX(Double)

Rotates the associated chart area around the principle X axis.

Declaration
public void RotateX(double angle)
Parameters
System.Double angle

The number of degrees to rotate around.

RotateXY(Double)

Rotates the associated chart area around the principle X and Y axes.

Declaration
public void RotateXY(double angle)
Parameters
System.Double angle

The number of degrees to rotate around.

RotateXY(Double, Double)

Rotates the associated chart area around the principle X and Y axes.

Declaration
public void RotateXY(double angleX, double angleY)
Parameters
System.Double angleX

The number of degrees to rotate around the X axis.

System.Double angleY

The number of degrees to rotate around the Y axis.

RotateXYZ(Double)

Rotates the associated chart area around the principle X, Y, and Z axes.

Declaration
public void RotateXYZ(double angle)
Parameters
System.Double angle

The number of degrees to rotate around.

RotateXYZ(Double, Double, Double)

Rotates the associated chart area around the principle X, Y, and Z axes.

Declaration
public void RotateXYZ(double angleX, double angleY, double angleZ)
Parameters
System.Double angleX

The number of degrees to rotate around the X axis.

System.Double angleY

The number of degrees to rotate around the Y axis.

System.Double angleZ

The number of degrees to rotate around the Z axis.

RotateY(Double)

Rotates the associated chart area around the principle Y axis.

Declaration
public void RotateY(double angle)
Parameters
System.Double angle

The number of degrees to rotate around.

RotateZ(Double)

Rotates the associated chart area around the principle Z axis.

Declaration
public void RotateZ(double angle)
Parameters
System.Double angle

The number of degrees to rotate around.

Zoom(Double)

Zooms the associated chart area by a specified factor.

Declaration
public void Zoom(double scaleFactor)
Parameters
System.Double scaleFactor

The scale factor to zoom by.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.