Class VectorClusterStyleItem

baseclass for all Objects

Hierarchy (view full)

Accessors

  • get breaks(): number[]
  • An array of cluster sizes to break at. Typically the first couple of sizes are a series (meaning: not grouped). Later breaks are non sequential and used for grouping clusters larger. [2, 3, 4, 5, 10] would start grouping at clusters larger or equal 5 entries.

    Returns number[]

  • set breaks(breaks): void
  • Parameters

    • breaks: number[]

    Returns void

  • get className(): string
  • Returns string

  • get zeroScaleOffset(): number
  • The index of breaks to st. for indexes [2, 3, 4, 5, 10] and a zeroScale offset of 3 would lead to icons 2, 3, 4 having the same size and no "+" attached. 5 and 10 would be scaled by the scale factor and a "+" added to the text

    Returns number

  • set zeroScaleOffset(zeroScaleOffset): void
  • Parameters

    • zeroScaleOffset: number

    Returns void

Constructors

Methods

  • Determines the scale based on break index and zeroScaleOffset. Cluster sizes with an index less then zeroScaleOffset are not scaled.

    Parameters

    • size: number

    Returns number

  • Gets the cluster text based on breaks and zeroScaleOffset. Adds a + to all sizes with an index larger then the zeroScaleOffset.

    Parameters

    • size: number

    Returns string

Properties

[moduleIdSymbol]?: string
isDestroyed: boolean
name: string

unique Name

properties: Record<string, unknown>
styleChanged: VcsEvent<void> = ...