SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

Make `Chart.defaults/Ticks/Interaction` importable (#4512)

Default options can now be accessed by importing `core/core.defaults`. The returned object acts as a singleton and is populated when importing classes that expose their own default values (meaning that importing only `code.defaults` results in an empty object). Also make `Chart.Ticks` and `Chart.Interaction` importable since existing defaults rely on these values.

Add the `defaults._set` method that make easier declaring new defaults by merging given values with existing ones for a specific scope (`global`, `scale`, `bar`, etc).
S
Simon Brunel committed
889ecd560bba46a81a29ca29d02f0691aaadc8d2
Parent: 1833614
Committed by GitHub <noreply@github.com> on 7/16/2017, 5:38:19 PM