您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

49 行
1.7KB

  1. /**
  2. * @namespace Chart
  3. */
  4. var Chart = require('./core/core.js')();
  5. require('./core/core.helpers')(Chart);
  6. require('./core/core.element')(Chart);
  7. require('./core/core.animation')(Chart);
  8. require('./core/core.controller')(Chart);
  9. require('./core/core.datasetController')(Chart);
  10. require('./core/core.layoutService')(Chart);
  11. require('./core/core.scaleService')(Chart);
  12. require('./core/core.plugin.js')(Chart);
  13. require('./core/core.scale')(Chart);
  14. require('./core/core.title')(Chart);
  15. require('./core/core.legend')(Chart);
  16. require('./core/core.tooltip')(Chart);
  17. require('./elements/element.arc')(Chart);
  18. require('./elements/element.line')(Chart);
  19. require('./elements/element.point')(Chart);
  20. require('./elements/element.rectangle')(Chart);
  21. require('./scales/scale.linearbase.js')(Chart);
  22. require('./scales/scale.category')(Chart);
  23. require('./scales/scale.linear')(Chart);
  24. require('./scales/scale.logarithmic')(Chart);
  25. require('./scales/scale.radialLinear')(Chart);
  26. require('./scales/scale.time')(Chart);
  27. // Controllers must be loaded after elements
  28. // See Chart.core.datasetController.dataElementType
  29. require('./controllers/controller.bar')(Chart);
  30. require('./controllers/controller.bubble')(Chart);
  31. require('./controllers/controller.doughnut')(Chart);
  32. require('./controllers/controller.line')(Chart);
  33. require('./controllers/controller.polarArea')(Chart);
  34. require('./controllers/controller.radar')(Chart);
  35. require('./charts/Chart.Bar')(Chart);
  36. require('./charts/Chart.Bubble')(Chart);
  37. require('./charts/Chart.Doughnut')(Chart);
  38. require('./charts/Chart.Line')(Chart);
  39. require('./charts/Chart.PolarArea')(Chart);
  40. require('./charts/Chart.Radar')(Chart);
  41. require('./charts/Chart.Scatter')(Chart);
  42. window.Chart = module.exports = Chart;