Class ChartAccumulationAdornment
Class represents adornment that is specific to axesless chart types.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartAccumulationAdornment : ChartAdornment, IDisposable
Remarks
ChartSeries Adornments are used to display values in a chart segment related to it. Values from data points such as X value, Y value or other properties from data source can be displayed.
Note: This will not require any additional settings for adornments. Adornments could be added as shown below. ChartAccumulationAdornment class will be internally used to set adornments for axesless chart types.
Examples
XAML:
<sfchart:Chart>
<sfchart:ChartArea Background="LightGray" GridBackground="White">
<sfchart:ChartSeries Type="Column" >
<sfchart:ChartSeries.AdornmentsInfo>
<sfchart:ChartAdornmentInfo
LabelContentPath="DataPoint.X" Visible="True" />
</sfchart:ChartSeries.AdornmentsInfo>
</sfchart:ChartSeries>
</sfchart:ChartArea>
</sfchart:Chart>
C#:
ChartSeries series = Chart1.Areas[0].Series[0];
ChartAdornmentInfo adornments = series.AdornmentsInfo;
adornments.LabelContentPath = "DataPoint.X";
adornments.Visible = true;
Constructors
ChartAccumulationAdornment(Double, Double, ChartIndexedDataPoint, ChartSeries)
Initializes a new instance of the ChartAccumulationAdornment class.
Declaration
public ChartAccumulationAdornment(double startAngle, double endAngle, ChartIndexedDataPoint point, ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startAngle | The start angle. |
System.Double | endAngle | The end angle. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint | point | The point. |
ChartSeries | series | The series. |
Fields
ExplodedOffsetProperty
Identifies the ExplodedOffset dependency property.
Declaration
public static readonly DependencyProperty ExplodedOffsetProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ExplodedOffset
Gets or sets the exploded offset. This is a dependency property.
Declaration
public double ExplodedOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The exploded offset. |
MinRadius
Gets or sets the minimum radius.
Declaration
public double MinRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The min System.Double radius. |
Methods
Update(IChartTransformer)
Updates the real coordinates of segment with respect to chart type.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | Instance of the class that implements Syncfusion.Windows.Chart.IChartTransformer |