Class PieDataPoint
Represents a data point used for a pie series.
Inheritance
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class PieDataPoint : DataPoint
Constructors
| Improve this Doc View SourcePieDataPoint()
Initializes a new instance of the PieDataPoint class.
Declaration
public PieDataPoint()
Fields
| Improve this Doc View SourceActualOffsetRatioProperty
Identifies the ActualOffsetRatio dependency property.
Declaration
public static readonly DependencyProperty ActualOffsetRatioProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ActualRatioProperty
Identifies the ActualRatio dependency property.
Declaration
public static readonly DependencyProperty ActualRatioProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FormattedRatioProperty
Identifies the FormattedRatio dependency property.
Declaration
public static readonly DependencyProperty FormattedRatioProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GeometryHighlightProperty
Identifies the GeometryHighlight dependency property.
Declaration
public static readonly DependencyProperty GeometryHighlightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GeometrySelectionProperty
Identifies the GeometrySelection dependency property.
Declaration
public static readonly DependencyProperty GeometrySelectionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OffsetRatioProperty
Identifies the OffsetRatio dependency property.
Declaration
public static readonly DependencyProperty OffsetRatioProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RatioProperty
Identifies the Ratio dependency property.
Declaration
public static readonly DependencyProperty RatioProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RatioStringFormatProperty
Identifies the RatioStringFormat dependency property.
Declaration
public static readonly DependencyProperty RatioStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceActualOffsetRatio
Gets or sets the offset ratio that is displayed on the screen.
Declaration
public double ActualOffsetRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ActualRatio
Gets or sets the ratio displayed on the screen.
Declaration
public double ActualRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FormattedRatio
Gets the Ratio with the value of the RatioStringFormat property applied.
Declaration
public string FormattedRatio { get; }
Property Value
Type | Description |
---|---|
System.String |
Geometry
Gets or sets the Geometry property which defines the shape of the data point.
Declaration
public Geometry Geometry { get; set; }
Property Value
Type | Description |
---|---|
Geometry |
GeometryHighlight
Gets or sets the GeometryHighlight property which is a clone of the Geometry property.
Declaration
public Geometry GeometryHighlight { get; set; }
Property Value
Type | Description |
---|---|
Geometry |
GeometrySelection
Gets or sets the Geometry which defines the shape of a point. The GeometrySelection property is a copy of the Geometry property.
Declaration
public Geometry GeometrySelection { get; set; }
Property Value
Type | Description |
---|---|
Geometry |
OffsetRatio
Gets or sets the offset ratio of the pie data point.
Declaration
public double OffsetRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PaletteResources
Gets the Palette-dispensed ResourceDictionary for the Series.
Declaration
protected ResourceDictionary PaletteResources { get; }
Property Value
Type | Description |
---|---|
ResourceDictionary |
Ratio
Gets or sets the ratio of the total that the data point represents.
Declaration
public double Ratio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RatioStringFormat
Gets or sets the format string for the FormattedRatio property.
Declaration
public string RatioStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Builds the visual tree for the PieDataPoint when a new template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnMouseEnter(MouseEventArgs)
Provides handling for the MouseEnter event.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | e | The event data. |
Overrides
| Improve this Doc View SourceOnMouseLeave(MouseEventArgs)
Provides handling for the MouseLeave event.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | e | The event data. |