Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PyramidChartWithLabelsInsideSlices

Index

Properties

engine

engine: PublicEngine

pixelScale

pixelScale: Vec2<Scale>

uiScale

uiScale: Vec2<Scale>

Methods

addLegendBox

  • Type parameters

    • UIElementType: UIPart

    Parameters

    Returns UIElementType & UIElement

    LegendBox that fulfills interfaces: UIElementType (typeparam) and UIElement

addSlice

addSlices

addUIElement

  • Type parameters

    • UIElementType: UIPart

    Parameters

    Returns UIElementType & UIElement

    Object that fulfills interfaces: UIElementType (typeparam) and UIElement

disableAnimations

  • disableAnimations(): this
  • Returns this

    Chart itself for fluent interface.

dispose

  • dispose(): this
  • Returns this

    Object itself for fluent interface

getAnimationsEnabled

  • getAnimationsEnabled(): boolean
  • Returns boolean

    Boolean state for animations enabled

getBackgroundFillStyle

getBackgroundStrokeStyle

  • getBackgroundStrokeStyle(): LineStyle
  • Returns LineStyle

    LineStyle

getLabelFillStyle

getLabelFont

getLabelFormatter

getMinimumSize

  • getMinimumSize(): Point | undefined
  • Returns Point | undefined

    Point

getNeckWidth

  • getNeckWidth(): number
  • Returns number

    number (0 - 100)

getPadding

  • Returns Margin

    Padding datastructure

getPyramidSliceMode

getSliceFillStyle

getSliceSorter

getSliceStrokeStyle

  • getSliceStrokeStyle(): LineStyle

getSlices

getTitle

  • getTitle(): string
  • Returns string

    Chart title as a string.

getTitleFillStyle

getTitleFont

getTitleMarginBottom

  • getTitleMarginBottom(): number
  • Returns number

    Padding after Chart title

getTitleMarginTop

  • getTitleMarginTop(): number
  • Returns number

    Padding before Chart title

offResize

  • offResize(token: Token): boolean
  • Parameters

    • token: Token

    Returns boolean

    True if the listener is successfully removed and false if it is not found

onResize

  • onResize(handler: function): Token
  • Parameters

    • handler: function
        • Parameters

          • obj: this
          • width: pixel
          • height: pixel
          • engineWidth: pixel
          • engineHeight: pixel

          Returns void

    Returns Token

    Token of subscription

saveToFile

  • saveToFile(fileName: string, type: undefined | string, encoderOptions: undefined | number): this
  • Parameters

    • fileName: string
    • Optional type: undefined | string
    • Optional encoderOptions: undefined | number

    Returns this

setAnimationsEnabled

  • setAnimationsEnabled(animationsEnabled: boolean): this
  • Parameters

    • animationsEnabled: boolean

    Returns this

    Pyramid Chart itself

setBackgroundFillStyle

setBackgroundStrokeStyle

  • setBackgroundStrokeStyle(value: LineStyle | ImmutableMutator<LineStyle>): this
  • Parameters

    Returns this

    Object itself

setLUT

  • setLUT(value: LUT): this
  • Parameters

    Returns this

    Pyramid itself for fluent interface

setLabelFillStyle

setLabelFont

setLabelFormatter

setNeckWidth

  • setNeckWidth(neckWidth: number): this
  • Parameters

    • neckWidth: number

    Returns this

    Pyramid Chart itself

setPadding

  • setPadding(padding: Partial<Margin> | number): this
  • Parameters

    • padding: Partial<Margin> | number

    Returns this

    Object itself

setSliceFillStyle

setSliceGap

  • setSliceGap(sliceGap: pixel): this
  • Parameters

    • sliceGap: pixel

    Returns this

    Pyramid Chart itself

setSliceHighlightOnHover

  • setSliceHighlightOnHover(state: boolean): this

setSliceMode

setSliceSorter

setSliceStrokeStyle

setTitle

  • setTitle(title: string): this
  • Parameters

    • title: string

    Returns this

    Object itself for fluent interface.

setTitleFillStyle

setTitleFont

setTitleMarginBottom

  • setTitleMarginBottom(marginPixels: pixel): this
  • Parameters

    • marginPixels: pixel

    Returns this

    Chart itself for fluent interface

setTitleMarginTop

  • setTitleMarginTop(marginPixels: pixel): this
  • Parameters

    • marginPixels: pixel

    Returns this

    Chart itself for fluent interface