Represents the base class for the pie chart.

IgrPieChartBase

new IgrPieChartBase(props: P): IgrPieChartBase

Returns IgrPieChartBase

actualBrushes: string[]
actualLabelInnerColor: string
actualLabelOuterColor: string
actualOutlines: string[]
actualPixelScalingRatio: number
allowSliceExplosion: boolean
allowSliceSelection: boolean
brushes: string[]
explodedRadius: number
explodedSlices: IgrIndexCollection
formatLabel: object
formatLegendLabel: object
innerExtent: number
isDragInteractionEnabled: boolean
isSurfaceInteractionDisabled: boolean
labelClick: object
labelExtent: number
labelFormat: string
labelFormatSpecifiers: any[]
labelInnerColor: string
labelMemberPath: string
labelOuterColor: string
labelsPosition: LabelsPosition
leaderLineMargin: number
leaderLineType: LeaderLineType
leaderLineVisibility: Visibility
legendEmptyValuesMode: LegendEmptyValuesMode
legendItemBadgeTemplate: IgDataTemplate
legendItemTemplate: IgDataTemplate
legendLabelFormat: string
legendLabelFormatSpecifiers: any[]
legendLabelMemberPath: string
legendOthersLabelFormat: string
legendOthersLabelFormatSpecifiers: any[]
othersCategoryFill: string
othersCategoryOpacity: number
othersCategoryStroke: string
othersCategoryStrokeThickness: number
othersCategoryText: string
othersCategoryThreshold: number
othersCategoryType: OthersCategoryType
othersLabelFormat: string
othersLabelFormatSpecifiers: any[]
outlines: string[]
pixelScalingRatio: number
radiusFactor: number
selectedItem: any
selectedItemChanged: object
selectedItemChanging: object
selectedItems: IgrObjectCollection
selectedItemsChanged: object
selectedItemsChanging: object
selectedSliceFill: string
selectedSliceOpacity: number
selectedSliceStroke: string
selectedSliceStrokeThickness: number
selectionMode: SliceSelectionMode
shouldDisplayMockData: boolean
shouldUseSkeletonStyleForMockData: boolean
sliceClick: object
sliceEnter: object
sliceHover: object
sliceLeave: object
startAngle: number
sweepDirection: SweepDirection
textStyle: string
toolTip: any
valueMemberPath: string
get nativeElement(): HTMLElement

Returns HTMLElement

componentDidMount(): void

Returns void

Invoked when the instance is being destroyed.

destroy(): void

Returns void

ensureOthersCategoryStyle(): void

Returns void

ensureSelectedStyle(): void

Returns void

Returns the chart visuals expressed as a serialized string.

exportSerializedVisualData(): string

Returns string

findByName(name: string): any

Parameters

  • name: string

Returns any

Use to force the pie chart to finish any deferred work before printing or evaluating its visual. This should only be called if the visual of the pie chart needs to be synchronously saved or evaluated. Calling this method too often will hinder the performance of the pie chart.

flush(): void

Returns void

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.

notifyClearItems(source_: any): void

Parameters

  • source_: any
    • The data source.

Returns void

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

notifyContainerResized(): void

Returns void

notifyInsertItem(source_: any, index: number, newItem: any): void

Parameters

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

Returns void

notifyRemoveItem(source_: any, index: number, oldItem: any): void

Parameters

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

Returns void

notifySetItem(source_: any, index: number, oldItem: any, newItem: any): void

Parameters

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

Returns void

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

provideContainer(container: any): void

Parameters

  • container: any
    • Reference to the container.

Returns void

Resets items data source.

removeWidgetLevelDataSource(): void

Returns void

render(): any

Returns any

Assigns data source for the items.

setWidgetLevelDataSource(source_: any): void

Parameters

  • source_: any
    • Array of the data source items.

Returns void

shouldComponentUpdate(nextProps: any, nextState: any): boolean

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

Simulates a mouse click action at the specified point.

simulateLeftClick(point: IgPoint): void

Parameters

  • point: IgPoint
    • The point to click at.

Returns void

Invoked when style is updated.

styleUpdated(): void

Returns void

_createFromInternal(internal: any): IgrPieChartBase

Parameters

  • internal: any

Returns IgrPieChartBase