mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
889ecd560b
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). |
||
---|---|---|
.. | ||
Chart.Bar.js | ||
Chart.Bubble.js | ||
Chart.Doughnut.js | ||
Chart.Line.js | ||
Chart.PolarArea.js | ||
Chart.Radar.js | ||
Chart.Scatter.js |