menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfSurfaceChart - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfSurfaceChart

    Class which represents the surface chart.

    Inheritance
    System.Object
    SurfaceBase
    SfSurfaceChart
    Implements
    System.IDisposable
    Inherited Members
    SurfaceBase.BackWallBrush
    SurfaceBase.BackWallBrushProperty
    SurfaceBase.BottomWallBrush
    SurfaceBase.BottomWallBrushProperty
    SurfaceBase.ColorModel
    SurfaceBase.ColorModelProperty
    SurfaceBase.Deserialize()
    SurfaceBase.Deserialize(String)
    SurfaceBase.EnableRotation
    SurfaceBase.EnableRotationProperty
    SurfaceBase.Header
    SurfaceBase.HeaderProperty
    SurfaceBase.LeftWallBrush
    SurfaceBase.LeftWallBrushProperty
    SurfaceBase.Palette
    SurfaceBase.PaletteProperty
    SurfaceBase.Rotate
    SurfaceBase.RotateProperty
    SurfaceBase.Serialize()
    SurfaceBase.Serialize(String)
    SurfaceBase.ShowBackWall
    SurfaceBase.ShowBackWallProperty
    SurfaceBase.ShowBottomWall
    SurfaceBase.ShowBottomWallProperty
    SurfaceBase.ShowLeftWall
    SurfaceBase.ShowLeftWallProperty
    SurfaceBase.Tilt
    SurfaceBase.TiltProperty
    SurfaceBase.WallThickness
    SurfaceBase.WallThicknessProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class SfSurfaceChart : SurfaceBase, IDisposable

    Constructors

    SfSurfaceChart()

    Initializes a new instance of the SfSurfaceChart class.

    Declaration
    public SfSurfaceChart()

    Fields

    ApplyGradientBrushProperty

    The DependencyProperty for ApplyGradientBrush property.

    Declaration
    public static readonly DependencyProperty ApplyGradientBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    BrushCountProperty

    The DependencyProperty for BrushCount property.

    Declaration
    public static readonly DependencyProperty BrushCountProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    CameraProjectionProperty

    The DependencyProperty for CameraProjection property.

    Declaration
    public static readonly DependencyProperty CameraProjectionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ColorBarProperty

    The DependencyProperty for ColorBar property.

    Declaration
    public static readonly DependencyProperty ColorBarProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ColumnSizeProperty

    The DependencyProperty for ColumnSize property.

    Declaration
    public static readonly DependencyProperty ColumnSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    EnableZoomingProperty

    The DependencyProperty for EnableZooming property.

    Declaration
    public static readonly DependencyProperty EnableZoomingProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ItemsSourceProperty

    The DependencyProperty for ItemsSource property.

    Declaration
    public static readonly DependencyProperty ItemsSourceProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendLabelFormatProperty

    The DependencyProperty for LegendLabelFormat property.

    Declaration
    public static readonly DependencyProperty LegendLabelFormatProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    RowSizeProperty

    The DependencyProperty for RowSize property.

    Declaration
    public static readonly DependencyProperty RowSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowContourLineProperty

    The DependencyProperty for ShowContourLine property.

    Declaration
    public static readonly DependencyProperty ShowContourLineProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TypeProperty

    The DependencyProperty for Type property.

    Declaration
    public static readonly DependencyProperty TypeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    WireframeStrokeProperty

    The DependencyProperty for WireframeStroke property.

    Declaration
    public static readonly DependencyProperty WireframeStrokeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    WireframeStrokeThicknessProperty

    The DependencyProperty for WireframeStrokeThickness property.

    Declaration
    public static readonly DependencyProperty WireframeStrokeThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    XAxisProperty

    The DependencyProperty for XAxis property.

    Declaration
    public static readonly DependencyProperty XAxisProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    XBindingPathProperty

    The DependencyProperty for XBindingPath property.

    Declaration
    public static readonly DependencyProperty XBindingPathProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    YAxisProperty

    The DependencyProperty for YAxis property.

    Declaration
    public static readonly DependencyProperty YAxisProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    YBindingPathProperty

    The DependencyProperty for YBindingPath property.

    Declaration
    public static readonly DependencyProperty YBindingPathProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ZAxisProperty

    The DependencyProperty for ZAxis property.

    Declaration
    public static readonly DependencyProperty ZAxisProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ZBindingPathProperty

    The DependencyProperty for ZBindingPath property.

    Declaration
    public static readonly DependencyProperty ZBindingPathProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ZoomLevelProperty

    The DependencyProperty for ZoomLevel property.

    Declaration
    public static readonly DependencyProperty ZoomLevelProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ApplyGradientBrush

    Gets or sets linear gradient brush for given palette

    Declaration
    public bool ApplyGradientBrush { get; set; }
    Property Value
    Type
    System.Boolean

    BrushCount

    Gets or sets a value indicating the count for applying brushes in surface chart

    Declaration
    public int BrushCount { get; set; }
    Property Value
    Type
    System.Int32

    CameraProjection

    Gets or sets Camera for Surface chart

    Declaration
    public CameraProjection CameraProjection { get; set; }
    Property Value
    Type
    CameraProjection

    ColorBar

    Gets or sets color bar for surface chart

    Declaration
    public ChartColorBar ColorBar { get; set; }
    Property Value
    Type
    ChartColorBar

    ColumnSize

    Gets or sets column size for items source

    Declaration
    public int ColumnSize { get; set; }
    Property Value
    Type
    System.Int32

    Data

    Passing surface data through Data property

    Declaration
    public DataPointCollection Data { get; set; }
    Property Value
    Type
    DataPointCollection

    EnableZooming

    Gets or sets a value indicating whether surface chart is zooming

    Declaration
    public bool EnableZooming { get; set; }
    Property Value
    Type
    System.Boolean

    ItemsSource

    Gets or sets items source for surface chart

    Declaration
    public IEnumerable ItemsSource { get; set; }
    Property Value
    Type
    System.Collections.IEnumerable

    LegendLabelFormat

    Gets or sets label format for the legends label

    Declaration
    public string LegendLabelFormat { get; set; }
    Property Value
    Type
    System.String

    RowSize

    Gets or sets Row size for items source

    Declaration
    public int RowSize { get; set; }
    Property Value
    Type
    System.Int32

    ShowContourLine

    Gets or sets a value indicating whether the contour line for surface chart

    Declaration
    public bool ShowContourLine { get; set; }
    Property Value
    Type
    System.Boolean

    Type

    Gets or sets type for surface chart

    Declaration
    public SurfaceType Type { get; set; }
    Property Value
    Type
    SurfaceType

    ViewBoxSize

    Gets the rendered size of mesh in surface chart.

    Declaration
    public Size ViewBoxSize { get; }
    Property Value
    Type
    System.Windows.Size

    WireframeStroke

    Gets or sets stroke for wireframe line

    Declaration
    public Brush WireframeStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    WireframeStrokeThickness

    Gets or sets stroke thickness for wireframe line

    Declaration
    public double WireframeStrokeThickness { get; set; }
    Property Value
    Type
    System.Double

    XAxis

    Gets or sets Primary Axis for surface chart

    Declaration
    public SurfaceAxis XAxis { get; set; }
    Property Value
    Type
    SurfaceAxis

    XBindingPath

    Gets or sets the property path to retrieve x data from ItemsSource.

    Declaration
    public string XBindingPath { get; set; }
    Property Value
    Type
    System.String

    YAxis

    Gets or sets Secondary Axis for surface chart

    Declaration
    public SurfaceAxis YAxis { get; set; }
    Property Value
    Type
    SurfaceAxis

    YBindingPath

    Gets or sets the property path to retrieve y data from ItemsSource.

    Declaration
    public string YBindingPath { get; set; }
    Property Value
    Type
    System.String

    ZAxis

    Gets or sets Depth Axis for surface chart

    Declaration
    public SurfaceAxis ZAxis { get; set; }
    Property Value
    Type
    SurfaceAxis

    ZBindingPath

    Gets or sets the property path to retrieve z data from ItemsSource.

    Declaration
    public string ZBindingPath { get; set; }
    Property Value
    Type
    System.String

    ZoomLevel

    Gets or sets zoom view level for 3D viewport

    Declaration
    public double ZoomLevel { get; set; }
    Property Value
    Type
    System.Double

    Methods

    DefineLights()

    Declaration
    protected virtual Model3DGroup DefineLights()
    Returns
    Type
    System.Windows.Media.Media3D.Model3DGroup

    Dispose()

    Method used to dispose unmanaged elements in SfSurfaceChart

    Declaration
    public void Dispose()

    GetPoints()

    Get Point array from items source

    Declaration
    public virtual Point3D[, ] GetPoints()
    Returns
    Type
    System.Windows.Media.Media3D.Point3D[,]

    GetXValues()

    Declaration
    protected List<double> GetXValues()
    Returns
    Type
    System.Collections.Generic.List<System.Double>

    GetZValues()

    Declaration
    protected List<double> GetZValues()
    Returns
    Type
    System.Collections.Generic.List<System.Double>

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

    Declaration
    public override void OnApplyTemplate()

    OnManipulationDelta(ManipulationDeltaEventArgs)

    Declaration
    protected override void OnManipulationDelta(ManipulationDeltaEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.ManipulationDeltaEventArgs e

    OnManipulationStarted(ManipulationStartedEventArgs)

    Declaration
    protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.ManipulationStartedEventArgs e

    OnMouseDoubleClick(MouseButtonEventArgs)

    Reset zoom level value

    Declaration
    protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Capture mouse position and change mouse cursor

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Reset mouse position and cursor

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseMove(MouseEventArgs)

    Calculate the Rotate and Tilt value from mouse position

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseWheel(MouseWheelEventArgs)

    Calculate zoom leve based on mouse wheel zooom

    Declaration
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseWheelEventArgs e

    PositionCamera(ProjectionCamera)

    Positioning the camera based on Rotate and Tilt value

    Declaration
    protected override void PositionCamera(ProjectionCamera camera)
    Parameters
    Type Name Description
    System.Windows.Media.Media3D.ProjectionCamera camera
    Overrides
    SurfaceBase.PositionCamera(ProjectionCamera)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved