WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartType

    Show / Hide Table of Contents

    Class ChartType

    This is base class for all chart types.

    Inheritance
    System.Object
    ChartType
    ChartAreaType
    ChartBoxAndWhiskerType
    ChartBubbleType
    ChartCandleType
    ChartColumnType
    ChartFastColumnType
    ChartFastHiLoOpenCloseType
    ChartFastLineType
    ChartFastScatterType
    ChartFastSplineType
    ChartFastStackingColumnType
    ChartFunnelType
    ChartHiLoType
    ChartHistogramType
    ChartKagiType
    ChartLineType
    ChartPieType
    ChartPointAndFigureType
    ChartPyramidType
    ChartRenkoType
    ChartScatterType
    ChartSplineType
    ChartStepLineType
    ChartSurfaceType
    ChartThreeLineBreakType
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public abstract class ChartType : IDisposable

    Constructors

    ChartType()

    Declaration
    protected ChartType()

    Fields

    SpacingProperty

    Using a DependencyProperty as the backing store for Spacing. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SpacingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    AxesType

    Gets the required type of the axes.

    Declaration
    public virtual ChartAxesType AxesType { get; }
    Property Value
    Type Description
    ChartAxesType

    The type of the axes.

    Flags

    Gets the flags.

    Declaration
    protected abstract ChartType.ChartTypeFlags Flags { get; }
    Property Value
    Type Description
    ChartType.ChartTypeFlags

    The flags.

    IsIndependent

    Gets a value indicating whether this type is independent of other series.

    Declaration
    public virtual bool IsIndependent { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is independent; otherwise, false.

    IsIndexed

    Gets a value indicating whether this type is indexed.

    Declaration
    public bool IsIndexed { get; }
    Property Value
    Type Description
    System.Boolean

    true if this type is indexed; otherwise, false.

    IsRotated

    Gets a value indicating whether this type is independent

    Declaration
    public bool IsRotated { get; }
    Property Value
    Type Description
    System.Boolean

    IsSideBySide

    Gets a value indicating whether this is side-by-side chart type.

    Declaration
    public bool IsSideBySide { get; }
    Property Value
    Type Description
    System.Boolean

    IsStacked

    Gets a value indicating whether this type is stacked type.

    Declaration
    public bool IsStacked { get; }
    Property Value
    Type Description
    System.Boolean

    RequiresAxis

    Gets a value indicating whether chart type requires axis to be built.

    Declaration
    public bool RequiresAxis { get; }
    Property Value
    Type Description
    System.Boolean

    RequiresDataCount

    Gets the requirement for data count.

    Declaration
    public virtual int RequiresDataCount { get; }
    Property Value
    Type Description
    System.Int32

    The require data count.

    Methods

    Calculate(ChartSeries)

    Calculates the segments of specified series.

    Declaration
    public virtual void Calculate(ChartSeries series)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    CalculateSegments(ChartSeries, ChartIndexedDataPoint[])

    Calculates the segments.

    Declaration
    protected virtual void CalculateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    Syncfusion.Windows.Chart.ChartIndexedDataPoint[] points

    The points.

    CheckFlags(ChartType.ChartTypeFlags)

    Checks the flags.

    Declaration
    protected bool CheckFlags(ChartType.ChartTypeFlags flag)
    Parameters
    Type Name Description
    ChartType.ChartTypeFlags flag

    The flag value.

    Returns
    Type Description
    System.Boolean

    The bool value to check flags

    CreateAdornment(ChartSeries, ChartIndexedDataPoint, Int32)

    Calculates the adornments.

    Declaration
    protected virtual ChartAdornment CreateAdornment(ChartSeries series, ChartIndexedDataPoint point, int index)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    Syncfusion.Windows.Chart.ChartIndexedDataPoint point

    The point.

    System.Int32 index

    The index.

    Returns
    Type Description
    ChartAdornment

    The ChartAdornment

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    GetSpacing(ChartArea)

    Gets the spacing.

    Declaration
    public static double GetSpacing(ChartArea area)
    Parameters
    Type Name Description
    ChartArea area

    The area value.

    Returns
    Type Description
    System.Double

    The double space

    IsCompatible(ChartType)

    Determines whether the this chart type is compatible with specified type.

    Declaration
    public virtual bool IsCompatible(ChartType type)
    Parameters
    Type Name Description
    ChartType type

    The type value.

    Returns
    Type Description
    System.Boolean

    true if the type is compatible; otherwise, false.

    SetSpacing(ChartArea, Double)

    Sets the spacing.

    Declaration
    public static void SetSpacing(ChartArea area, double value)
    Parameters
    Type Name Description
    ChartArea area

    The area value.

    System.Double value

    The value.

    Update(ChartSeries)

    Updates the specified series.

    Declaration
    public virtual void Update(ChartSeries series)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    See Also
    ChartType

    UpdateLastSegments(ChartSeries, ChartIndexedDataPoint[])

    Calculate the last segment

    Declaration
    protected virtual void UpdateLastSegments(ChartSeries series, ChartIndexedDataPoint[] points)
    Parameters
    Type Name Description
    ChartSeries series
    Syncfusion.Windows.Chart.ChartIndexedDataPoint[] points

    UpdateSegments(ChartSeries, ChartIndexedDataPoint[])

    Calculates the segments.

    Declaration
    protected virtual void UpdateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    Syncfusion.Windows.Chart.ChartIndexedDataPoint[] points

    The points.

    See Also
    ChartType

    Implements

    System.IDisposable

    See Also

    ChartType
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved