The PieChart type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AccessKey | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from WebControl.) | |
| Adapter | Gets the browser-specific adapter for the control. (Inherited from Control.) | |
| AddTimeStamp |
if true, a unique number will be added every time flash loads data. Mainly this feature is useful if you set ReloadDataInterval
(Inherited from ChartBase.) | |
| AppendSettingsToExternal |
Whether this instance settings should be appended to settings in external settings file
(Inherited from ChartBase.) | |
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from Control.) | |
| Attributes | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from WebControl.) | |
| BackColor | Gets or sets the background color of the Web server control. (Inherited from WebControl.) | |
| BackgroundAlpha |
use 0 if you are using custom swf or jpg for background
(Inherited from ChartBase.) | |
| BackgroundFile |
swf or jpg file of a background. Do not use progressive jpg file, it will be not visible with flash player 7. The chart will look for this file in ChartDirectory
(Inherited from ChartBase.) | |
| BackgroundGradientColors |
Gradient background colors
(Inherited from ChartBase.) | |
| BackgroundTransparent |
if set to true flash background will be set to transparent
(Inherited from ChartBase.) | |
| BalloonAlpha |
Balloon opacity
| |
| BalloonBorderAlpha |
Opacity of the balloon border.
| |
| BalloonBorderColor |
Color of the balloon border.
| |
| BalloonBorderWidth |
Width of the balloon border.
| |
| BalloonColor |
balloon background color. If empty, slightly darker then current slice color will be used
| |
| BalloonCornerRadius |
Corner radius of a balloon. If you set it greater than 0, the balloon will not display arrow.
| |
| BalloonEnabled |
Whether to show balloon tooltips when hovering over the slices
| |
| BalloonMaxWidth |
The maximum width of a balloon
| |
| BalloonTextColor |
Balloon text color
| |
| BalloonTextFormatString |
You can format any data label: {value} - will be replaced with value and so on. You can add your own text or html code too.
| |
| BalloonTextSize |
Balloon text size
| |
| BindingContainer | Gets the control that contains this control's data binding. (Inherited from Control.) | |
| BorderAlpha |
Opacity of the border [0-100]
(Inherited from ChartBase.) | |
| BorderColor | Gets or sets the border color of the Web control. (Inherited from WebControl.) | |
| BorderStyle | Gets or sets the border style of the Web server control. (Inherited from WebControl.) | |
| BorderWidth | Gets or sets the border width of the Web server control. (Inherited from WebControl.) | |
| ChartDirectory |
Application path where the Flash control is stored
(Overrides ChartBase..::.ChartDirectory.) | |
| ChildControlsCreated | Gets a value that indicates whether the server control's child controls have been created. (Inherited from Control.) | |
| ClientID | Gets the server control identifier generated by ASP.NET. (Inherited from Control.) | |
| ClientIDSeparator | Gets a character value representing the separator character used in the ClientID property. (Inherited from Control.) | |
| CollectingDataMessageBackgroundAlpha |
Background alpha of "Collecting data" message
(Inherited from ChartBase.) | |
| CollectingDataMessageBackgroundColor |
background color of "Collecting data" text
(Inherited from ChartBase.) | |
| CollectingDataMessageLeft |
x position of "Collecting data" text
(Inherited from ChartBase.) | |
| CollectingDataMessageLeftMeasuredFromRight |
If set to true X position of "Collecting data" text is measured from the right side
(Inherited from ChartBase.) | |
| CollectingDataMessageText |
this text is displayed while exporting chart to an image
(Inherited from ChartBase.) | |
| CollectingDataMessageTextColor |
Text color of the "Collecting data" message
(Inherited from ChartBase.) | |
| CollectingDataMessageTextSize |
Text size of the "Collecting data" message
(Inherited from ChartBase.) | |
| CollectingDataMessageTop |
y position of "Collecting data" text. If not set, will be aligned to the bottom of flash movie
(Inherited from ChartBase.) | |
| CollectingDataMessageTopMeasuredFromBottom |
If set to true Y position of "Collecting data" text is measured from the bottom
(Inherited from ChartBase.) | |
| Colors |
List of colors to use for slices
| |
| Context | Gets the HttpContext object associated with the server control for the current Web request. (Inherited from Control.) | |
| ContextMenuItems |
Custom context menu items
(Inherited from ChartBase.) | |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from Control.) | |
| ControlStyle | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
| ControlStyleCreated | Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. (Inherited from WebControl.) | |
| CssClass | Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from WebControl.) | |
| CSVSeparator |
CSV file data separator (you need it only if you are using external CSV file for your data)
(Inherited from ChartBase.) | |
| CSVSkipRows |
In case you are using csv data type, you can set the number of rows which should be skipped here
(Inherited from ChartBase.) | |
| DataAlphaField |
The field in the data source which provides the slice alpha (opacity) (optional)
| |
| DataDescriptionField |
The field in the data source which provides the slice description (optional)
| |
| DataLabelAvoidOverlapping |
Whether to change data labels positions so that they wouldn't overlap or not
| |
| DataLabelFormatString |
You can format any data label: {value} - will be replaced with value and so on. You can add your own text or html code too.
| |
| DataLabelHidePercent |
Data labels of slices less then this % will be hidden (to avoid label overlapping if there are many small pie slices)
| |
| DataLabelLineAlpha |
Opacity for the data label lines [0-100]
| |
| DataLabelLineColor |
Line color for the data label lines
| |
| DataLabelMaxWidth |
Maximum width of the data labels
| |
| DataLabelRadius |
distance of the labels from the pie. Use negative value to place labels on the pie
| |
| DataLabelShowLines |
whether to show lines from slices to data labels or not
| |
| DataLabelTextColor |
Text color for the data labels
| |
| DataLabelTextSize |
Text size for the data labels
| |
| DataMember | Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items. (Inherited from DataBoundControl.) | |
| DataPullOutField |
The field in the data source which specifies if the slice should be pulled out on load (optional)
| |
| DataSource | Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl.) | |
| DataSourceID | Gets or sets the ID of the control from which the data-bound control retrieves its list of data items. (Inherited from DataBoundControl.) | |
| DataTitleField |
The field in the data source which provides the slice title
| |
| DataType |
External data file type (xml or csv). Used when data loaded from external file
(Inherited from ChartBase.) | |
| DataUrlField |
The field in the data source which provides the slice url (optional)
| |
| DataValueField |
The field in the data source which provides the slice value
| |
| DecimalSeparator |
Decimal separator to be used in Flash
(Inherited from ChartBase.) | |
| DesignMode | Gets a value indicating whether a control is being used on a design surface. (Inherited from Control.) | |
| DigitsAfterDecimal |
If your value has less digits after decimal then is set here, zeroes will be added
(Inherited from ChartBase.) | |
| Enabled | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from WebControl.) | |
| EnableTheming | Gets or sets a value indicating whether themes apply to this control. (Inherited from WebControl.) | |
| EnableViewState | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from Control.) | |
| ErrorMessagesBackgroundAlpha |
background opacity of error message
(Inherited from ChartBase.) | |
| ErrorMessagesBackgroundColor |
background color of error message
(Inherited from ChartBase.) | |
| ErrorMessagesBackgroundGradientColors |
Gradient error messages background colors
(Inherited from ChartBase.) | |
| ErrorMessagesEnabled |
Specified if error message should be enabled
(Inherited from ChartBase.) | |
| ErrorMessagesLeft |
x position of error message. If not set, will be aligned to the center
(Inherited from ChartBase.) | |
| ErrorMessagesLeftMeasuredFromRight |
If set to true X position of error message is measured from the right side
(Inherited from ChartBase.) | |
| ErrorMessagesTextColor |
Text color of error messages
(Inherited from ChartBase.) | |
| ErrorMessagesTextSize |
Text size of error messages
(Inherited from ChartBase.) | |
| ErrorMessagesTop |
y position of error message. If not set, will be aligned to the center
(Inherited from ChartBase.) | |
| ErrorMessagesTopMeasuredFromBottom |
If set to true Y position of error message is measured from the bottom
(Inherited from ChartBase.) | |
| Events | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from Control.) | |
| ExcludeInvisible |
Whether to exclude invisible slices (where alpha=0) when calculating percent values or not
| |
| ExportAsImageEnabled |
If set to true, context menu (when user right clicks on flash movie) "Export as image" will appear. This will allow user to export chart as an image. Collected image data will be posted to [ChartDirectory]/export.aspx
(Inherited from ChartBase.) | |
| ExportAsImageMessageText |
"Export as image" text for right click menu
(Inherited from ChartBase.) | |
| ExportAsImageTarget |
Target of a window in which export file must be called (_blank, _top ...)
(Inherited from ChartBase.) | |
| ExternalDataFileUrl |
URL of the external data file
(Inherited from ChartBase.) | |
| ExternalSettingsFileUrl |
URL of the external settings file
(Inherited from ChartBase.) | |
| Font | Gets the font properties associated with the Web server control. (Inherited from WebControl.) | |
| ForeColor | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from WebControl.) | |
| GroupColor |
color of "The others" slice
| |
| GroupDescription |
Description of "The others" slice
| |
| GroupPercent |
if the calculated percent value of a slice is less than specified here, and there are more than one such slices, they can be grouped to "The others" slice
| |
| GroupPullOut |
whether to pull out the other slice or not
| |
| GroupTitle |
title of "The others" slice
| |
| GroupUrl |
Url of "The others" slice
| |
| HasAttributes | Gets a value indicating whether the control has attributes set. (Inherited from WebControl.) | |
| HasChildViewState | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from Control.) | |
| Height | (Overrides WebControl..::.Height.) | |
| ID | Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.) | |
| IdSeparator | Gets the character used to separate control identifiers. (Inherited from Control.) | |
| Initialized | Gets a value indicating whether the data-bound control has been initialized. (Inherited from BaseDataBoundControl.) | |
| IsBoundUsingDataSourceID | Gets a value indicating whether the DataSourceID property is set. (Inherited from BaseDataBoundControl.) | |
| IsChildControlStateCleared | Gets a value indicating whether controls contained within this control have control state. (Inherited from Control.) | |
| IsEnabled | Gets a value indicating whether the control is enabled. (Inherited from WebControl.) | |
| IsTrackingViewState | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from Control.) | |
| IsViewStateEnabled | Gets a value indicating whether view state is enabled for this control. (Inherited from Control.) | |
| Items |
Chart data items
| |
| Labels |
Labels to add to the chart
(Inherited from ChartBase.) | |
| LabelsInData |
If this is set to true labels will be rendered with data instead of settings
(Inherited from ChartBase.) | |
| LegendAlign |
Alignment of legend entries
(Inherited from ChartBase.) | |
| LegendBackgroundAlpha |
Legend background opacity [0-100]
(Inherited from ChartBase.) | |
| LegendBorderAlpha |
Opacity of Legend border [0-100]
(Inherited from ChartBase.) | |
| LegendBorderColor |
Legend border color
(Inherited from ChartBase.) | |
| LegendColor |
Legend background color
(Inherited from ChartBase.) | |
| LegendEnabled |
Specifies if Legend should be visible
(Inherited from ChartBase.) | |
| LegendGradientColors |
Gradient legend background colors
(Inherited from ChartBase.) | |
| LegendKeyBorderColor |
Legend Key (the color box near every legend entry) border color
(Inherited from ChartBase.) | |
| LegendKeySize |
Legend Key (the color box near every legend entry) size
(Inherited from ChartBase.) | |
| LegendLeft |
Left coordinate of the Legend
(Inherited from ChartBase.) | |
| LegendLeftMeasuredFromRight |
If set to true left coordinate of the Legend is measured from the right side
(Inherited from ChartBase.) | |
| LegendMargins |
Legend margins (space between legend border and legend entries, recommended to use only if legend border is visible or background color is different from chart area background color)
(Inherited from ChartBase.) | |
| LegendMaxColumns |
Maximum number of columns in the Legend
(Inherited from ChartBase.) | |
| LegendReverseOrder |
whether to sort legend entries in a reverse order
(Inherited from ChartBase.) | |
| LegendSpacing |
Vertical and horizontal gap between legend entries
(Inherited from ChartBase.) | |
| LegendTextColor |
Legend text color
(Inherited from ChartBase.) | |
| LegendTextSize |
Legend text size
(Inherited from ChartBase.) | |
| LegendTop |
Top coordinate of the Legend. If empty, will be below the pie
(Inherited from ChartBase.) | |
| LegendTopMeasuredFromBottom |
If set to true top coordinate of the Legend is measured from the bottom
(Inherited from ChartBase.) | |
| LegendValuesEnabled |
whether to show values near legend entries or not
| |
| LegendValueTextFormatString |
Value format string
| |
| LegendValueWidth |
width of value text (use it if you want to align all values to the right, otherwise leave empty)
| |
| LegendWidth |
Width of the Legend. If empty, will be equal to control width-80
(Inherited from ChartBase.) | |
| LoadingDataMessageText |
Text displayed while loading chart data
(Inherited from ChartBase.) | |
| LoadingSettingsMessageText |
Text displayed while loading chart settings
(Inherited from ChartBase.) | |
| LoadViewStateByID | Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from Control.) | |
| NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. (Inherited from Control.) | |
| NoDataErrorMessage |
if data is missing, this message will be displayed
(Inherited from ChartBase.) | |
| Page | Gets a reference to the Page instance that contains the server control. (Inherited from Control.) | |
| Parent | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from Control.) | |
| PieAngle |
Pie height (for 3D effect)
| |
| PieHeight |
Pie height (for 3D effect)
| |
| PieInnerRadius |
The radius of the hole (if you want to have donut, use > 0)
| |
| PieLeft |
X coordinat of Pie inside the control. If left is empty, will be positioned in the center
| |
| PieLeftMeasuredFromRight |
If set to true X coordinate of Pie inside the control will be measured from the right side
| |
| PieRadius |
Pie radius. If left empty, will be 25% of your chart smaller side
| |
| PieTop |
Y coordinat of Pie inside the control. If left empty, will be positioned in the center - 20px
| |
| PieTopMeasuredFromBottom |
If set to true Y coordinate of Pie inside the control will be measured from the bottom
| |
| Precision |
Shows how many numbers should be shown after comma for calculated values (percents)
(Inherited from ChartBase.) | |
| PreloaderBackgroundColor |
Color of the background while chart is loading data and settings
(Inherited from ChartBase.) | |
| PreloaderForeColor |
Color of the preloader bar and text
(Inherited from ChartBase.) | |
| PullOutEffect |
Effect for pull-out animation (bounce, regular, strong)
| |
| PullOutOnClick |
Whether to pull out slices when user clicks on them (or on legend entry)
| |
| PullOutOnlyOne |
if set to true, when you click on any slice, all other slices will be pushed in
| |
| PullOutRadius |
how far pie slices should be pulled-out then user clicks on them (if left empty, uses 20% of pie radius)
| |
| PullOutTime |
pull-out time (when user clicks on the slice)
| |
| RedrawOnResize |
If your chart's width or height is set in percents, and redraw is set to true, the chart will be redrawn then screen size changes
(Inherited from ChartBase.) | |
| ReloadDataInterval |
How often data should be reloaded (time in seconds). Works only when data is loaded from external file
(Inherited from ChartBase.) | |
| RequiresDataBinding | Gets or sets a value indicating whether the DataBind()()() method should be called. (Inherited from BaseDataBoundControl.) | |
| SelectArguments | Gets a DataSourceSelectArguments object that the data-bound control uses when retrieving data from a data source control. (Inherited from DataBoundControl.) | |
| SequencedAnimation |
Whether the slices should appear all together or one after another
| |
| ShowPreloaderOnReload |
Whether to show preloader when data or settings are reloaded
(Inherited from ChartBase.) | |
| ShowPrintContextMenu |
Show flash players print menu?
(Inherited from ChartBase.) | |
| ShowZoomContextMenu |
Show flash players zoom menu?
(Inherited from ChartBase.) | |
| Site | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from Control.) | |
| SkinID | Gets or sets the skin to apply to the control. (Inherited from WebControl.) | |
| SliceAlpha |
Default slice opacity [0 - 100]. You can set individual alphas for every slice in data file. If you set alpha to 0 the slice will be inactive for mouse events and data labels will be hidden. This allows you to make not full pies and donuts.
| |
| SliceBaseColor |
Color of first slice
| |
| SliceBrightnessStep |
If SliceBaseColor is used, every next slice is filled with lighter by SliceBrightnessStep % color. Use negative value if you want to get darker colors
| |
| SliceGradient |
Allows slices to be filled with gradient colors
| |
| SliceGradientRatio |
(Numbers from (-255 to 255) separated by commas) Controls the gradient ratio
| |
| SliceHoverBrightness |
(from -255 to 255) The pie slice may darken/lighten when the use rolls over it. The intensity may be set here
| |
| SliceLinkTarget |
If pie slice has a link this is link target (_blank, _top...)
| |
| SliceOutlineAlpha |
Opacity for the outline of pie slices [0-100]
| |
| SliceOutlineColor |
Color for the outline of pie slices
| |
| StartAnimationAlpha |
Opacity from which to start animation.
| |
| StartAnimationEffect |
Start animation effect (bounce, regular, strong)
| |
| StartAnimationRadius |
Radius from where to start animation. If left empty, will use pie.radius * 5
| |
| StartAnimationTime |
Fly-in time in seconds. Set 0 to appear instantly
| |
| Style | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from WebControl.) | |
| TabIndex | Gets or sets the tab index of the Web server control. (Inherited from WebControl.) | |
| TagKey | Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
| TagName | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from WebControl.) | |
| TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) | |
| TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from Control.) | |
| ThousandsSeparator |
Thousands separator to be used in Flash
(Inherited from ChartBase.) | |
| ToolTip | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from WebControl.) | |
| UniqueID | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from Control.) | |
| UpgradeFlashPlayerMessage |
This message is displayed when user has no Flash Player or has an old Flash Player version
(Inherited from ChartBase.) | |
| UseAjaxIfAvailable |
If this is set to true control will attempt to use ASP.NET AJAX methods to registrer client scripts
(Inherited from ChartBase.) | |
| ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from Control.) | |
| ViewStateIgnoresCase | Gets a value that indicates whether the StateBag object is case-insensitive. (Inherited from Control.) | |
| Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from Control.) | |
| Width | (Overrides WebControl..::.Width.) |