[]
        
(Showing Draft Content)

C1.WPF.C1Chart.PlotElement

PlotElement Class

Generic plot element.

Namespace: C1.WPF.C1Chart
Assembly: C1.WPF.C1Chart.4.6.2.dll
Syntax
public class PlotElement : Shape, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Remarks

Plot element is a visual presentation of data such as bar on the bar chart or slice of pie on the pie chart.

Fields

Name Description
DataPointProperty

Identifies the DataPoint dependency property.

IsMouseOverProperty

Identifies the IsMouseOver dependency property.

LabelAlignmentProperty

Identifies the PlotElement.LabelAlignment attached dependency property.

LabelLineProperty

Identifies the PlotElement.LabelLine attached dependency property.

LabelOffsetProperty

Identifies the PlotElement.LabelOffset attached dependency property.

_ismo

Stores the current value of IsMouseOver property.

autoStyle

Stores automatic shape style that was set to the plot element.

geometry

Stores defining geometry of the plot element.

Properties

Name Description
DataPoint

Gets the data point associated with the plot element.

DefaultLegendShape

Gets the default legend shape.

DefiningGeometry

Gets the geometry that describes the shape.

GeometryTransform

Gets the transformation that is applied to the geometry of the shape.

IsClustered

Whether the plot element can be clustered.

IsMouseOver

Gets the value which indicates whether the mouse cursor is over the plot element.

LegendShape

Gets the shape that represents the appearance of plot element in the legend.

Size

Gets or sets the size of the plot element.

Methods

Name Description
AutoPosition(Size, ref Point, ref Point)

Calculates automatic position of data label.

GetLabelAlignment(DependencyObject)

Gets the label alignment of the element.

GetLabelLine(DependencyObject)

Sets the line connecting data point and label for the element.

GetLabelOffset(DependencyObject)

Gets the labels offset for the element.

IsCompatible(IRenderer)

Whether the plot element is compatible with the specified renderer.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked when dependency property was changed.

Render(RenderContext)

Renders the plot element based on the specified context.

SetLabelAlignment(DependencyObject, LabelAlignment)

Sets the label alignment of the element.

SetLabelLine(DependencyObject, Line)

Gets the line connecting data point and label for the element.

SetLabelOffset(DependencyObject, Point)

Sets the label offset for the element.