Closed pjvandehaar closed 7 years ago
The namespaces were probably not necessary since they're bound to the svg... they were probably originally bound to the page in a much earlier version. They're doing no harm, though. At any rate, I just made the mouse_guide
directive true in the default layout for all plots (defined in Plot.js) - this is important as it ensures that value is always defined, which having the added benefit of only needing to explicitly set it when it should be false. With that this branch is ready to go!
Great, thanks.
This second commit makes changing
layout.mouse_guide
at runtime have no effect. I don't know whether that's good or bad. If someone had two LZ instances, one namedfoo
and the other namedfoo-mouse-guide
, I don't know whether they will have problems. Probably not, because they're not registering their events to the same DOM elements, right? Why did you add namespaces in the first place?