MindFusion.Charting 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

Data

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

DataField

Gets or sets the field in a database table/view used to provide data for the pie 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 from the radius length.

InnerLabelBackground

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

InnerLabelBorder

Gets or sets the type border drawn around inner labels.

InnerLabelBorderMargin

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

InnerLabelFormat

Gets or sets the format of numbers drawn as inner labels.

InnerLabelOutline

Gets or sets the pen for drawing the outline of the label border for 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 field in a database table/view 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 outer labels when drawn with border.

OuterLabelBorder

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

OuterLabelBorderMargin

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

OuterLabelFormat

Gets or sets the format of numbers drawn as outer labels.

OuterLabelOutline

Gets or sets the pen for drawing the outline of the label border for outer labels.

OuterLabels

Specifies the text drawn outside each pie piece.

OuterLabelsField

Gets or sets the field in a database table/view that provides the data for the outer pie labels.

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

AlternateText

Gets or sets the alternate text displayed when the browser cannot display images. Most browsers display this text as a tooltip. (Inherited from Chart.)

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

ChartBrushes

Specifies the brushes used to draw the charts.

(Inherited from Chart.)

ChartGenLocation

Gets or sets the location of 'MindFusion.WebForms.ChartGen.aspx' file. (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 database table or view that will provide the data. (Inherited from Chart.)

DataSource

Gets or sets the object from which the list of data items is retrieved. (Inherited from Chart.)

EmptyBrush

Gets an empty brush. (Inherited from Chart.)

EmptyPen

Gets an empty pen. (Inherited from Chart.)

FontName

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

ImageAlign

Gets or sets the alignment of the Chart control in relation to other elements on the page. (Inherited from Chart.)

ImageFormat

Gets or sets the format of the generated chart image. (Inherited from Chart.)

ImageQuality

Gets or sets the quality of compressed chart image. (Inherited from Chart.)

ImageUrl

Gets the path to the image displayed. (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.)

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

TagKey

Gets the HTML tag for the control. (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.

 Inherited Public Methods

  Name Description

CalcRect

Calculates the size of the chart's rectangle. (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.)

GenerateMetafile

Overloaded. Creates a Metafile image of the chart. (Inherited from Chart.)

 Inherited Protected Methods

  Name Description

AddAttributesToRender

Adds attributes to the HtmlTextWriter object. (Inherited from Chart.)

Finalize

Chart destructor. (Inherited from Chart.)

IsEmptyList

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

OnClick

Raises the Click event of the control. (Inherited from Chart.)

OnInit

Control.OnInit override. (Inherited from Chart.)

PerformDataBinding

Binds the specified DataSource to the control. (Inherited from Chart.)

PerformSelect

  (Inherited from Chart.)

Render

Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from Chart.)

 Inherited Public Events

  Name Description

Click

Occurs when the chart is clicked. (Inherited from Chart.)

 See Also