Show:

ia.LegendEditor Class

Module: ia

An editor for thematics.

Constructor

ia.LegendEditor

(
  • thm
  • config
  • legendSettings
)

Parameters:

  • thm ia.Thematic

    The theme

  • config ia.ReportCnofig

    The report config.

  • legendSettings Object

    The legend settings.

Methods

_updateTheme

() private

Updates the theme - uses a timer and a lock editor variable to cope with rapid clicking.

hide

()

Hides the editor.

render

()

Render the legend editor after changes.

show

()

Shows the editor.

toggle

()

Toggles the editor visibility.

Properties

container

JQUERY Element

The container that holds the object.

showLegendTools

Boolean

Display the legend tools panel?

Default: true

showLegendTypePanel

Boolean

Display the legend type panel?

Default: true

showPalettePanel

Boolean

Display the palette panel?

Default: true

showSizePanel

Boolean

Display the size panel?

Default: true