Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LegendHelper

Helper functions for creating track legends.

Hierarchy

  • LegendHelper

Index

Methods

Static basicLegendSvgConfig

Static basicVerticalLabel

  • basicVerticalLabel(label: string, abbr: string): LegendConfig
  • Convenience function for quickly creating a legend config object for a rotated label legend.

    Parameters

    • label: string
    • abbr: string

    Returns LegendConfig

Static renderBasicVerticalSvgLabel

  • renderBasicVerticalSvgLabel(g: D3Selection, bounds: LegendBounds, label: string, abbr: string, horizontal?: boolean): void

Generated using TypeDoc