Show / Hide Table of Contents

Class IgbDoughnutChart

Represents concentric circles divided on arcs depending on data.

Inheritance
System.Object
BaseRendererControl
IgbDoughnutChart
Implements
JsonSerializable
System.IDisposable
Inherited Members
BaseRendererControl._cachedSerializedContent
BaseRendererControl.ResolveDisplay()
BaseRendererControl.ToSpinal(String)
BaseRendererControl.TransformSimpleKey(String)
BaseRendererControl.IsTransformedEnumValue(String)
BaseRendererControl.TransformPotentialEnumValue(String, Object)
BaseRendererControl.BuildSequenceInfo(Int32)
BaseRendererControl.BuildRenderTree(RenderTreeBuilder)
BaseRendererControl.TemplateContentType(String)
BaseRendererControl.OnAfterRenderAsync(Boolean)
BaseRendererControl.EnsureReady()
BaseRendererControl.MarkPropDirty(String)
BaseRendererControl.IsPropDirty(String)
BaseRendererControl.Serialize(SerializationContext, String)
BaseRendererControl.Serialize()
BaseRendererControl.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererControl.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererControl.SuspendNotifications(Object)
BaseRendererControl.ResumeNotifications(Object, Boolean)
BaseRendererControl.NotifyUpdateItem(Object, Int32, Object, Boolean)
BaseRendererControl.OnRefChanged(String, Object)
BaseRendererControl.OnInvokeReturn(Int64, Object)
BaseRendererControl.Camelize(String)
BaseRendererControl.ToPascal(String)
BaseRendererControl.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererControl.Dispose(Boolean)
BaseRendererControl.SetResourceStringAsync(String, String, String)
BaseRendererControl.SetResourceStringAsync(String, String)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, JsonElement)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, Object)
BaseRendererControl.Finalize()
BaseRendererControl.Dispose()
BaseRendererControl.IgBlazor
BaseRendererControl.Height
BaseRendererControl.Width
BaseRendererControl.Class
BaseRendererControl.AdditionalAttributes
BaseRendererControl.ChildContent
BaseRendererControl.RoundTripDateConversion
BaseRendererControl.SupportsVisualChildren
BaseRendererControl.UseDirectRender
BaseRendererControl.DirectRenderElementName
BaseRendererControl.NeedsDynamicContent
BaseRendererControl.UseCamelEnumValues
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbDoughnutChart : BaseRendererControl, RefSink, JsonSerializable, IDisposable

Constructors

IgbDoughnutChart()

Declaration
public IgbDoughnutChart()

Properties

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.

Declaration
public double ActualPixelScalingRatio { get; set; }
Property Value
Type Description
System.Double

ActualSeries

Declaration
public IgbRingSeriesCollection ActualSeries { get; }
Property Value
Type Description
IgbRingSeriesCollection

AllowSliceExplosion

Gets or sets whether the slices can be exploded.

Declaration
public bool AllowSliceExplosion { get; set; }
Property Value
Type Description
System.Boolean

AllowSliceSelection

Gets or sets whether the slices can be selected.

Declaration
public bool AllowSliceSelection { get; set; }
Property Value
Type Description
System.Boolean

ContentSeries

Declaration
public IgbRingSeriesCollection ContentSeries { get; }
Property Value
Type Description
IgbRingSeriesCollection

HoleDimensionsChanged

