global.js 359 B

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