global.js 351 B

1234567891011121314151617181920
  1. const Theme = require('./theme');
  2. const Util = require('./util/common');
  3. const Global = {
  4. version: '3.6.3',
  5. scales: {},
  6. widthRatio: {
  7. column: 1 / 2,
  8. rose: 0.999999,
  9. multiplePie: 3 / 4
  10. },
  11. lineDash: [ 4, 4 ]
  12. };
  13. Global.setTheme = function(theme) {
  14. Util.deepMix(this, theme);
  15. };
  16. Global.setTheme(Theme);
  17. module.exports = Global;