MindFusion WinForms Programmer's Guide
PieChart Members
Constructors Properties Methods Events
 


A class specified for drawing pie charts.

The following tables list the members exposed by the PieChart type.

 Public Constructors

  Name Description

PieChart

Creates a new instance of the PieChart class.

 Public Properties

  Name Description

AllowEdit

Gets or sets whether the user can change the values of two adjacent pie pieces by dragging their common border.

BackColor

Gets or sets the background color for the Chart control. (Inherited from Chart.)

BackgroundBrush

Specifies the brush for the chart background. (Inherited from Chart.)

BkgrImagePos

gets or sets the position and alignment of the chart background image. (Inherited from Chart.)

BorderCornerRadius

Gets or sets the radius for the border of the control, when the type is RoundedRect. (Inherited from Chart.)

BorderType

Gets or sets the type of the border for the control. (Inherited from Chart.)

ChartBrushes

Specifies the brushes used to draw the charts. (Inherited from Chart.)

ChartImage

Gets or sets the image drawn as background for the chart's plot area. (Inherited from Chart.)

ChartImagePos

Gets or sets the position of the image drawn as background of the chart's plot area. (Inherited from Chart.)

ChartMargins

Gets or sets the margins around the chart. (Inherited from Chart.)

ChartPens

Specifies the pens for the charts. (Inherited from Chart.)

ChartSize

Gets the size of the chart. (Inherited from Chart.)

Data

Specifies the numerical data used for calculating the segments of the pie.

DataField

Gets or sets the database field, which values are used as data for the pie.

DataMember

Gets or sets the table used for data binding when the data source is set to a DataSet object. (Inherited from Chart.)

DataSource

Gets or sets a data source containing the values to be drawn. (Inherited from Chart.)

DivisionCoef

Specifies the division coefficient for pie data.

DivisionLabel

Specifies the unit of measure for data in the pie chart.

DoughnutThickness

Gets or sets the thickness of the doughut as a percentage of the radius length.

Effects

Gets a collection with all effects applied to the elements of this chart. (Inherited from Chart.)

EmptyBrush

Gets an empty 'unset' brush to indicate a neutral value when a Brush property should be reset and themes are used. (Inherited from Chart.)

EmptyPen

Gets an empty 'unset' pen to indicate a neutral value when a Pen property should be reset and themes are used. (Inherited from Chart.)

FontName

Gets or sets the name of the font for all chart labels. (Inherited from Chart.)

HandleEmptyValue

Gets or sets how empty values are handled. (Inherited from Chart.)

HitTestAngleOffset

Gets or sets the diviation, in angles, at which a mouse click shall be considered a click at the nearest pie border.

HitTestOffset

Gets or sets the radius of the area that, when clicked, will be treated as a click to the point that is its center. (Inherited from Chart.)

InnerLabelBackground

Gets or sets the brush for filling the background of the border box drawn around inner labels.

InnerLabelBorder

Gets or sets the type of border drawn around inner labels.

InnerLabelBorderMargin

Gets or sets the margin between the inner label and its border.

InnerLabelCustomFormat

Gets or sets the format for numerical inner labels when InnerLabelFormat is set to Custom.

InnerLabelFormat

Gets or sets the format of numbers drawn inside pie segments.

InnerLabelOutline

Gets or sets the pen for outlining the border box drawn around inner labels.

InnerLabelPosition

Specifies the position of labels inside pie pieces.

InnerLabels

Specifies the text drawn inside each pie piece.

InnerLabelsField

Gets or sets the database field, which values are used as labels inside pie pieces.

InnerLabelType

Specifies the type of labels to be drawn inside pie pieces.

LabelBrush

Specifies the brush that is used for drawing chart labels. (Inherited from Chart.)

LabelFont

Specifies the font for drawing the chart labels. (Inherited from Chart.)

LabelPrefix

Gets or sets a string prefix for labels inside/outside the pie's pieces.

LabelSuffix

Gets or sets a string suffix for labels inside/outside the pie's pieces.

LegendAlignment

Gets or sets the alignment of the legend. (Inherited from Chart.)

LegendBackgroundBrush

Gets or sets the legend background brush. (Inherited from Chart.)

LegendBorder

Gets or sets the type of the legend border. (Inherited from Chart.)

LegendBorderMargin

Gets or sets the margin between the legend border and the legend labels. (Inherited from Chart.)

LegendBrush

Gets or sets the brush for the legend's bounding rectangle. (Inherited from Chart.)

LegendColumns

Gets or sets the count of columns in the chart legend. (Inherited from Chart.)

LegendFont

Gets or sets the font for the chart legend. (Inherited from Chart.)

LegendGridType

Gets or sets the type of the legend grid. (Inherited from Chart.)

LegendLabels

Gets or sets the labels for the legend. (Inherited from Chart.)

LegendOffset

Gets or sets the offset of the chart legend. (Inherited from Chart.)

LegendPen

Gets or sets the pen for the legend's bounding rectangle. (Inherited from Chart.)

LegendPosition

Gets or sets the position of the chart legend. (Inherited from Chart.)

LegendWidth

Gets or sets the width of the legend's rectangle. (Inherited from Chart.)

LegendWordWrap

Gets or sets whether the words of the legend labels are wrapped. (Inherited from Chart.)

LicenseKey

Gets or sets the license key of the control. (Inherited from Chart.)

MultiColored

Specifies whether the chart is drawn in one color or in different colors. (Inherited from Chart.)

MultiColoredLabels

Specifies whether labels at the chart axes are drawn in different colors. (Inherited from Chart.)

OuterLabelBackground

Gets or sets the brush for filling the background of the border box drawn around outer labels.

OuterLabelBorder

Gets or sets the type border drawn around outer labels.

OuterLabelBorderMargin

Gets or sets the margin between the outer label and its border.

OuterLabelCustomFormat

Gets or sets the format for numerical outer labels when OuterLabelFormat is set to Custom.

OuterLabelFormat

Gets or sets the format of numbers drawn outside pie segments.

OuterLabelOutline

Gets or sets the pen for outlining of the border box for outer labels.

OuterLabels

Specifies the text drawn outside each pie piece.

OuterLabelsField

Gets or sets the database field, which values are used as labels outside pie pieces.

OuterLabelType

Specifies the type of labels drawn outside pie pieces.

OutlinePen

Specifies the chart pen used for drawing the pie outlining.

Pie3DTension

Specifies the flatness of 3D pies.

Pie3DThickness

Specifies the height of 3D pies.

PieceOutIndex

Specifies the index of the detached pie piece.

PieceOutPercent

Specifies the distance at which the detached pie piece is drawn from the center of the pie/doughnut.

PieMargins

Specifies the margins for the pie chart.

PieType

Gets or sets the type of the pie chart to be drawn.

PointerLength

Gets or sets the length of the piece pointers.

RadiusLength

Specifies the radius length of the pie chart.

ResizeType

Gets or sets how the chart image is positioned in the control area. (Inherited from Chart.)

ShowToolTips

Gets or sets a value indicating whether tooltips are enabled. (Inherited from Chart.)

SortOrder

Specifies the sort order of numbers in chart series. (Inherited from Chart.)

SortSeriesBy

Specifies the sort order of data series. (Inherited from Chart.)

StartAngle

Gets or sets the start angle for drawing the pieces of the pie.

SubTitleBrush

Specifies the brush that is used for drawing the chart subtitle. (Inherited from Chart.)

SubTitleFont

Specifies the font, which is used to draw the chart subtitle.  (Inherited from Chart.)

SubTitleOffset

Gets or sets the offset of the chart's subtitle. (Inherited from Chart.)

SubTitleText

Specifies the text for the chart subtitle. (Inherited from Chart.)

TextRenderingHint

Specifies the quality, with which text is rendered. (Inherited from Chart.)

Theme

Gets or sets the style theme. (Inherited from Chart.)

TitleBrush

Specifies the brush that is used to draw the chart title. (Inherited from Chart.)

TitleFont

Specifies the font, which is used to draw the chart title. (Inherited from Chart.)

TitleOffset

Gets or sets the offset of the title. (Inherited from Chart.)

TitleText

Specifies the text for the chart title. (Inherited from Chart.)

ToolTipControl

Gets the control used to display the tool tips.
(Inherited from Chart.)

ToolTipDelay

Gets or sets the time that passes before a tool-tip appears when the mouse hovers over an item. (Inherited from Chart.)

ToolTipText

Gets or sets tool tip labels shown at chart elements. (Inherited from Chart.)

ZoomCursor

Gets or sets the zoom cursor for the chart. (Inherited from Chart.)

 Protected Properties

  Name Description

DefaultSize

The initial size of the control when it is dropped into a form. (Inherited from Chart.)

 Public Methods

  Name Description

BeginInit

Begins the run-time initialization of an instance of the PieChart class that is used on a form or by another component.

ClearData

Removes all labels and numerical data from the chart. (Inherited from Chart.)

ClearTheme

Resets all properties set by a given theme to their default values. (Inherited from Chart.)

CreateBitmap

Creates a GDI+ bitmap image representing the chart. (Inherited from Chart.)

CreateMetafile

Creates a WMF image containing the chart. (Inherited from Chart.)

DataBind

Binds the chart to the data source set in DataSource and DataMember. (Inherited from Chart.)

EndInit

Ends the run-time initialization of an instance of the PieChart class that is used on a form or by another component.

HitTest

Checks whether a point with the particular coordinates is contained inside a chart element. (Inherited from Chart.)

LoadFromXml

Overloaded. Loads the Chart from an XML document. (Inherited from Chart.)

LoadTheme

Overloaded.   (Inherited from Chart.)

RegisterClass

Registeres the class using the specified key. (Inherited from Chart.)

ResetThemeProperties

Resets all pens and brushes used by pie charts to their default values.

RunWizard

Starts the pie chart wizard.

SaveTheme

Save the chart theme to an XML file. (Inherited from Chart.)

SaveToXml

Overloaded. Saves the Chart to an XML file. (Inherited from Chart.)

UnregisterClass

Called when the chart is unregistered. (Inherited from Chart.)

UpdateScrollBars

Updates the scrollbar ranges so they correspond to the chart size. (Inherited from Chart.)

 Protected Methods

  Name Description

Finalize

Destructor. (Inherited from Chart.)

IsEmptyList

Checks when a list has no members (Inherited from Chart.)

OnDataChanged

Invokes the DataChanged event.

OnDataChanging

Invokes the DataChanging event.

OnLayout

Control.OnLayout override. (Inherited from Chart.)

OnMouseDown

Control.OnMouseDown override. (Inherited from Chart.)

OnMouseEnter

Control.OnMouseLeave override. (Inherited from Chart.)

OnMouseLeave

Control.OnMouseLeave override. (Inherited from Chart.)

OnMouseMove

Control.OnMouseMove override. (Inherited from Chart.)

OnMouseUp

Control.OnMouseUp override. (Inherited from Chart.)

OnPaint

Control.OnPaint override. (Inherited from Chart.)

OnPaintBackground

Control.OnPainBackground override. (Inherited from Chart.)

OnResize

Control.OnResize override. (Inherited from Chart.)

OnScrollChanged

Raises the ScrollChanged event. (Inherited from Chart.)

UpdateChart

Overloaded. Redraws the chart. (Inherited from Chart.)

 Public Events

  Name Description

DataChanged

Identifies the DataChanged event.

DataChanging

Declares the DataChanging event.

ScrollChanged

Raised when the chart is scrolled. (Inherited from Chart.)

 See Also

PieChart Class
MindFusion.Charting.WinForms Namespace