Class ChartType
This is base class for all chart types.
Inheritance
Implements
Inherited Members
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 |
---|
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 |
|
IsIndexed
Gets a value indicating whether this type is indexed.
Declaration
public bool IsIndexed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsRotated
Gets a value indicating whether this type is independent
Declaration
public bool IsRotated { get; }
Property Value
Type |
---|
System.Boolean |
IsSideBySide
Gets a value indicating whether this is side-by-side chart type.
Declaration
public bool IsSideBySide { get; }
Property Value
Type |
---|
System.Boolean |
IsStacked
Gets a value indicating whether this type is stacked type.
Declaration
public bool IsStacked { get; }
Property Value
Type |
---|
System.Boolean |
RequiresAxis
Gets a value indicating whether chart type requires axis to be built.
Declaration
public bool RequiresAxis { get; }
Property Value
Type |
---|
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 |
|
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
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. |