Represents the base class for the pie chart.

Inheritance

object

Classes that extend this class.

Derived Classes
Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable
  • IDisposable

constructor

public IgbPieChartBase()

Returns IgbPieChartBase

Inherited from: BaseRendererControl

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Height { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Width { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Class { get; set; }

Inherited from: BaseRendererControl

[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object> AdditionalAttributes { get; set; }

Inherited from: BaseRendererControl

Gets or sets how events are bubbled up from JavaScript to Blazor.

[Parameter]
public ControlEventBehavior EventBehavior { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererControl

Gets or sets what type of date conversion to make when round tripping dates.

[Parameter]
public RoundTripDateConversion RoundTripDateConversion { get; set; }

Inherited from: BaseRendererControl

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererControl

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererControl

protected virtual string DirectRenderElementName { get; }

Inherited from: BaseRendererControl

protected virtual bool NeedsDynamicContent { get; }

Inherited from: BaseRendererControl

protected virtual bool UseCamelEnumValues { get; }

Gets the actual palette of brushes to use for coloring the slices.

[Parameter]
public string ActualBrushes { get; set; }
public IgbFormatSpecifierCollection ActualLabelFormatSpecifiers { get; }

Gets the actual color for labels rendered inside of the pie chart.

[Parameter]
public string ActualLabelInnerColor { get; set; }

Gets the actual color for labels rendered outside of the pie chart.

[Parameter]
public string ActualLabelOuterColor { get; set; }

Gets the actual legend item badge template used by the pie chart.

[Parameter]
public object ActualLegendItemBadgeTemplate { get; set; }

ActualLegendItemBadgeTemplateScript

Section titled "ActualLegendItemBadgeTemplateScript"

Provides a means of setting ActualLegendItemBadgeTemplate in the JavaScript environment.

[Parameter]
public string ActualLegendItemBadgeTemplateScript { get; set; }
public IgbFormatSpecifierCollection ActualLegendLabelFormatSpecifiers { get; }

ActualLegendOthersLabelFormatSpecifiers

Section titled "ActualLegendOthersLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ActualLegendOthersLabelFormatSpecifiers { get; }
public IgbFormatSpecifierCollection ActualOthersLabelFormatSpecifiers { get; }

Gets the actual palette of brushes to use for outlines on the slices.

[Parameter]
public string ActualOutlines { get; set; }

Resolved pixel scaling ratio. Unless explicitly overridden by the PieChartBase.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; }

Gets or sets whether the slices can be exploded.

[Parameter]
public bool AllowSliceExplosion { get; set; }

Gets or sets whether the slices can be selected.

[Parameter]
public bool AllowSliceSelection { get; set; }

Gets or sets the palette of brushes to use for coloring the slices.

[Parameter]
public string Brushes { get; set; }
public IgbFormatSpecifierCollection ContentLabelFormatSpecifiers { get; }
public IgbFormatSpecifierCollection ContentLegendLabelFormatSpecifiers { get; }

ContentLegendOthersLabelFormatSpecifiers

Section titled "ContentLegendOthersLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ContentLegendOthersLabelFormatSpecifiers { get; }
public IgbFormatSpecifierCollection ContentOthersLabelFormatSpecifiers { get; }

Gets or sets the data source for the chart.

[Parameter]
public object DataSource { get; set; }

Provides a means of setting DataSource in the JavaScript environment.

[Parameter]
public string DataSourceScript { get; set; }

Gets the components default event behavior.

protected override ControlEventBehavior DefaultEventBehavior { get; }

Determines how much the exploded slice is offset from the center. Value between 0 and 1.

[Parameter]
public double ExplodedRadius { get; set; }

Gets or sets the collection of exploded slice indices.

[Parameter]
public int[] ExplodedSlices { get; set; }

Provides a means of setting FormatLabel in the JavaScript environment.

[Parameter]
public string FormatLabelScript { get; set; }

Sets or gets a function which takes an object that produces a formatted label for displaying in the chart's legend.

[Parameter]
public string FormatLegendLabel { get; set; }

Provides a means of setting FormatLegendLabel in the JavaScript environment.

[Parameter]
public string FormatLegendLabelScript { get; set; }

Gets or sets the amount of space between the center and the start of the arc. This property should be set between 0 and 1.

[Parameter]
public double InnerExtent { get; set; }

Gets or sets whether the pie chart will handle drag interaction and make them avaiilable in its events.

[Parameter]
public bool IsDragInteractionEnabled { get; set; }

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

[Parameter]
public bool IsSurfaceInteractionDisabled { get; set; }

Gets or sets the pixel amount by which the labels are offset from the edge of the slices.

[Parameter]
public double LabelExtent { get; set; }

Gets or sets the label format string to use for the label.

[Parameter]
public string LabelFormat { get; set; }

Gets or sets the format specifiers to use with the LabelFormat string.

public IgbFormatSpecifierCollection LabelFormatSpecifiers { get; set; }

Gets or sets the color for labels rendered inside of the pie chart.

[Parameter]
public string LabelInnerColor { get; set; }

Gets or sets the property name that contains the labels.

[Parameter]
public string LabelMemberPath { get; set; }

Gets or sets the color for labels rendered outside of the pie chart.

[Parameter]
public string LabelOuterColor { get; set; }

Gets or sets the position of chart labels.

[Parameter]
public LabelsPosition LabelsPosition { get; set; }

Gets or sets the margin between a label and the end of its leader line. The default is 6 pixels.

[Parameter]
public double LeaderLineMargin { get; set; }

Gets or sets what type of leader lines will be used for the outside end labels.

[Parameter]
public LeaderLineType LeaderLineType { get; set; }

Gets or sets whether the leader lines are visible.

[Parameter]
public Visibility LeaderLineVisibility { get; set; }

Gets or sets the legend used for the current chart.

[Parameter]
public IgbLegendBase Legend { get; set; }

Determines display mode for zero values in the legend. For example, handling zero values as valid slices and providing them with proper appearance settings.

[Parameter]
public LegendEmptyValuesMode LegendEmptyValuesMode { get; set; }

Gets or sets the LegendItemBadgeTemplate property.

[Parameter]
public object LegendItemBadgeTemplate { get; set; }

Provides a means of setting LegendItemBadgeTemplate in the JavaScript environment.

[Parameter]
public string LegendItemBadgeTemplateScript { get; set; }

Gets or sets the LegendItemTemplate property.

[Parameter]
public object LegendItemTemplate { get; set; }

Provides a means of setting LegendItemTemplate in the JavaScript environment.

[Parameter]
public string LegendItemTemplateScript { get; set; }

Gets or sets the label format string to use for the label.

[Parameter]
public string LegendLabelFormat { get; set; }

Gets or sets the format specifiers to use with the LegendLabelFormat string.

public IgbFormatSpecifierCollection LegendLabelFormatSpecifiers { get; set; }

Gets or sets the property name that contains the legend labels.

[Parameter]
public string LegendLabelMemberPath { get; set; }

Gets or sets the label format string to use for the label.

[Parameter]
public string LegendOthersLabelFormat { get; set; }

Gets or sets the format specifiers to use with the LegendOthersLabelFormat string.

public IgbFormatSpecifierCollection LegendOthersLabelFormatSpecifiers { get; set; }

Provides a means of setting Legend in the JavaScript environment.

[Parameter]
public string LegendScript { get; set; }

Gets or sets the fill brush.

[Parameter]
public string OthersCategoryFill { get; set; }

Gets or sets the opacity.

[Parameter]
public double OthersCategoryOpacity { get; set; }

Gets or sets the stroke brush.

[Parameter]
public string OthersCategoryStroke { get; set; }

Gets or sets the stroke thickness.

[Parameter]
public double OthersCategoryStrokeThickness { get; set; }

Gets or sets the label of the Others slice.

[Parameter]
public string OthersCategoryText { get; set; }

Gets or sets the threshold value that determines if slices are grouped into the Others slice.

[Parameter]
public double OthersCategoryThreshold { get; set; }

Gets or sets whether to use numeric or percent-based threshold value.

[Parameter]
public OthersCategoryType OthersCategoryType { get; set; }

Gets or sets the label format string to use for the label.

[Parameter]
public string OthersLabelFormat { get; set; }

Gets or sets the format specifiers to use with the OthersLabelFormat string.

public IgbFormatSpecifierCollection OthersLabelFormatSpecifiers { get; set; }

Gets or sets the palette of brushes to use for outlines on the slices.

[Parameter]
public string Outlines { get; set; }
protected override string ParentTypeName { get; }

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

[Parameter]
public double PixelScalingRatio { get; set; }

Gets or sets the scaling factor of the chart's radius. Value between 0 and 1.

[Parameter]
public double RadiusFactor { get; set; }

Gets or sets the currently selected data item. If a different data item is provided the pie chart will select the slice associated with the new item.

[Parameter]
public object SelectedItem { get; set; }

Gets the currently selected data items. Adding or removing data items from this collection will select or deselect the slices associated with those items.

public IgbObjectCollection SelectedItems { get; set; }

Gets or sets the fill brush.

[Parameter]
public string SelectedSliceFill { get; set; }

Gets or sets the opacity.

[Parameter]
public double SelectedSliceOpacity { get; set; }

Gets or sets the stroke brush.

[Parameter]
public string SelectedSliceStroke { get; set; }

Gets or sets the stroke thickness.

[Parameter]
public double SelectedSliceStrokeThickness { get; set; }

Gets or sets which mode to use for selecting slices.

[Parameter]
public SliceSelectionMode SelectionMode { get; set; }

Gets or sets whether the pie chart should display mock data when data isn't present.

[Parameter]
public bool ShouldDisplayMockData { get; set; }

Gets or sets whether the pie chart should use a skeleton style for mock data.

[Parameter]
public bool ShouldUseSkeletonStyleForMockData { get; set; }

Gets or sets the starting angle of the chart.

[Parameter]
public double StartAngle { get; set; }

Gets or sets the rotational direction of the chart.

[Parameter]
public SweepDirection SweepDirection { get; set; }

Manually overrides the style to use for the labels.

[Parameter]
public string TextStyle { get; set; }
public override string Type { get; }

Gets or Sets the property name that contains the values.

[Parameter]
public string ValueMemberPath { get; set; }

Inherited from: BaseRendererControl

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererControl

protected string _cachedSerializedContent

Inherited from: BaseRendererControl

protected virtual void EnsureModulesLoaded()

Returns any

Inherited from: BaseRendererControl

Resolves the components event behavior if Auto is selected.

protected ControlEventBehavior ResolveEventBehavior()

Returns any

Inherited from: BaseRendererControl

protected virtual string ResolveDisplay()

Returns any

Inherited from: BaseRendererControl

protected string ToSpinal(string value)

Parameters

  • value: string

Returns any

Inherited from: BaseRendererControl

protected virtual string TransformSimpleKey(string key)

Parameters

  • key: string

Returns any

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

Inherited from: BaseRendererControl

protected virtual SequenceInfo BuildSequenceInfo(int startSequence)

Parameters

  • startSequence: int

Returns any

Inherited from: BaseRendererControl

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

Inherited from: BaseRendererControl

protected Type TemplateContentType(string templateId)

Parameters

  • templateId: string

Returns any

Inherited from: BaseRendererControl

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

  • firstRender: bool

Returns any

Inherited from: BaseRendererControl

public Task EnsureReady()

Returns any

Inherited from: BaseRendererControl

protected void MarkPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

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

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

Inherited from: BaseRendererControl

Prevents data change notifications from be propagated to the component.

public void SuspendNotifications(object dataSource)

Parameters

  • dataSource: object

Returns any

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

Inherited from: BaseRendererControl

public void OnRefChanged(string refName, object refValue)

Parameters

  • refName: string
  • refValue: object

Returns any

Inherited from: BaseRendererControl

public void OnInvokeReturn(long invokeId, object returnValue)

Parameters

  • invokeId: long
  • returnValue: object

Returns any

Inherited from: BaseRendererControl

protected string Camelize(string value)

Parameters

  • value: string

Returns any

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

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

Inherited from: BaseRendererControl

public void Dispose()

Returns any

public void Destroy()

Returns any

Invoked when the instance is being destroyed.

public Task DestroyAsync()

Returns any

public string ExportSerializedVisualData()

Returns any

Returns the chart visuals expressed as a serialized string.

public Task<string> ExportSerializedVisualDataAsync()

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

public void Flush()

Returns any

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

public Task FlushAsync()

Returns any

public object GetCurrentSelectedItem()

Returns any

public Task<object> GetCurrentSelectedItemAsync()

Returns any

public IgbObjectCollection GetCurrentSelectedItems()

Returns any

public Task<IgbObjectCollection> GetCurrentSelectedItemsAsync()

Returns any

public void NotifyClearItems(object source_)

Parameters

  • source_: object

Returns any

Manually notifies the pie chart's data source that the data it has bound to has been cleared and needs to be re-examined. This should not be called if the data that the pie chart is bound to is already observable.

public Task NotifyClearItemsAsync(object source_)

Parameters

  • source_: object

Returns any

public void NotifyContainerResized()

Returns any

Notification from the containing object that the container has been resized.

public Task NotifyContainerResizedAsync()

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

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

public void ProvideContainer(object container)

Parameters

  • container: object

Returns any

Invoked by the containing object to provide reference to the container.

public Task ProvideContainerAsync(object container)

Parameters

  • container: object

Returns any

public void RemoveWidgetLevelDataSource()

Returns any

Resets items data source.

public Task RemoveWidgetLevelDataSourceAsync()

Returns any

public void SetWidgetLevelDataSource(object source_)

Parameters

  • source_: object

Returns any

SetWidgetLevelDataSourceAsync(object)

Section titled "SetWidgetLevelDataSourceAsync(object)"

Assigns data source for the items.

public Task SetWidgetLevelDataSourceAsync(object source_)

Parameters

  • source_: object

Returns any

public void SimulateLeftClick(Point point)

Parameters

  • point: Point

Returns any

Simulates a mouse click action at the specified point.

public Task SimulateLeftClickAsync(Point point)

Parameters

  • point: Point

Returns any

public void StyleUpdated()

Returns any

Invoked when style is updated.

public Task StyleUpdatedAsync()

Returns any

[Parameter]
public EventCallback<IgbLabelClickEventArgs> LabelClick { get; set; }
[Parameter]
public EventCallback<IgbSelectedItemChangedEventArgs> SelectedItemChanged { get; set; }
[Parameter]
public EventCallback<IgbSelectedItemChangingEventArgs> SelectedItemChanging { get; set; }
[Parameter]
public EventCallback<IgbSelectedItemsChangedEventArgs> SelectedItemsChanged { get; set; }
[Parameter]
public EventCallback<IgbSelectedItemsChangingEventArgs> SelectedItemsChanging { get; set; }
[Parameter]
public EventCallback<IgbSliceClickEventArgs> SliceClick { get; set; }
[Parameter]
public EventCallback<IgbSliceEventArgs> SliceEnter { get; set; }
[Parameter]
public EventCallback<IgbSliceEventArgs> SliceHover { get; set; }
[Parameter]
public EventCallback<IgbSliceEventArgs> SliceLeave { get; set; }
[Parameter]
public string LabelClickScript { get; set; }
[Parameter]
public string SelectedItemChangedScript { get; set; }
[Parameter]
public string SelectedItemChangingScript { get; set; }
[Parameter]
public string SelectedItemsChangedScript { get; set; }
[Parameter]
public string SelectedItemsChangingScript { get; set; }
[Parameter]
public string SliceClickScript { get; set; }
[Parameter]
public string SliceEnterScript { get; set; }
[Parameter]
public string SliceHoverScript { get; set; }
[Parameter]
public string SliceLeaveScript { get; set; }