Skip to content

Legend not showing up properly if hidden using jQuery #94

@kaustavbhattacharjee

Description

@kaustavbhattacharjee

Issue:
Legend does not load properly when hidden using jQuery.hide().

Steps for reproduction:

  1. Load a sequential scale legend. Works properly at first.
  2. Use $("#myLegend").hide() while the document is loaded.
  3. The legend shows up too compressed when used $("#myLegend").show() the element.

On further inspection, checked that the data values are passed properly, but the translate function for the cells as defined by this library is not passing proper values.

Please help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions