Updating labelsDiv option does not work #807

Open
ChantryC opened this Issue Dec 15, 2016 · 1 comment

Projects

None yet

2 participants

@ChantryC
ChantryC commented Dec 15, 2016 edited
  1. Here is a jsfiddle: http://jsfiddle.net/eM2Mg/9117/
  2. I am using Chrome and this occurs on any version of dygraphs.

Essentially, if you initialize a chart with a labelsDiv it works fine and uses the div for the legend. However, if you decide to dynamically change the legend location using updateOptions, it does not work.

Anyone have a workaround?

@danvk danvk added the bug label Dec 15, 2016
@danvk
Owner
danvk commented Dec 15, 2016

Confirmed. The workaround is to destroy() the dygraph and create a new one with labelsDiv set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment