Represents concentric circles divided on arcs depending on data.

Hierarchy

Hierarchy

  • IgxDoughnutChartComponent

Implements

  • OnDestroy

Constructors

  • Parameters

    • renderer: Renderer2
    • _elRef: ViewContainerRef
    • ngZone: NgZone
    • injector: Injector
    • componentFactoryResolver: ComponentFactoryResolver

    Returns IgxDoughnutChartComponent

Properties

_dynamicContent: ViewContainerRef

The series actually present in the chart. Do not directly modify this array. This array's contents can be modified by causing Angular to reproject the child content. Or adding and removing series from the manual series collection on the series property.

container: Element
contentSeries: QueryList<IgxRingSeriesBaseComponent>
ngAcceptInputType_actualPixelScalingRatio: string | number
ngAcceptInputType_allowSliceExplosion: string | boolean
ngAcceptInputType_allowSliceSelection: string | boolean
ngAcceptInputType_innerExtent: string | number
ngAcceptInputType_isSurfaceInteractionDisabled: string | boolean
ngAcceptInputType_pixelScalingRatio: string | number
ngAcceptInputType_selectedSliceOpacity: string | number
ngAcceptInputType_selectedSliceStrokeThickness: string | number
ɵcmp: unknown
ɵfac: unknown

Accessors

  • get actualPixelScalingRatio(): number
  • Resolved pixel scaling ratio. Unless explicitly overridden by the IgxDoughnutChart.PixelScalingRatioComponent property, this one returns the default ratio enforced by device. High resolution devices will initialize this property to a higher value.

    Returns number

  • set actualPixelScalingRatio(v: number): void
  • Parameters

    • v: number

    Returns void

  • get allowSliceExplosion(): boolean
  • Gets or sets whether the slices can be exploded.

    Returns boolean

  • set allowSliceExplosion(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get allowSliceSelection(): boolean
  • Gets or sets whether the slices can be selected.

    Returns boolean

  • set allowSliceSelection(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get height(): string
  • Returns string

  • set height(value: string): void
  • Parameters

    • value: string

    Returns void

  • get holeDimensionsChanged(): EventEmitter<{
        args: IgxHoleDimensionsChangedEventArgs;
        sender: any;
    }>
  • Raised when the dimensions (center point or radius) of the doughnut hole change.

    Returns EventEmitter<{
        args: IgxHoleDimensionsChangedEventArgs;
        sender: any;
    }>

  • get i(): XamDoughnutChart
  • Returns XamDoughnutChart

  • get innerExtent(): number
  • Gets or sets the inner extent of the doughnut chart. It is percent from the outer ring's radius.

    Returns number

  • set innerExtent(v: number): void
  • Parameters

    • v: number

    Returns void

  • get isSurfaceInteractionDisabled(): boolean
  • Gets or sets whether all surface interactions with the plot area should be disabled.

    Returns boolean

  • set isSurfaceInteractionDisabled(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get pixelScalingRatio(): number
  • Gets or sets the scaling value used to affect the pixel density of the control. A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.

    Returns number

  • set pixelScalingRatio(v: number): void
  • Parameters

    • v: number

    Returns void

  • get selectedSliceFill(): string
  • Gets or sets the fill brush.

    Returns string

  • set selectedSliceFill(v: string): void
  • Parameters

    • v: string

    Returns void

  • get selectedSliceOpacity(): number
  • Gets or sets the opacity.

    Returns number

  • set selectedSliceOpacity(v: number): void
  • Parameters

    • v: number

    Returns void

  • get selectedSliceStroke(): string
  • Gets or sets the stroke brush.

    Returns string

  • set selectedSliceStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get selectedSliceStrokeThickness(): number
  • Gets or sets the stroke thickness.

    Returns number

  • set selectedSliceStrokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get sliceClick(): EventEmitter<{
        args: IgxSliceClickEventArgs;
        sender: any;
    }>
  • Raised when the slice is clicked.

    Returns EventEmitter<{
        args: IgxSliceClickEventArgs;
        sender: any;
    }>

  • get width(): string
  • Returns string

  • set width(value: string): void
  • Parameters

    • value: string

    Returns void

Methods

  • Returns void

  • Returns the chart visuals expressed as a serialized string.

    Returns string

  • Parameters

    • name: string

    Returns any

  • Use to force the doughnut chart to finish any deferred work before printing or evaluating its visual. 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.

    Returns void

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

    Returns IgPoint

  • Gets the ID of the UI container.

    Returns string

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

    Returns number

  • Returns void

  • Returns void

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

    Parameters

    • source_: any

    Returns void

  • Parameters

    • source_: any
    • index: number
    • newItem: any

    Returns void

  • Parameters

    • source_: any
    • index: number
    • oldItem: any

    Returns void

  • Called when the control has been resized.

    Returns void

  • Parameters

    • source_: any
    • index: number
    • oldItem: any
    • newItem: any

    Returns void

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

    Parameters

    • container: any
      • The UI container element.

    Returns void