global.js 363 B

12345678910111213141516171819202122
  1. var Theme = require('./theme');
  2. var Util = require('./util/common');
  3. var Global = {
  4. version: '3.3.3',
  5. trackable: true,
  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;