Contains PieChart click event data.

Constructors

Accessors

  • get bounds(): IgRect
  • Gets the bounds of the slice.

    Returns IgRect

  • get dataContext(): any
  • Gets the slice data context.

    Returns any

  • get endAngle(): number
  • Gets the end angle of the slice.

    Returns number

  • get fill(): string
  • Gets the fill color of the slice.

    Returns string

  • get index(): number
  • Gets the index of the slice that was clicked.

    Returns number

  • get isExploded(): boolean
  • Gets or sets whether the slice is exploded.

    Returns boolean

  • set isExploded(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isOthersSlice(): boolean
  • Gets whether the current slice is part of the others slice.

    Returns boolean

  • get isSelected(): boolean
  • Gets or sets whether the slice is selected.

    Returns boolean

  • set isSelected(v): void
  • Parameters

    • v: boolean

    Returns void

  • get origin(): IgPoint
  • Gets the origin location of the slice.

    Returns IgPoint

  • get originalEvent(): any
  • Holds a reference to the original event that triggered slice click.

    Returns any

  • set originalEvent(v): void
  • Parameters

    • v: any

    Returns void

  • get outline(): string
  • Gets the outline color of the slice.

    Returns string

  • get radius(): number
  • Gets the radius of the slice.

    Returns number

  • get startAngle(): number
  • Gets the start angle of the slice.

    Returns number