Class ColorScaleLegend

Hierarchy (View Summary)

Constructors

Properties

configs: any = {}
id: string = ''
model: ChartModel
parent: Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any> = undefined
renderType: interfaces.RenderTypes = RenderTypes.SVG
type: string = 'color-legend'

Methods

  • Renders quantized legend

    Parameters

    • colorPairing: any
    • colorScheme: any
    • customColorsEnabled: any
    • legendGroupElement: any
    • barWidth: any

    Returns number

    number (range start)

  • Parameters

    • configs: { ariaLabel?: string; isPresentational?: boolean; withinChartClip?: boolean } = ...

    Returns Selection<any, any, Element, any>

  • graphs used in combo charts share a model with global options but can receive their own local options. this function retrieves the global options and merges it with any options passed into this component's config.options object.

    Returns any