A Scale.

2.0

Hierarchy (view full)

Implements

Methods

  • Casts this object to the specified type. Throws error on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns T1

  • Determines whether the specified object is equal to the current object.

    Parameters

    • obj: any

      The object to compare with the current object.

    Returns boolean

    true if the specified object is equal to the current object; otherwise, false.

  • Serves as the default hash function.

    Returns number

    A hash code for the current object.

  • Returns a string that represents the current object.

    Returns string

    A string that represents the current object.

  • Casts this object to the specified type. Returns null on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns null | T1

  • Determines whether the specified object instances are considered equal.

    Parameters

    • objA: any

      The first object to compare.

    • objB: any

      The second object to compare.

    Returns boolean

    true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

Default capability

  • get Dock(): ScaleDock
  • Controls where the scale is displayed.

    Returns ScaleDock

    2.0

  • set Dock(value): void
  • Parameters

    Returns void

  • get FarSpan(): number
  • Controls the size of the right/top scale area, when using multiple scales by color or dual scales. If setting -1, then a default span is used.

    Returns number

    2.0

  • set FarSpan(value): void
  • Parameters

    • value: number

    Returns void

  • get FontMetadata(): FontMetadata
  • Gets or sets the font.

    Returns FontMetadata

    2.0

  • set FontMetadata(value): void
  • Parameters

    Returns void

  • get Formatting(): Formatting
  • Gets the formatting for this scale.

    Returns Formatting

    2.0

  • get IndexedShowGridlines(): IndexedBool
  • Controls whether to render gridlines or not.

    Returns IndexedBool

    2.0

  • get IsAttached(): boolean
  • Gets a value indicating whether this node is attached.

    Returns boolean

    2.0

  • get LabelOrientation(): LabelOrientation
  • Gets or sets the label orientation.

    Returns LabelOrientation

    2.0

  • set LabelOrientation(value): void
  • Parameters

    Returns void

  • get MaximumNumberOfTicks(): number
  • Gets or sets the maximum number of ticks.

    Returns number

    2.0

  • set MaximumNumberOfTicks(value): void
  • Parameters

    • value: number

    Returns void

  • get NearSpan(): number
  • Controls the size of the left/bottom scale area, when using multiple scales by color or dual scales. If setting -1, then a default span is used.

    Returns number

    2.0

  • set NearSpan(value): void
  • Parameters

    • value: number

    Returns void

  • get ShowGridlines(): boolean
  • Gets or sets a value indicating whether to render gridlines or not.

    Returns boolean

    2.0

  • set ShowGridlines(value): void
  • Parameters

    • value: boolean

    Returns void

  • get ShowLabels(): boolean
  • Gets or sets a value indicating whether this Spotfire.Dxp.Application.Visuals.ScaleBase renders the labels.

    Returns boolean

    2.0

  • set ShowLabels(value): void
  • Parameters

    • value: boolean

    Returns void

  • get Span(): number
  • Gets or sets the span of the area. If setting -1, then a default span is used.

    Returns number

    2.0

  • set Span(value): void
  • Gets or sets the span of the area.

    Parameters

    • value: number

    Returns void

    2.0

  • get Transactions(): ITransactions
  • Gets a collection of methods for executing transactions on the document.

    Returns ITransactions

    2.0

  • get Visible(): boolean
  • Gets or sets a value indicating whether this Spotfire.Dxp.Application.Visuals.ScaleBase is visible.

    Returns boolean

    2.0

  • set Visible(value): void
  • Parameters

    • value: boolean

    Returns void