Skip to content

Commit

Permalink
Fixed attribute name typo in legend follow (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurot1k authored and danvk committed Oct 6, 2016
1 parent c76d4b2 commit 623dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/legend.js
Expand Up @@ -105,7 +105,7 @@ Legend.prototype.select = function(e) {
if (legendMode === 'follow') {
// create floating legend div
var area = e.dygraph.plotter_.area;
var labelsDivWidth = this.legend_div.offsetWidth;
var labelsDivWidth = this.legend_div_.offsetWidth;
var yAxisLabelWidth = e.dygraph.getOptionForAxis('axisLabelWidth', 'y');
// determine floating [left, top] coordinates of the legend div
// within the plotter_ area
Expand Down

0 comments on commit 623dd1d

Please sign in to comment.