Skip to content

[BUG] Can't update scale.ticks.* options at runtime since 2.7.0 #4896

Closed
@VerifiedJustLooking

Description

@VerifiedJustLooking

If you look at this jsfiddle: http://jsfiddle.net/jmpxgufu/179/

I put together a small bar chart, and on an interval (after 5 seconds), it will update some fontSizes and labels on the y-axis. Yet, the tick fontSize won't update (but everything else will).

I am pointing to https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js (or if you try to point here: http://www.chartjs.org/dist/2.7.0/Chart.bundle.js, it fails as well, it doesn't matter either way -- here's a jsfiddle using that lib: http://jsfiddle.net/jmpxgufu/183/)

I had stolen this jsfiddle from someone and modified it to fit my needs. Previously they were using 2.4.0, and it worked with that library. Did something break between 2.4.0 and 2.7.0?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions