
Represents information used to perform the layout of pie charts and the databinding of their primitives.

'Declaration<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public Class PiePrimitiveInfo Inherits PrimitiveInfoBase
'UsageDim instance As PiePrimitiveInfo
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class PiePrimitiveInfo : PrimitiveInfoBase
<Window x:Class="WpfApplication56.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" Title="MainWindow" Height="350" Width="525"> <Window.Resources> <DataTemplate x:Key="PieTemplate"> <Canvas Width="{Binding Path=W}" Height="{Binding Path=H}"> <Path x:Name="PieSlice" Stroke="Gray" StrokeThickness="2" Data="{Binding Path=Geometry}" Fill="{Binding Path=Interior}"> <Path.ToolTip> <ToolTip> <StackPanel Orientation="Vertical"> <TextBlock Text="Name:"/> <TextBlock Text="{Binding Path=DataPoint.Label}"/> <TextBlock Text="Skills:"/> <TextBlock Text="{Binding Path=DataPoint.Y}"/> </StackPanel> </ToolTip> </Path.ToolTip> <Path.Triggers> <EventTrigger RoutedEvent="Mouse.MouseEnter"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetProperty="Opacity" To="0.3" Duration="0:0:0.4"/> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> <EventTrigger RoutedEvent="Mouse.MouseLeave"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.4" /> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> </Path.Triggers> </Path> </Canvas> </DataTemplate> </Window.Resources> <Grid> <xctk:Chart> <xctk:Chart.Areas> <xctk:Area x:Name="_area1" Title="Area #1" > <xctk:Area.XAxis> <xctk:Axis ShowTickLabels="True" /> </xctk:Area.XAxis> <xctk:Area.YAxis> <xctk:Axis ShowTickLabels="True" /> </xctk:Area.YAxis> <xctk:Area.Series> <xctk:Series x:Name="_series1" Template="{StaticResource PieTemplate}" Spacing="20" ShowPointsInLegend="false" ShowHintLabels="false" HintLineLength="20"> <xctk:Series.Layout> <xctk:PieLayout /> </xctk:Series.Layout> <xctk:Series.DataPoints> <xctk:DataPoint X="1" Y="1" Label="Oct" /> <xctk:DataPoint X="2" Y="2" Label="Jan"/> <xctk:DataPoint X="2.5" Y="1.5" Label="Feb" /> <xctk:DataPoint X="4" Y="1" Label="Jun"/> <xctk:DataPoint X="1.5" Y="3" Label="Dec"/> <xctk:DataPoint X="5" Y="5" Label="Apr"/> <xctk:DataPoint X="3" Y="1" Label="Nov"/> <xctk:DataPoint X="4.5" Y="7" Label="Jul"/> <xctk:DataPoint X="3.5" Y="4.5" Label="Aug"/> </xctk:Series.DataPoints> </xctk:Series> </xctk:Area.Series> </xctk:Area> </xctk:Chart.Areas> </xctk:Chart> </Grid> </Window>
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase
Xceed.Wpf.Toolkit.Chart.PiePrimitiveInfo
| Name | Description | |
|---|---|---|
![]() | PiePrimitiveInfo Constructor | Initializes a new instance of the PiePrimitiveInfo class. |
| Name | Description | |
|---|---|---|
![]() | CenterX | Gets or sets the x-coordinate for the center point of pie charts. |
![]() | CenterY | Gets or sets the y-coordinate for the center point of pie charts. |
![]() | Content | Gets or sets the object that participates in databinding for the corresponding ChartPrimitive. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | DataPoint | Gets or sets the datapoint of the chart primitive. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | DependencyObjectType | (Inherited from System.Windows.DependencyObject) |
![]() | Dispatcher | (Inherited from System.Windows.Threading.DispatcherObject) |
![]() | EndAngle | Gets or sets the end angle for pie chart segment primitives. |
![]() | Geometry | Gets or sets the Geometry for pie charts and other more complex 2d charts that require Geometry and complex Shapes. |
![]() | H | Gets or sets the height of the chart primitive. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | Interior | Gets or sets the interior brush of the chart primitive. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | IsCovered | Gets or sets whether the primitive is "covered." (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | IsHighlighted | Gets or sets whether this chart primitive is highlighted. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | IsSealed | (Inherited from System.Windows.DependencyObject) |
![]() | Radius | Gets or sets the pie segment radius. |
![]() | StartAngle | Gets or sets the start angle for pie chart segment primitives. |
![]() | UseAnimations | (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | W | Gets or sets the width of the chart primitive. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | XRange | Gets or sets the range the primitive occupies on the x-axis. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | YRange | Gets or sets the range the primitive occupies on the y-axis. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
| Name | Description | |
|---|---|---|
![]() | ClearValue | Overloaded. (Inherited from System.Windows.DependencyObject) |
![]() | CoerceValue | (Inherited from System.Windows.DependencyObject) |
![]() | Equals | (Inherited from System.Windows.DependencyObject) |
![]() | GetHashCode | (Inherited from System.Windows.DependencyObject) |
![]() | GetLocalValueEnumerator | (Inherited from System.Windows.DependencyObject) |
![]() | GetValue | (Inherited from System.Windows.DependencyObject) |
![]() | InvalidateProperty | (Inherited from System.Windows.DependencyObject) |
![]() | ReadLocalValue | (Inherited from System.Windows.DependencyObject) |
![]() | SetCurrentValue | (Inherited from System.Windows.DependencyObject) |
![]() | SetValue | Overloaded. (Inherited from System.Windows.DependencyObject) |
| Name | Description | |
|---|---|---|
![]() | OnPropertyChanged | Overloaded. Raises the PropertyChanged event. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
![]() | ShouldSerializeProperty | (Inherited from System.Windows.DependencyObject) |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Raised when any property changes. (Inherited from Xceed.Wpf.Toolkit.Chart.PrimitiveInfoBase) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.