Declaration
public EventCallback<IgbHoleDimensionsChangedEventArgs> HoleDimensionsChanged { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbHoleDimensionsChangedEventArgs>

HoleDimensionsChangedScript

Declaration
public string HoleDimensionsChangedScript { get; set; }
Property Value
Type Description
System.String

InnerExtent

Gets or sets the inner extent of the doughnut chart. It is percent from the outer ring's radius.

Declaration
public double InnerExtent { get; set; }
Property Value
Type Description
System.Double

IsSurfaceInteractionDisabled

Gets or sets whether all surface interactions with the plot area should be disabled.

Declaration
public bool IsSurfaceInteractionDisabled { get; set; }
Property Value
Type Description
System.Boolean

ParentTypeName

Declaration
protected override string ParentTypeName { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererControl.ParentTypeName

PixelScalingRatio

Gets or sets the scaling value used to affect the pixel density of the control.

Declaration
public double PixelScalingRatio { get; set; }
Property Value
Type Description
System.Double
Remarks

A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.

SelectedSliceFill

Gets or sets the fill brush.

Declaration
public string SelectedSliceFill { get; set; }
Property Value
Type Description
System.String

SelectedSliceOpacity

Gets or sets the opacity.

Declaration
public double SelectedSliceOpacity { get; set; }
Property Value
Type Description
System.Double

SelectedSliceStroke

Gets or sets the stroke brush.

Declaration
public string SelectedSliceStroke { get; set; }
Property Value
Type Description
System.String

SelectedSliceStrokeThickness

Gets or sets the stroke thickness.

Declaration
public double SelectedSliceStrokeThickness { get; set; }
Property Value
Type Description
System.Double

Series

Gets the current SeriesViewer object's child Series.

Declaration
public IgbRingSeriesCollection Series { get; protected set; }
Property Value
Type Description
IgbRingSeriesCollection

SliceClick

Declaration
public EventCallback<IgbSliceClickEventArgs> SliceClick { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbSliceClickEventArgs>

SliceClickScript

Declaration
public string SliceClickScript { get; set; }
Property Value
Type Description
System.String

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererControl.Type

Methods

EnsureModulesLoaded()

Declaration
protected override void EnsureModulesLoaded()
Overrides
BaseRendererControl.EnsureModulesLoaded()

ExportSerializedVisualData()

Declaration
public string ExportSerializedVisualData()
Returns
Type Description
System.String

ExportSerializedVisualDataAsync()

Returns the chart visuals expressed as a serialized string.

Declaration
public Task<string> ExportSerializedVisualDataAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.String>

FindByName(String)

Declaration
public override object FindByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
BaseRendererControl.FindByName(String)

Flush()

Declaration
public void Flush()

FlushAsync()

Use to force the doughnut chart to finish any deferred work before printing or evaluating its visual.

Declaration
public Task FlushAsync()
Returns
Type Description
System.Threading.Tasks.Task
Remarks

This should only be called if the visual of the doughnut chart needs to be synchronously saved or evaluated. Calling this method too often will hinder the performance of the doughnut chart.

GetCenterCoordinates()

Declaration
public Point GetCenterCoordinates()
Returns
Type Description
Point

GetCenterCoordinatesAsync()

Gets the center coordinates of the doughnut chart's center presenter.

Declaration
public Task<Point> GetCenterCoordinatesAsync()
Returns
Type Description
System.Threading.Tasks.Task<Point>

GetContainerID()

Declaration
public string GetContainerID()
Returns
Type Description
System.String

GetContainerIDAsync()

Gets the ID of the UI container.

Declaration
public Task<string> GetContainerIDAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.String>

GetHoleRadius()

Declaration
public double GetHoleRadius()
Returns
Type Description
System.Double

GetHoleRadiusAsync()

Gets the hole radius of the doughnut chart's center presenter.

Declaration
public Task<double> GetHoleRadiusAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

NotifyClearItems(Object)

Declaration
public void NotifyClearItems(object source_)
Parameters
Type Name Description
System.Object source_

NotifyClearItemsAsync(Object)

Used to manually notify the chart that the data source has reset or cleared its items.

Declaration
public Task NotifyClearItemsAsync(object source_)
Parameters
Type Name Description
System.Object source_
Returns
Type Description
System.Threading.Tasks.Task

NotifyInsertItem(Object, Int32, Object)

Declaration
public void NotifyInsertItem(object source_, int index, object newItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object newItem

NotifyInsertItemAsync(Object, Int32, Object)

Declaration
public Task NotifyInsertItemAsync(object source_, int index, object newItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object newItem
Returns
Type Description
System.Threading.Tasks.Task

NotifyRemoveItem(Object, Int32, Object)

Declaration
public void NotifyRemoveItem(object source_, int index, object oldItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object oldItem

NotifyRemoveItemAsync(Object, Int32, Object)

Declaration
public Task NotifyRemoveItemAsync(object source_, int index, object oldItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object oldItem
Returns
Type Description
System.Threading.Tasks.Task

NotifyResized()

Declaration
public void NotifyResized()

NotifyResizedAsync()

Called when the control has been resized.

Declaration
public Task NotifyResizedAsync()
Returns
Type Description
System.Threading.Tasks.Task

NotifySetItem(Object, Int32, Object, Object)

Declaration
public void NotifySetItem(object source_, int index, object oldItem, object newItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object oldItem
System.Object newItem

NotifySetItemAsync(Object, Int32, Object, Object)

Declaration
public Task NotifySetItemAsync(object source_, int index, object oldItem, object newItem)
Parameters
Type Name Description
System.Object source_
System.Int32 index
System.Object oldItem
System.Object newItem
Returns
Type Description
System.Threading.Tasks.Task

ProvideContainer(Object)

Declaration
public void ProvideContainer(object container)
Parameters
Type Name Description
System.Object container

ProvideContainerAsync(Object)

Called by the UI framework to provide a UI container for rendering this control.

Declaration
public Task ProvideContainerAsync(object container)
Parameters
Type Name Description
System.Object container

The UI container element.

Returns
Type Description
System.Threading.Tasks.Task

Implements

JsonSerializable
System.IDisposable
In This Article
  • Constructors
    • IgbDoughnutChart()
  • Properties
    • ActualPixelScalingRatio
    • ActualSeries
    • AllowSliceExplosion
    • AllowSliceSelection
    • ContentSeries
    • HoleDimensionsChanged
    • HoleDimensionsChangedScript
    • InnerExtent
    • IsSurfaceInteractionDisabled
    • ParentTypeName
    • PixelScalingRatio
    • SelectedSliceFill
    • SelectedSliceOpacity
    • SelectedSliceStroke
    • SelectedSliceStrokeThickness
    • Series
    • SliceClick
    • SliceClickScript
    • Type
  • Methods
    • EnsureModulesLoaded()
    • ExportSerializedVisualData()
    • ExportSerializedVisualDataAsync()
    • FindByName(String)
    • Flush()
    • FlushAsync()
    • GetCenterCoordinates()
    • GetCenterCoordinatesAsync()
    • GetContainerID()
    • GetContainerIDAsync()
    • GetHoleRadius()
    • GetHoleRadiusAsync()
    • NotifyClearItems(Object)
    • NotifyClearItemsAsync(Object)
    • NotifyInsertItem(Object, Int32, Object)
    • NotifyInsertItemAsync(Object, Int32, Object)
    • NotifyRemoveItem(Object, Int32, Object)
    • NotifyRemoveItemAsync(Object, Int32, Object)
    • NotifyResized()
    • NotifyResizedAsync()
    • NotifySetItem(Object, Int32, Object, Object)
    • NotifySetItemAsync(Object, Int32, Object, Object)
    • ProvideContainer(Object)
    • ProvideContainerAsync(Object)
  • Implements