Helper functions for creating track legends.

Constructors

Methods

  • Creates a basic legend config required by the wellog component

    Parameters

    • trackRowsFunc: LegendRowsFunction
    • updateFunc: LegendOnUpdateFunction

    Returns LegendConfig

  • Convenience function for quickly creating a legend config object for a rotated label legend.

    Parameters

    • label: string
    • abbr: string

    Returns LegendConfig

  • Convenience function for creating a legend config object for a clickable rotated label legend.

    Parameters

    • __namedParameters: BasicVerticalLinkLabelConfig

    Returns LegendConfig

  • Renders a simple rotated text label that is scaled to fit bounds

    Parameters

    • g: any
    • bounds: LegendBounds
    • label: string
    • abbr: string
    • horizontal: boolean = false

    Returns any

Generated using TypeDoc