Represents concentric circles divided on arcs depending on data.
Inheritance
object
ComponentBase
- IComponent
- IHandleEvent
- IHandleAfterRender
- JsonSerializable
- IDisposable
Constructors
Section titled "Constructors"constructor
public IgbDoughnutChart() Returns IgbDoughnutChart
Properties
Section titled "Properties"IgBlazor
Section titled "IgBlazor"Inherited from: BaseRendererControl
[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; } Height
Section titled "Height"Inherited from: BaseRendererControl
[Parameter]
public string Height { get; set; } Width
Section titled "Width"Inherited from: BaseRendererControl
[Parameter]
public string Width { get; set; } Class
Section titled "Class"Inherited from: BaseRendererControl
[Parameter]
public string Class { get; set; } AdditionalAttributes
Section titled "AdditionalAttributes"Inherited from: BaseRendererControl
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object> AdditionalAttributes { get; set; } EventBehavior
Section titled "EventBehavior"Inherited from: BaseRendererControl
Gets or sets how events are bubbled up from JavaScript to Blazor.
[Parameter]
public ControlEventBehavior EventBehavior { get; set; } ChildContent
Section titled "ChildContent"Inherited from: BaseRendererControl
[Parameter]
public RenderFragment ChildContent { get; set; } RoundTripDateConversion
Section titled "RoundTripDateConversion"Inherited from: BaseRendererControl
Gets or sets what type of date conversion to make when round tripping dates.
[Parameter]
public RoundTripDateConversion RoundTripDateConversion { get; set; } SupportsVisualChildren
Section titled "SupportsVisualChildren"Inherited from: BaseRendererControl
protected virtual bool SupportsVisualChildren { get; } UseDirectRender
Section titled "UseDirectRender"Inherited from: BaseRendererControl
protected virtual bool UseDirectRender { get; } DirectRenderElementName
Section titled "DirectRenderElementName"Inherited from: BaseRendererControl
protected virtual string DirectRenderElementName { get; } NeedsDynamicContent
Section titled "NeedsDynamicContent"Inherited from: BaseRendererControl
protected virtual bool NeedsDynamicContent { get; } UseCamelEnumValues
Section titled "UseCamelEnumValues"Inherited from: BaseRendererControl
protected virtual bool UseCamelEnumValues { get; } ActualPixelScalingRatio
Section titled "ActualPixelScalingRatio"Resolved pixel scaling ratio. Unless explicitly overridden by the IgbDoughnutChart.PixelScalingRatio property, this one returns the default ratio enforced by device. High resolution devices will initialize this property to a higher value.
[Parameter]
public double ActualPixelScalingRatio { get; set; } AllowSliceExplosion
Section titled "AllowSliceExplosion"Gets or sets whether the slices can be exploded.
[Parameter]
public bool AllowSliceExplosion { get; set; } AllowSliceSelection
Section titled "AllowSliceSelection"Gets or sets whether the slices can be selected.
[Parameter]
public bool AllowSliceSelection { get; set; } DefaultEventBehavior
Section titled "DefaultEventBehavior"Gets the components default event behavior.
protected override ControlEventBehavior DefaultEventBehavior { get; } InnerExtent
Section titled "InnerExtent"Gets or sets the inner extent of the doughnut chart. It is percent from the outer ring's radius.
[Parameter]
public double InnerExtent { get; set; } IsSurfaceInteractionDisabled
Section titled "IsSurfaceInteractionDisabled"Gets or sets whether all surface interactions with the plot area should be disabled.
[Parameter]
public bool IsSurfaceInteractionDisabled { get; set; } PixelScalingRatio
Section titled "PixelScalingRatio"Gets or sets the scaling value used to affect the pixel density of the control.
[Parameter]
public double PixelScalingRatio { get; set; } SelectedSliceFill
Section titled "SelectedSliceFill"Gets or sets the fill brush.
[Parameter]
public string SelectedSliceFill { get; set; } SelectedSliceOpacity
Section titled "SelectedSliceOpacity"Gets or sets the opacity.
[Parameter]
public double SelectedSliceOpacity { get; set; } SelectedSliceStroke
Section titled "SelectedSliceStroke"Gets or sets the stroke brush.
[Parameter]
public string SelectedSliceStroke { get; set; } SelectedSliceStrokeThickness
Section titled "SelectedSliceStrokeThickness"Gets or sets the stroke thickness.
[Parameter]
public double SelectedSliceStrokeThickness { get; set; } Series
Section titled "Series"Gets the current SeriesViewer object's child Series.
public IgbRingSeriesCollection Series { get; protected set; } Accessors
Section titled "Accessors"eventCallbacksCache
Section titled "eventCallbacksCache"Inherited from: BaseRendererControl
protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache _cachedSerializedContent
Section titled "_cachedSerializedContent"Inherited from: BaseRendererControl
protected string _cachedSerializedContent Methods
Section titled "Methods"ResolveEventBehavior()
Section titled "ResolveEventBehavior()"Inherited from: BaseRendererControl
Resolves the components event behavior if Auto is selected.
protected ControlEventBehavior ResolveEventBehavior() Returns any
ResolveDisplay()
Section titled "ResolveDisplay()"Inherited from: BaseRendererControl
protected virtual string ResolveDisplay() Returns any
ToSpinal(string)
Section titled "ToSpinal(string)"Inherited from: BaseRendererControl
protected string ToSpinal(string value) Parameters
- value:
string
Returns any
TransformSimpleKey(string)
Section titled "TransformSimpleKey(string)"Inherited from: BaseRendererControl
protected virtual string TransformSimpleKey(string key) Parameters
- key:
string
Returns any
IsTransformedEnumValue(string)
Section titled "IsTransformedEnumValue(string)"Inherited from: BaseRendererControl
protected virtual bool IsTransformedEnumValue(string key) Parameters
- key:
string
Returns any
TransformPotentialEnumValue(string, object)
Section titled "TransformPotentialEnumValue(string, object)"Inherited from: BaseRendererControl
protected virtual object TransformPotentialEnumValue(string key, object value) Parameters
- key:
string - value:
object
Returns any
BuildSequenceInfo(int)
Section titled "BuildSequenceInfo(int)"Inherited from: BaseRendererControl
protected virtual SequenceInfo BuildSequenceInfo(int startSequence) Parameters
- startSequence:
int
Returns any
BuildRenderTree(RenderTreeBuilder)
Section titled "BuildRenderTree(RenderTreeBuilder)"Inherited from: BaseRendererControl
protected override void BuildRenderTree(RenderTreeBuilder builder) Parameters
- builder:
RenderTreeBuilder
Returns any
TemplateContentType(string)
Section titled "TemplateContentType(string)"Inherited from: BaseRendererControl
protected Type TemplateContentType(string templateId) Parameters
- templateId:
string
Returns any
OnAfterRenderAsync(bool)
Section titled "OnAfterRenderAsync(bool)"Inherited from: BaseRendererControl
protected override Task OnAfterRenderAsync(bool firstRender) Parameters
- firstRender:
bool
Returns any
EnsureReady()
Section titled "EnsureReady()"Inherited from: BaseRendererControl
public Task EnsureReady() Returns any
MarkPropDirty(string)
Section titled "MarkPropDirty(string)"Inherited from: BaseRendererControl
protected void MarkPropDirty(string propertyName) Parameters
- propertyName:
string
Returns any
IsPropDirty(string)
Section titled "IsPropDirty(string)"Inherited from: BaseRendererControl
protected bool IsPropDirty(string propertyName) Parameters
- propertyName:
string
Returns any
Serialize(SerializationContext, string)
Section titled "Serialize(SerializationContext, string)"Inherited from: BaseRendererControl
public void Serialize(SerializationContext context, string propertyName = null) Parameters
- context:
SerializationContext - propertyName:
string
Returns any
Serialize()
Section titled "Serialize()"Inherited from: BaseRendererControl
public string Serialize() Returns any
InvokeMethod(string, object[], string[], ElementReference[])
Section titled "InvokeMethod(string, object[], string[], ElementReference[])"Inherited from: BaseRendererControl
protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null) Parameters
- methodName:
string - arguments:
object[] - types:
string[] - nativeElements:
ElementReference[]
Returns any
InvokeMethodSync(string, object[], string[], ElementReference[])
Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"Inherited from: BaseRendererControl
protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null) Parameters
- methodName:
string - arguments:
object[] - types:
string[] - nativeElements:
ElementReference[]
Returns any
SuspendNotifications(object)
Section titled "SuspendNotifications(object)"Inherited from: BaseRendererControl
Prevents data change notifications from be propagated to the component.
public void SuspendNotifications(object dataSource) Parameters
- dataSource:
object
Returns any
ResumeNotifications(object, bool)
Section titled "ResumeNotifications(object, bool)"Inherited from: BaseRendererControl
Resumes data change notifications.
public void ResumeNotifications(object dataSource, bool notify = true) Parameters
- dataSource:
object - notify:
bool
Returns any
NotifyUpdateItem(object, int, object, bool)
Section titled "NotifyUpdateItem(object, int, object, bool)"Inherited from: BaseRendererControl
public void NotifyUpdateItem(object dataSource, int index, object refItem, bool syncDataOnly = false) Parameters
- dataSource:
object - index:
int - refItem:
object - syncDataOnly:
bool
Returns any
OnRefChanged(string, object)
Section titled "OnRefChanged(string, object)"Inherited from: BaseRendererControl
public void OnRefChanged(string refName, object refValue) Parameters
- refName:
string - refValue:
object
Returns any
OnInvokeReturn(long, object)
Section titled "OnInvokeReturn(long, object)"Inherited from: BaseRendererControl
public void OnInvokeReturn(long invokeId, object returnValue) Parameters
- invokeId:
long - returnValue:
object
Returns any
Camelize(string)
Section titled "Camelize(string)"Inherited from: BaseRendererControl
protected string Camelize(string value) Parameters
- value:
string
Returns any
ToPascal(string)
Section titled "ToPascal(string)"Inherited from: BaseRendererControl
protected string ToPascal(string value) Parameters
- value:
string
Returns any
OnElementNameChanged(BaseRendererElement, string, string)
Section titled "OnElementNameChanged(BaseRendererElement, string, string)"Inherited from: BaseRendererControl
protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName) Parameters
- element:
BaseRendererElement - oldName:
string - newName:
string
Returns any
Dispose(bool)
Section titled "Dispose(bool)"Inherited from: BaseRendererControl
protected virtual void Dispose(bool disposing) Parameters
- disposing:
bool
Returns any
SetResourceStringAsync(string, string, string)
Section titled "SetResourceStringAsync(string, string, string)"Inherited from: BaseRendererControl
public Task<object> SetResourceStringAsync(string grouping, string id, string value) Parameters
- grouping:
string - id:
string - value:
string
Returns any
SetResourceStringAsync(string, string)
Section titled "SetResourceStringAsync(string, string)"Inherited from: BaseRendererControl
public Task<object> SetResourceStringAsync(string grouping, string json) Parameters
- grouping:
string - json:
string
Returns any
SetPropertyValue(object, PropertyInfo, JsonElement)
Section titled "SetPropertyValue(object, PropertyInfo, JsonElement)"Inherited from: BaseRendererControl
protected void SetPropertyValue(object item, PropertyInfo property, JsonElement jsonElement) Parameters
- item:
object - property:
PropertyInfo - jsonElement:
JsonElement
Returns any
SetPropertyValue(object, PropertyInfo, object)
Section titled "SetPropertyValue(object, PropertyInfo, object)"Inherited from: BaseRendererControl
protected void SetPropertyValue(object item, PropertyInfo property, object value) Parameters
- item:
object - property:
PropertyInfo - value:
object
Returns any
Dispose()
Section titled "Dispose()"Inherited from: BaseRendererControl
public void Dispose() Returns any
EnsureModulesLoaded()
Section titled "EnsureModulesLoaded()"protected override void EnsureModulesLoaded() Returns any
ExportSerializedVisualData()
Section titled "ExportSerializedVisualData()"public string ExportSerializedVisualData() Returns any
ExportSerializedVisualDataAsync()
Section titled "ExportSerializedVisualDataAsync()"Returns the chart visuals expressed as a serialized string.
public Task<string> ExportSerializedVisualDataAsync() Returns any
FindByName(string)
Section titled "FindByName(string)"public override object FindByName(string name) Parameters
- name:
string
Returns any
Flush()
Section titled "Flush()"public void Flush() Returns any
FlushAsync()
Section titled "FlushAsync()"Use to force the doughnut chart to finish any deferred work before printing or evaluating its visual.
public Task FlushAsync() Returns any
GetCenterCoordinates()
Section titled "GetCenterCoordinates()"public Point GetCenterCoordinates() Returns any
GetCenterCoordinatesAsync()
Section titled "GetCenterCoordinatesAsync()"Gets the center coordinates of the doughnut chart's center presenter.
public Task<Point> GetCenterCoordinatesAsync() Returns any
GetContainerID()
Section titled "GetContainerID()"public string GetContainerID() Returns any
GetContainerIDAsync()
Section titled "GetContainerIDAsync()"Gets the ID of the UI container.
public Task<string> GetContainerIDAsync() Returns any
GetHoleRadius()
Section titled "GetHoleRadius()"public double GetHoleRadius() Returns any
GetHoleRadiusAsync()
Section titled "GetHoleRadiusAsync()"Gets the hole radius of the doughnut chart's center presenter.
public Task<double> GetHoleRadiusAsync() Returns any
NotifyClearItems(object)
Section titled "NotifyClearItems(object)"public void NotifyClearItems(object source_) Parameters
- source_:
object
Returns any
NotifyClearItemsAsync(object)
Section titled "NotifyClearItemsAsync(object)"Used to manually notify the chart that the data source has reset or cleared its items.
public Task NotifyClearItemsAsync(object source_) Parameters
- source_:
object
Returns any
NotifyInsertItem(object, int, object)
Section titled "NotifyInsertItem(object, int, object)"public void NotifyInsertItem(object source_, int index, object newItem) Parameters
- source_:
object - index:
int - newItem:
object
Returns any
NotifyInsertItemAsync(object, int, object)
Section titled "NotifyInsertItemAsync(object, int, object)"public Task NotifyInsertItemAsync(object source_, int index, object newItem) Parameters
- source_:
object - index:
int - newItem:
object
Returns any
NotifyRemoveItem(object, int, object)
Section titled "NotifyRemoveItem(object, int, object)"public void NotifyRemoveItem(object source_, int index, object oldItem) Parameters
- source_:
object - index:
int - oldItem:
object
Returns any
NotifyRemoveItemAsync(object, int, object)
Section titled "NotifyRemoveItemAsync(object, int, object)"public Task NotifyRemoveItemAsync(object source_, int index, object oldItem) Parameters
- source_:
object - index:
int - oldItem:
object
Returns any
NotifyResized()
Section titled "NotifyResized()"public void NotifyResized() Returns any
NotifyResizedAsync()
Section titled "NotifyResizedAsync()"Called when the control has been resized.
public Task NotifyResizedAsync() Returns any
NotifySetItem(object, int, object, object)
Section titled "NotifySetItem(object, int, object, object)"public void NotifySetItem(object source_, int index, object oldItem, object newItem) Parameters
- source_:
object - index:
int - oldItem:
object - newItem:
object
Returns any
NotifySetItemAsync(object, int, object, object)
Section titled "NotifySetItemAsync(object, int, object, object)"public Task NotifySetItemAsync(object source_, int index, object oldItem, object newItem) Parameters
- source_:
object - index:
int - oldItem:
object - newItem:
object
Returns any
ProvideContainer(object)
Section titled "ProvideContainer(object)"public void ProvideContainer(object container) Parameters
- container:
object
Returns any
ProvideContainerAsync(object)
Section titled "ProvideContainerAsync(object)"Called by the UI framework to provide a UI container for rendering this control.
public Task ProvideContainerAsync(object container) Parameters
- container:
object
Returns any
Events
Section titled "Events"HoleDimensionsChanged
Section titled "HoleDimensionsChanged"[Parameter]
public EventCallback<IgbHoleDimensionsChangedEventArgs> HoleDimensionsChanged { get; set; } SliceClick
Section titled "SliceClick"[Parameter]
public EventCallback<IgbSliceClickEventArgs> SliceClick { get; set; } HoleDimensionsChangedScript
Section titled "HoleDimensionsChangedScript"[Parameter]
public string HoleDimensionsChangedScript { get; set; } SliceClickScript
Section titled "SliceClickScript"[Parameter]
public string SliceClickScript { get; set; }