PieChartBuilder Methods
A PieChart control.Name | Description |
---|---|
AdaptiveLayout(Action<PieChartAdaptiveLayoutBuilder>) | Specifies adaptive layout properties. Mirrors the client-side adaptiveLayout object. |
Animation(JS) | Specifies animation properties. Mirrors the client-side animation option. |
Animation(Action<PieChartAnimationBuilder>) | Specifies animation properties. Mirrors the client-side animation object. |
Animation(Boolean) | Specifies animation properties. Mirrors the client-side animation option. |
Annotations(Action<CollectionFactory<PieChartAnnotationConfigBuilder>>) | Specifies the annotation collection. Mirrors the client-side annotations object. |
CenterTemplate(JS) | Specifies the client-side centerTemplate. |
CenterTemplate(RazorBlock) | Specifies the client-side centerTemplate. |
CenterTemplate(TemplateName) | Specifies the client-side centerTemplate. |
CenterTemplate(String) | Specifies the client-side centerTemplate. |
CommonAnnotationSettings(Action<PieChartCommonAnnotationConfigBuilder>) | Specifies settings common for all annotations in the PieChart. Mirrors the client-side commonAnnotationSettings object. |
CommonSeriesSettings(Action<PieChartCommonSeriesSettingsBuilder>) | An object defining the configuration properties that are common for all series of the PieChart UI component. Mirrors the client-side commonSeriesSettings object. |
CustomizeAnnotation(RazorBlock) | Mirrors the client-side customizeAnnotation option. |
CustomizeAnnotation(String) | Mirrors the client-side customizeAnnotation option. |
CustomizeLabel(RazorBlock) | Customizes the appearance of an individual point label. Mirrors the client-side customizeLabel option. |
CustomizeLabel(String) | Customizes the appearance of an individual point label. Mirrors the client-side customizeLabel option. |
CustomizePoint(RazorBlock) | Mirrors the client-side customizePoint option. |
CustomizePoint(String) | Mirrors the client-side customizePoint option. |
DataSource(JS) | Binds the UI component to data. Mirrors the client-side dataSource option. |
DataSource(IEnumerable, String[]) |
Binds a PieChart control to a collection: Array , List , or IEnumerable .
|
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) | Binds a PieChart control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more. |
DataSource(String, String[]) | Binds a PieChart control to read-only data in JSON format. |
DataSourceOptions(Action<DataSourceOptionsBuilder>) | Provides access to methods that mirror client-side data source options. |
Diameter(JS) | Specifies the diameter of the pie. Mirrors the client-side diameter option. |
Diameter(Double) | Specifies the diameter of the pie. Mirrors the client-side diameter option. |
Disabled(JS) | Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option. |
Disabled(Boolean) | Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option. |
ElementAttr(JS) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Dictionary<String, Object>) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(String, Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
Export(Action<PieChartExportBuilder>) | Configures the exporting and printing features. Mirrors the client-side export object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
ID(JS) |
Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
|
ID(String) |
Specifies the id attribute for the control’s HTML element.
|
InnerRadius(JS) | Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. The value should be between 0 and 1. Mirrors the client-side innerRadius option. |
InnerRadius(Double) | Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. The value should be between 0 and 1. Mirrors the client-side innerRadius option. |
Legend(Action<PieChartLegendBuilder>) | Specifies PieChart legend properties. Mirrors the client-side legend object. |
LoadingIndicator(Action<PieChartLoadingIndicatorBuilder>) | Configures the loading indicator. Mirrors the client-side loadingIndicator object. |
Margin(Action<PieChartMarginBuilder>) | Generates space around the UI component. Mirrors the client-side margin object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MinDiameter(JS) | Specifies the minimum diameter of the pie. Mirrors the client-side minDiameter option. |
MinDiameter(Double) | Specifies the minimum diameter of the pie. Mirrors the client-side minDiameter option. |
OnDisposing(RazorBlock) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
OnDisposing(String) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
OnDone(RazorBlock) | A function that is executed when all series are ready. Mirrors the client-side onDone option. |
OnDone(String) | A function that is executed when all series are ready. Mirrors the client-side onDone option. |
OnDrawn(RazorBlock) | A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option. |
OnDrawn(String) | A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option. |
OnExported(RazorBlock) | A function that is executed after the UI component is exported. Mirrors the client-side onExported option. |
OnExported(String) | A function that is executed after the UI component is exported. Mirrors the client-side onExported option. |
OnExporting(RazorBlock) | A function that is executed before the UI component is exported. Mirrors the client-side onExporting option. |
OnExporting(String) | A function that is executed before the UI component is exported. Mirrors the client-side onExporting option. |
OnFileSaving(RazorBlock) | A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option. |
OnFileSaving(String) | A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option. |
OnIncidentOccurred(RazorBlock) | A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option. |
OnIncidentOccurred(String) | A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option. |
OnInitialized(RazorBlock) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
OnInitialized(String) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
OnLegendClick(RazorBlock) | A function that is executed when a legend item is clicked or tapped. Mirrors the client-side onLegendClick option. |
OnLegendClick(String) | A function that is executed when a legend item is clicked or tapped. Mirrors the client-side onLegendClick option. |
OnOptionChanged(RazorBlock) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
OnOptionChanged(String) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
OnPointClick(RazorBlock) | A function that is executed when a series point is clicked or tapped. Mirrors the client-side onPointClick option. |
OnPointClick(String) | A function that is executed when a series point is clicked or tapped. Mirrors the client-side onPointClick option. |
OnPointHoverChanged(RazorBlock) | A function that is executed after the pointer enters or leaves a series point. Mirrors the client-side onPointHoverChanged option. |
OnPointHoverChanged(String) | A function that is executed after the pointer enters or leaves a series point. Mirrors the client-side onPointHoverChanged option. |
OnPointSelectionChanged(RazorBlock) | A function that is executed when a series point is selected or selection is canceled. Mirrors the client-side onPointSelectionChanged option. |
OnPointSelectionChanged(String) | A function that is executed when a series point is selected or selection is canceled. Mirrors the client-side onPointSelectionChanged option. |
OnTooltipHidden(RazorBlock) | A function that is executed when a tooltip becomes hidden. Mirrors the client-side onTooltipHidden option. |
OnTooltipHidden(String) | A function that is executed when a tooltip becomes hidden. Mirrors the client-side onTooltipHidden option. |
OnTooltipShown(RazorBlock) | A function that is executed when a tooltip appears. Mirrors the client-side onTooltipShown option. |
OnTooltipShown(String) | A function that is executed when a tooltip appears. Mirrors the client-side onTooltipShown option. |
Option(String, Object) | Specifies an option by its name. |
Palette(JS) | Sets the palette to be used to colorize series and their elements. Mirrors the client-side palette option. |
Palette(VizPalette) | Sets the palette to be used to colorize series and their elements. Mirrors the client-side palette option. |
Palette(IEnumerable<String>) | Sets the palette to be used to colorize series and their elements. Mirrors the client-side palette option. |
PaletteExtensionMode(VizPaletteExtensionMode) | Specifies what to do with colors in the palette when their number is less than the number of series (in the Chart UI component) or points in a series (in the PieChart UI component). Mirrors the client-side paletteExtensionMode option. |
PathModified(JS) | Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option. |
PathModified(Boolean) | Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option. |
PointSelectionMode(ChartElementSelectionMode) | Mirrors the client-side pointSelectionMode option. |
RedrawOnResize(JS) | Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option. |
RedrawOnResize(Boolean) | Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Render() | Inherited from WidgetBuilder. |
ResolveLabelOverlapping(ShiftLabelOverlap) | |
RtlEnabled(JS) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
RtlEnabled(Boolean) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
SegmentsDirection(PieChartSegmentsDirection) | Specifies the direction that the pie chart segments will occupy. Mirrors the client-side segmentsDirection option. |
Series(Action<CollectionFactory<PieChartSeriesBuilder>>) | Provides access to the client-side series option that represents a PieChart series collection. |
SeriesTemplate(Action<PieChartSeriesTemplateBuilder>) | Defines properties for the series template. Mirrors the client-side seriesTemplate object. |
Size(Action<PieChartSizeBuilder>) | Mirrors the client-side size object. |
SizeGroup(JS) | Allows you to display several adjoining pies in the same size. Mirrors the client-side sizeGroup option. |
SizeGroup(String) | Allows you to display several adjoining pies in the same size. Mirrors the client-side sizeGroup option. |
StartAngle(JS) | Specifies the angle in arc degrees from which the first segment of a pie chart should start. Mirrors the client-side startAngle option. |
StartAngle(Double) | Specifies the angle in arc degrees from which the first segment of a pie chart should start. Mirrors the client-side startAngle option. |
Theme(VizTheme) | Sets the name of the theme the UI component uses. Mirrors the client-side theme option. |
Title(JS) | Mirrors the client-side title option. |
Title(Action<PieChartTitleBuilder>) | Mirrors the client-side title object. |
Title(String) | Mirrors the client-side title option. |
Tooltip(Action<PieChartTooltipBuilder>) | Mirrors the client-side tooltip object. |
ToString() | Inherited from WidgetBuilder. |
ToTemplate() | Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder. |
Type(PieChartType) | Specifies the type of the pie chart series. Mirrors the client-side type option. |
See Also