Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
decker
decker
Commits
9e745cba
Commit
9e745cba
authored
Apr 19, 2022
by
Sebastian Lukas Hauer
Browse files
nulling scales so axis colors are reset
parent
16cee00d
Changes
1
Hide whitespace changes
Inline
Side-by-side
resource/decker/support/plugins/charts/charts.js
View file @
9e745cba
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment