Issue:
Legend does not load properly when hidden using jQuery.hide().
Steps for reproduction:
- Load a sequential scale legend. Works properly at first.
- Use $("#myLegend").hide() while the document is loaded.
- 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!
Issue:
Legend does not load properly when hidden using jQuery.hide().
Steps for reproduction:
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!