Class Chart3D
Represents Chart 3D class to set 3D settings
Inheritance
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class Chart3D : DependencyObject
Remarks
Chart3D class supports various properties for making a chart appear in 3D mode. 3D mode can be easily enabled on a ChartArea using the View3DMode property
Examples
XAML:
<sfchart:Chart Name="chart1">
<sfchart:ChartArea View3DMode="True">
<sfchart:ChartSeries Label="Sales" DataSource="{Binding
Source={StaticResource myXmlData}, XPath=Products/Product}" BindingPathX="Month"
BindingPathsY="Sales" Type="Column" />
</sfchart:ChartArea>
</sfchart:Chart>
C#:
Chart chart = new Chart();
chart.Areas.Add(new ChartArea());
chart.Areas[0].View3DMode= true;
Constructors
Chart3D()
Initializes an instance of the Chart3D class.
Declaration
public Chart3D()
Fields
BackWallBackgroundProperty
Using a DependencyProperty as the backing store for BackWallBackground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty BackWallBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
BackWallThicknessProperty
Using a DependencyProperty as the backing store for BackWallThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty BackWallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
BottomWallBackgroundProperty
Using a DependencyProperty as the backing store for BottomWallBackground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty BottomWallBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
BottomWallThicknessProperty
Using a DependencyProperty as the backing store for BottomWallThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty BottomWallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
CameraProjectionProperty
Identifies the CameraProjection Dependency property
Declaration
public static readonly DependencyProperty CameraProjectionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ChartLightProperty
Using a DependencyProperty as the backing store for ChartLight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ChartLightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
LeftWallBackgroundProperty
Using a DependencyProperty as the backing store for LeftWallBackground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeftWallBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
LeftWallThicknessProperty
Using a DependencyProperty as the backing store for LeftWallThickness. This enables animation, styling, binding, etc... Chart3D
Declaration
public static readonly DependencyProperty LeftWallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RightWallBackgroundProperty
Using a DependencyProperty as the backing store for RightWallBackground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RightWallBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
RightWallThicknessProperty
Using a DependencyProperty as the backing store for RightWallThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RightWallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
RotateOnMouseDownProperty
Using a DependencyProperty as the backing store for RotateOnMouseDown. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RotateOnMouseDownProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowBackWallProperty
Using a DependencyProperty as the backing store for ShowBackWall. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowBackWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowBottomWallProperty
Using a DependencyProperty as the backing store for ShowBottonWall. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowBottomWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowDepthAxisProperty
Using a DependencyProperty as the backing store for ShowDepthAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowDepthAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowLeftWallProperty
Using a DependencyProperty as the backing store for ShowLeftWall. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowLeftWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowPrimaryAxisProperty
Using a DependencyProperty as the backing store for ShowPrimaryAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowPrimaryAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowRightWallProperty
Using a DependencyProperty as the backing store for ShowRightWall. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowRightWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowSecondaryAxisProperty
Using a DependencyProperty as the backing store for ShowSecondaryAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowSecondaryAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ShowTopWallProperty
Using a DependencyProperty as the backing store for ShowTopWall. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowTopWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
TopWallBackgroundProperty
Using a DependencyProperty as the backing store for TopWallBackground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TopWallBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
TopWallThicknessProperty
Using a DependencyProperty as the backing store for TopWallThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TopWallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ViewDefaultRotateProperty
Using a DependencyProperty as the backing store for ViewDefaultRotate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ViewDefaultRotateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ViewDefaultTiltProperty
Using a DependencyProperty as the backing store for ViewDefaultTilt. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ViewDefaultTiltProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
ViewDefaultTurnProperty
Using a DependencyProperty as the backing store for ViewDefaultTurn. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ViewDefaultTurnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
Properties
BackWallBackground
Gets or sets the back wall background brush
Declaration
public Brush BackWallBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The back wall background. |
BackWallThickness
Gets or sets the back wall thickness.
Declaration
public double BackWallThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The back wall thickness. |
BottomWallBackground
Gets or sets the bottom wall background brush
Declaration
public Brush BottomWallBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The bottom wall background. |
BottomWallThickness
Gets or sets the bottom wall thickness.
Declaration
public double BottomWallThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The bottom wall thickness. |
CameraProjection
Gets or sets the value of the CameraProjection dependency property.
Declaration
public CameraProjection CameraProjection { get; set; }
Property Value
Type |
---|
CameraProjection |
ChartLight
Gets or sets ChartLight for 3D mode
Declaration
public Model3D ChartLight { get; set; }
Property Value
Type |
---|
System.Windows.Media.Media3D.Model3D |
LeftWallBackground
Gets or sets the left wall background brush
Declaration
public Brush LeftWallBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The left wall background. |
LeftWallThickness
Gets or sets the left wall thickness.
Declaration
public double LeftWallThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The left wall thickness. |
RightWallBackground
Gets or sets the right wall background brush
Declaration
public Brush RightWallBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The right wall background. |
RightWallThickness
Gets or sets the right wall thickness.
Declaration
public double RightWallThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The right wall thickness. |
RotateOnMouseDown
Gets or sets a value indicating whether [rotate on mouse down].
Declaration
public bool RotateOnMouseDown { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowBackWall
Gets or sets a value indicating whether Show/Hide Back wall
Declaration
public bool ShowBackWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowBottomWall
Gets or sets a value indicating whether Show/Hide Bottom wall
Declaration
public bool ShowBottomWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowDepthAxis
Gets or sets a value indicating whether Show/Hide Secondary Axis
Declaration
public bool ShowDepthAxis { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowLeftWall
Gets or sets a value indicating whether Show/Hide Left wall
Declaration
public bool ShowLeftWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowPrimaryAxis
Gets or sets a value indicating whether Show/Hide Primary Axis
Declaration
public bool ShowPrimaryAxis { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowRightWall
Gets or sets a value indicating whether Show/Hide Right wall
Declaration
public bool ShowRightWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowSecondaryAxis
Gets or sets a value indicating whether Show/Hide Secondary Axis
Declaration
public bool ShowSecondaryAxis { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowTopWall
Gets or sets a value indicating whether Show/Hide Top wall
Declaration
public bool ShowTopWall { get; set; }
Property Value
Type |
---|
System.Boolean |
TopWallBackground
Gets or sets the top wall background brush
Declaration
public Brush TopWallBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The top wall background. |
TopWallThickness
Gets or sets the top wall thickness.
Declaration
public double TopWallThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The top wall thickness. |
ViewDefaultRotate
Gets or sets the view default rotate.
Declaration
public double ViewDefaultRotate { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The view default rotate. |
ViewDefaultTilt
Gets or sets the view default tilt.
Declaration
public double ViewDefaultTilt { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The view default tilt. |
ViewDefaultTurn
Gets or sets the view default turn.
Declaration
public double ViewDefaultTurn { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The view default turn. |
Methods
OnCameraProjectionChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises CameraProjectionChanged event.
Declaration
protected virtual void OnCameraProjectionChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Invoked whenever the effective value of any dependency property on this System.Windows.DependencyObject has been updated. The specific dependency property that changed is reported in the event data.
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Event data that will contain the dependency property identifier of interest, the property metadata for the type, and old and new values. |
Events
CameraProjectionChanged
Event that is raised when CameraProjection property is changed.
Declaration
public event PropertyChangedCallback CameraProjectionChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |