MindFusion.Charting Programmer's Guide
PieChart Members
Constructors Properties Methods
 


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

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.

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.

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.

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.

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.

StartAngle

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

 Inherited Public Properties

  Name Description

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.)

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.)

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.)

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.)

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.)

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.)

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.)

ResizeType

Gets or sets how the chart image is positioned in the control area. (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.)

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.)

 Inherited 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.

EndInit

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

ResetThemeProperties

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

RunWizard

Starts the pie chart wizard.

 Inherited Public Methods

  Name Description

BeginInit

Starts chart initialization. (Inherited from Chart.)

ClearData

Removes all labels and numerical data from the chart. (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 chart initialization. (Inherited from Chart.)

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.)

ResetThemeProperties

Resets all pens and brushes used by charts of all types to their default values. (Inherited from Chart.)

RunWizard

Runs the wizard associated with the given chart type. (Inherited from Chart.)

SaveToXml

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

UpdateScrollBars

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

 Inherited Protected Methods

  Name Description

Finalize

Destructor. (Inherited from Chart.)

IsEmptyList

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

OnLayout

Control.OnLayout 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.)

UpdateChart

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

 See Also

PieChart Class
MindFusion.Charting.WinForms Namespace