Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ItemWithValueSegments

An item that has value segments

Hierarchy

  • ItemWithValueSegments

Index

Properties

Optional color

color: string

The color of the item

equals

equals: function

Returns true if this == b

Type declaration

id

id: string

The unique identifier for this item

match

match: any

The name of the item TODO: Better name, legacy naming right now

Optional onCreate

onCreate: function

Called when an item is created

Type declaration

    • (ele: JQuery): void
    • Parameters

      • ele: JQuery

      Returns void

Optional renderedValue

renderedValue: number

The percentage value that should be displayed (0 - 100) TODO: Better name, basically it is the value that should be displayed in the histogram

value

value: any

The raw value of this item (the count of values in this item)

Optional valueSegments

valueSegments: IValueSegment[]

The segments that make up this items value, the total of the widths must === 100

Generated using TypeDoc