Class SfSunburstChart
Represents the Chart control which is used to visualize the data graphically.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.UWP.dll
Syntax
public class SfSunburstChart : Control, IDisposable
Constructors
SfSunburstChart()
Initializes a new instance of the SfSunburstChart class.
Declaration
public SfSunburstChart()
Fields
AnimationDurationProperty
The DependencyProperty for AnimationDuration property.
Declaration
public static readonly DependencyProperty AnimationDurationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
AnimationTypeProperty
The DependencyProperty for AnimationType property.
Declaration
public static readonly DependencyProperty AnimationTypeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
BehaviorsProperty
The DependencyProperty for Behaviors property.
Declaration
public static readonly DependencyProperty BehaviorsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ColorModelProperty
The DependencyProperty for ColorModel property.
Declaration
public static readonly DependencyProperty ColorModelProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DataLabelInfoProperty
The DependencyProperty for DataLabelInfo property.
Declaration
public static readonly DependencyProperty DataLabelInfoProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableAnimationProperty
The DependencyProperty for EnableAnimation property.
Declaration
public static readonly DependencyProperty EnableAnimationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EndAngleProperty
The DependencyProperty for EndAngle property.
Declaration
public static readonly DependencyProperty EndAngleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HeaderProperty
The DependencyProperty for Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
InnerRadiusProperty
The DependencyProperty for InnerRadius property.
Declaration
public static readonly DependencyProperty InnerRadiusProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ItemsSourceProperty
The DependencyProperty for ItemsSource property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LegendProperty
The DependencyProperty for Legend property.
Declaration
public static readonly DependencyProperty LegendProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LevelsProperty
The DependencyProperty for Levels property.
Declaration
public static readonly DependencyProperty LevelsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
PaletteProperty
The DependencyProperty for Palette property.
Declaration
public static readonly DependencyProperty PaletteProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
RadiusProperty
The DependencyProperty for Radius property.
Declaration
public static readonly DependencyProperty RadiusProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StartAngleProperty
The DependencyProperty for StartAngle property.
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StrokeThicknessProperty
The DependencyProperty for StrokeThickness property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ValueMemberPathProperty
The DependencyProperty for ValueMemberPath property.
Declaration
public static readonly DependencyProperty ValueMemberPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|---|
Windows.Foundation.Size | availableSize | Measured size. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | The size. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
Declaration
protected override void OnApplyTemplate()
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Called when the pointer button tapped twice.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e | Event args. |
OnPointerExited(PointerRoutedEventArgs)
Called when the pointer was exited from the chart.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args. |
OnPointerMoved(PointerRoutedEventArgs)
Called when the pointer moved on the chart.
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args. |
OnPointerPressed(PointerRoutedEventArgs)
Called when the pointer pressed on the chart.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args. |
OnPointerReleased(PointerRoutedEventArgs)
Called when the pointer released on the chart.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args. |
OnTapped(TappedRoutedEventArgs)
Method gets called on tapped in sunburst chart.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.TappedRoutedEventArgs | e | The tapped routed event arguments. |
Events
SegmentCreated
Occurs when SunburstSegment is created.
Declaration
public event EventHandler<SunburstSegmentCreatedEventArgs> SegmentCreated
Event Type
Type |
---|
System.EventHandler<SunburstSegmentCreatedEventArgs> |
SelectionChanged
Occurs when SunburstSegment is selected.
Declaration
public event EventHandler<SunburstSelectionChangedEventArgs> SelectionChanged
Event Type
Type |
---|
System.EventHandler<SunburstSelectionChangedEventArgs> |