diff --git a/src/core/core.scale.js b/src/core/core.scale.js index d04160bf7..e844544f1 100644 --- a/src/core/core.scale.js +++ b/src/core/core.scale.js @@ -1385,6 +1385,7 @@ export default class Scale extends Element { lineHeight = font.lineHeight; lineCount = isArray(label) ? label.length : 1; const halfCount = lineCount / 2; + const color = resolve([optionTicks.color], me.getContext(i), i); if (isHorizontal) { x = pixel; @@ -1421,7 +1422,7 @@ export default class Scale extends Element { rotation, label, font, - color: optionTicks.color, + color, textOffset, textAlign, textBaseline,