global.js 398 B

12345678910111213141516171819202122
  1. import Theme from './theme';
  2. import lang from './aria-lang.CN';
  3. import { deepMix } from './util/common';
  4. var Global = {
  5. version: '3.8.9',
  6. scales: {},
  7. widthRatio: {
  8. column: 1 / 2,
  9. rose: 0.999999,
  10. multiplePie: 3 / 4
  11. },
  12. lineDash: [4, 4],
  13. lang
  14. };
  15. Global.setTheme = function (theme) {
  16. deepMix(Global, theme);
  17. };
  18. Global.setTheme(Theme);
  19. export { lang };
  20. export default Global;