aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Mieszkowski <tomasz.mieszkowski@ext.allegro.pl>2014-09-05 11:32:08 +0200
committerTomasz Mieszkowski <tomasz.mieszkowski@ext.allegro.pl>2014-09-05 11:32:08 +0200
commit84b33e66c0bb0bc95cb222afd138b3eacc2716de (patch)
treed5410fd67bd7b670d01a0251d8bba854755bef62
parent083afbcbde9ec8fe7f9e6cbe57f53eaddf055b19 (diff)
downloadtipboard-84b33e66c0bb0bc95cb222afd138b3eacc2716de.tar.gz
tipboard-84b33e66c0bb0bc95cb222afd138b3eacc2716de.tar.bz2
tipboard-84b33e66c0bb0bc95cb222afd138b3eacc2716de.zip
Two small fixes for the 'advanced_plot' tile.
-rw-r--r--tipboard/tiles/advanced_plot.html2
-rw-r--r--tipboard/tiles/advanced_plot.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tipboard/tiles/advanced_plot.html b/tipboard/tiles/advanced_plot.html
index ef31356..3076209 100644
--- a/tipboard/tiles/advanced_plot.html
+++ b/tipboard/tiles/advanced_plot.html
@@ -9,6 +9,6 @@
class="result label description"
></div>
- <div id="{{ tile_id + '-chart' }}" class="chart"> </div>
+ <div id="{{ tile_id + '-chart' }}" class="chart advanced-plot"> </div>
</div>
</div>
diff --git a/tipboard/tiles/advanced_plot.js b/tipboard/tiles/advanced_plot.js
index 04aae13..81df173 100644
--- a/tipboard/tiles/advanced_plot.js
+++ b/tipboard/tiles/advanced_plot.js
@@ -28,7 +28,7 @@
var renderersSwapper = new RenderersSwapper();
renderersSwapper.swap(newMeta);
AdvancedPlotTile.rescaleContainers(tile);
- AdvancedPlotTile.buildChart(tileId, data.plotData, newMeta);
+ AdvancedPlotTile.buildChart(tileId, data.plot_data, newMeta);
}
Tipboard.Dashboard.registerUpdateFunction('advanced_plot', updateTileAdvancedPlot);