Commit 9e745cba authored by Sebastian Lukas Hauer's avatar Sebastian Lukas Hauer
Browse files

nulling scales so axis colors are reset

parent 16cee00d
......@@ -273,6 +273,7 @@ let initializeCharts = function () {
function recreateChart(canvas) {
let config = canvas.chart.config;
config.options.scales = null;
// MARIO: inject correct pixel ratio, since global setting will not be used on *recreation*
config.options.devicePixelRatio = pixelRatio;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment