Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

addClickHelper

  • addClickHelper(target: Selection<d3.BaseType, any, d3.BaseType, any>, options: IOptions, onClick: function, onDoubleClick: function, contextMenuItems: IContextMenuItem[], tooltip: BaseTooltip, caller: UIElement, value?: any, selectionValue?: string): void

animatePath

  • animatePath(path: Selection<d3.BaseType, __type, any, any>, duration: number): void
  • Parameters

    • path: Selection<d3.BaseType, __type, any, any>
    • duration: number

    Returns void

convertToSVGCoords

  • convertToSVGCoords(svg: Selection<any, any, d3.BaseType, any>, element: Selection<any, any, d3.BaseType, any>): IRect
  • Note this is very expensive due to the getBoudingClientRect() call so you should cache this result if possible

    Parameters

    • svg: Selection<any, any, d3.BaseType, any>
    • element: Selection<any, any, d3.BaseType, any>

    Returns IRect

focus

  • focus(d3Obj: Selection<any, any, d3.BaseType, any>, fillColors: WeakMap<Object, string>, strokeColors: WeakMap<Object, string>): void
  • Parameters

    • d3Obj: Selection<any, any, d3.BaseType, any>
    • fillColors: WeakMap<Object, string>
    • strokeColors: WeakMap<Object, string>

    Returns void

getColor

  • getColor(d3Obj: Selection<any, any, d3.BaseType, any>, map: WeakMap<Object, string>, color?: string): any
  • Parameters

    • d3Obj: Selection<any, any, d3.BaseType, any>
    • map: WeakMap<Object, string>
    • Default value color: string = undefined

    Returns any

getKeys

  • getKeys(data: any[], accessor: function): string[]
  • Parameters

    • data: any[]
    • accessor: function
        • (value: any): string[]
        • Parameters

          • value: any

          Returns string[]

    Returns string[]

getSVGPoint

  • getSVGPoint(svg: any, elem: any, point: any): any

getStyle

  • getStyle(target: Selection<d3.BaseType, any, d3.BaseType, any>): any
  • Parameters

    • target: Selection<d3.BaseType, any, d3.BaseType, any>

    Returns any

getTextRect

  • getTextRect(svg: Selection<any, any, d3.BaseType, any>, text: string): IRect

mergeKeys

  • mergeKeys(arr1: string[], arr2: string[]): void
  • take two lists of strings and merge them into one list with only unique values note this changes the original list

    Parameters

    • arr1: string[]
    • arr2: string[]

    Returns void

onSelectHelper

  • onSelectHelper(caller: UIElement, value: any, selectionValue: string): void

select

  • select(d3Obj: Selection<any, any, d3.BaseType, any>, fillColors: WeakMap<Object, string>, strokeColors: WeakMap<Object, string>): void
  • Parameters

    • d3Obj: Selection<any, any, d3.BaseType, any>
    • fillColors: WeakMap<Object, string>
    • strokeColors: WeakMap<Object, string>

    Returns void

unfocus

  • unfocus(d3Obj: Selection<any, any, d3.BaseType, any>, fillColors: WeakMap<Object, string>, strokeColors: WeakMap<Object, string>): void
  • Parameters

    • d3Obj: Selection<any, any, d3.BaseType, any>
    • fillColors: WeakMap<Object, string>
    • strokeColors: WeakMap<Object, string>

    Returns void

unselect

  • unselect(d3Obj: Selection<any, any, d3.BaseType, any>, fillColors: WeakMap<Object, string>, strokeColors: WeakMap<Object, string>): void
  • Parameters

    • d3Obj: Selection<any, any, d3.BaseType, any>
    • fillColors: WeakMap<Object, string>
    • strokeColors: WeakMap<Object, string>

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc