Skip to content

Broken when upgrade chart.js from 2.9.3 to 2.9.4 #657

Closed
@BangNguyen1992

Description

@BangNguyen1992

Expected Behavior

Actual Behavior

After I upgrade chart.js to 2.9.4, some configs in the tick option don't work anymore, it seems to get overwritten by chartjs options

For example:

ticks: {
    callback: (value, index, values) => `£ ${value}`,
},

return the value only, it doesnt include the £.

Environment

  • vue.js version: 2.6.12
  • vue-chart.js version: 3.5.1
  • chart.js version: 2.9.4
  • npm version: 6.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions