diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-08-02 11:35:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 11:35:36 +0300 |
commit | d298c61aa158cc9e182dfa93b7332e839b7d615b (patch) | |
tree | 1940517a6790f6c387b0413273ef6ff64743f2a7 /plugins/CoreVisualizations | |
parent | f14f966bc6eefba4afda8d52f5525101c21e0697 (diff) |
Fix placing series / series picker in charts (#19588)
* Fix placing series / series picker in charts
* Updates UI screenshot
Co-authored-by: Ben <ben.burgess@innocraft.com>
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r-- | plugins/CoreVisualizations/javascripts/jqplot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVisualizations/javascripts/jqplot.js b/plugins/CoreVisualizations/javascripts/jqplot.js index 78e00cb3f2..00191c38d2 100644 --- a/plugins/CoreVisualizations/javascripts/jqplot.js +++ b/plugins/CoreVisualizations/javascripts/jqplot.js @@ -1221,7 +1221,7 @@ RowEvolutionSeriesToggle.prototype.beforeReplot = function () { var plot = this; $(seriesPicker).bind('placeSeriesPicker', function () { this.domElem.css('margin-left', plot._gridPadding.left + 'px'); - $('.jqplot-legend-canvas').css({paddingLeft: '34px'}); + $('.jqplot-legend-canvas', $('#' + target)).css({paddingLeft: '34px'}); plot.baseCanvas._elem.before(this.domElem); }); |