Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PieSegment

Implements

Index

Constructors

constructor

  • Parameters

    Returns PieSegment

Properties

Readonly id

id: string = generateGuid()

Static Readonly DEFAULT_DELTA

DEFAULT_DELTA: 15 = 15

Accessors

color

  • get color(): string
  • set color(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

colorLinearGradient

  • Returns GradientParams

  • Parameters

    Returns void

delta

  • get delta(): number
  • set delta(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

isSelected

  • get isSelected(): boolean
  • set isSelected(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

text

  • get text(): string
  • set text(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

value

  • get value(): number
  • set value(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

getPercentage

  • getPercentage(total: number): string
  • Parameters

    • total: number

    Returns string

onAttach

onDetach

  • onDetach(): void
  • Returns void

Generated using TypeDoc