Class SfSunburstChart
Represents the Chart control which is used to visualize the data graphically.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.WPF.dll
Syntax
public class SfSunburstChart : Control, IDisposableConstructors
SfSunburstChart()
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart()Fields
AnimationDurationProperty
The DependencyProperty for AnimationDuration property.
Declaration
public static readonly DependencyProperty AnimationDurationPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
AnimationTypeProperty
The DependencyProperty for AnimationType property.
Declaration
public static readonly DependencyProperty AnimationTypePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
BehaviorsProperty
The DependencyProperty for Behaviors property.
Declaration
public static readonly DependencyProperty BehaviorsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ColorModelProperty
The DependencyProperty for ColorModel property.
Declaration
public static readonly DependencyProperty ColorModelPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
DataLabelInfoProperty
The DependencyProperty for DataLabelInfo property.
Declaration
public static readonly DependencyProperty DataLabelInfoPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
EnableAnimationProperty
The DependencyProperty for EnableAnimation property.
Declaration
public static readonly DependencyProperty EnableAnimationPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
EndAngleProperty
The DependencyProperty for EndAngle property.
Declaration
public static readonly DependencyProperty EndAnglePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
HeaderProperty
The DependencyProperty for Header property.
Declaration
public static readonly DependencyProperty HeaderPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
InnerRadiusProperty
The DependencyProperty for InnerRadius property.
Declaration
public static readonly DependencyProperty InnerRadiusPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ItemsSourceProperty
The DependencyProperty for ItemsSource property.
Declaration
public static readonly DependencyProperty ItemsSourcePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
LegendProperty
The DependencyProperty for Legend property.
Declaration
public static readonly DependencyProperty LegendPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
LevelsProperty
The DependencyProperty for Levels property.
Declaration
public static readonly DependencyProperty LevelsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
PaletteProperty
The DependencyProperty for Palette property.
Declaration
public static readonly DependencyProperty PalettePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
RadiusProperty
The DependencyProperty for Radius property.
Declaration
public static readonly DependencyProperty RadiusPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
StartAngleProperty
The DependencyProperty for StartAngle property.
Declaration
public static readonly DependencyProperty StartAnglePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
StrokeThicknessProperty
The DependencyProperty for StrokeThickness property.
Declaration
public static readonly DependencyProperty StrokeThicknessPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
SunburstResourceDictionaryProperty
The Dependency property for Syncfusion.UI.Xaml.SunburstChart.SfSunburstChart.SunburstResourceDictionary
Declaration
public static readonly DependencyProperty SunburstResourceDictionaryPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ValueMemberPathProperty
The DependencyProperty for ValueMemberPath property.
Declaration
public static readonly DependencyProperty ValueMemberPathPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Properties
AnimationDuration
Gets or sets the duration of animation in milliseconds.
Declaration
public int AnimationDuration { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
AnimationType
Gets or sets the type of animations.
Declaration
public AnimationType AnimationType { get; set; }Property Value
| Type | 
|---|
| AnimationType | 
Behaviors
Gets or sets the SunburstBehavior for sunburst chart.
Declaration
public ObservableCollection<SunburstBehavior> Behaviors { get; set; }Property Value
| Type | 
|---|
| System.Collections.ObjectModel.ObservableCollection<SunburstBehavior> | 
ColorModel
Gets or sets the color model for sunburst chart.
Declaration
public SunburstColorModel ColorModel { get; set; }Property Value
| Type | 
|---|
| SunburstColorModel | 
DataLabelInfo
Gets or sets the data labels for sunburst chart.
Declaration
public SunburstDataLabelInfo DataLabelInfo { get; set; }Property Value
| Type | 
|---|
| SunburstDataLabelInfo | 
DataLabels
Gets the collection of SunburstDataLabel.
Declaration
public ObservableCollection<SunburstDataLabel> DataLabels { get; set; }Property Value
| Type | 
|---|
| System.Collections.ObjectModel.ObservableCollection<SunburstDataLabel> | 
EnableAnimation
Gets or sets a value indicating whether chart should be animated while loading.
Declaration
public bool EnableAnimation { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
EndAngle
Gets or sets the end angle for the sunburst chart.
Declaration
public double EndAngle { get; set; }Property Value
| Type | 
|---|
| System.Double | 
Header
Gets or sets the title for chart.
Declaration
public object Header { get; set; }Property Value
| Type | 
|---|
| System.Object | 
InnerRadius
Gets or sets the coefficient value for defining sunburst hole size. Value must be specified from 0 to 1.
Declaration
public double InnerRadius { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ItemsSource
Gets or sets an IEnumerable source used to generate Chart.
Declaration
public IEnumerable ItemsSource { get; set; }Property Value
| Type | 
|---|
| System.Collections.IEnumerable | 
Legend
Gets or sets the Legend for sunburst chart.
Declaration
public SunburstLegend Legend { get; set; }Property Value
| Type | 
|---|
| SunburstLegend | 
Levels
Gets or sets the levels for sunburst chart.
Declaration
public ObservableCollection<SunburstHierarchicalLevel> Levels { get; set; }Property Value
| Type | 
|---|
| System.Collections.ObjectModel.ObservableCollection<SunburstHierarchicalLevel> | 
Palette
Gets or sets the color palette for the sunburst chart.
Declaration
public SunburstColorPalette Palette { get; set; }Property Value
| Type | 
|---|
| SunburstColorPalette | 
Radius
Gets or sets the coefficient value for defining sunburst size. Value must be specified from 0 to 1.
Declaration
public double Radius { get; set; }Property Value
| Type | 
|---|
| System.Double | 
Segments
Gets the collection of SunburstSegment.
Declaration
public ObservableCollection<SunburstSegment> Segments { get; set; }Property Value
| Type | 
|---|
| System.Collections.ObjectModel.ObservableCollection<SunburstSegment> | 
StartAngle
Gets or sets the start angle for the sunburst chart.
Declaration
public double StartAngle { get; set; }Property Value
| Type | 
|---|
| System.Double | 
Stroke
Gets or sets the stroke for the sunburst chart.
Declaration
public Brush Stroke { get; set; }Property Value
| Type | 
|---|
| System.Windows.Media.Brush | 
StrokeThickness
Gets or sets the stroke thickness for the sunburst chart.
Declaration
public double StrokeThickness { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ValueMemberPath
Gets or sets the property path of the value data in ItemsSource.
Declaration
public string ValueMemberPath { get; set; }Property Value
| Type | 
|---|
| System.String | 
Methods
Dispose()
Dispose sunburt objects
Declaration
public void Dispose()MeasureOverride(Size)
Method used to measure the chart.
Declaration
protected override Size MeasureOverride(Size availableSize)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Size | availableSize | Measured size. | 
Returns
| Type | Description | 
|---|---|
| System.Windows.Size | The size. | 
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
Declaration
public override void OnApplyTemplate()OnMouseLeave(MouseEventArgs)
Called when the mouse was exited from the chart.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | Event args. | 
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called when the mouse left button down on the chart.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | Event args. | 
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when the mouse left button up on the chart.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | Event args. | 
OnMouseMove(MouseEventArgs)
Called when the mouse moved on the chart.
Declaration
protected override void OnMouseMove(MouseEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | Event args. | 
Events
SegmentCreated
Occurs when SunburstSegment is created.
Declaration
public event EventHandler<SunburstSegmentCreatedEventArgs> SegmentCreatedEvent Type
| Type | 
|---|
| System.EventHandler<SunburstSegmentCreatedEventArgs> | 
SelectionChanged
Occurs when SunburstSegment is selected.
Declaration
public event EventHandler<SunburstSelectionChangedEventArgs> SelectionChangedEvent Type
| Type | 
|---|
| System.EventHandler<SunburstSelectionChangedEventArgs> |