core.scale.tests.js 420 B

12345678910111213141516171819202122
  1. describe('Core.scale', function() {
  2. describe('auto', jasmine.specsFromFixtures('core.scale'));
  3. it('should provide default scale label options', function() {
  4. expect(Chart.defaults.scale.scaleLabel).toEqual({
  5. // display property
  6. display: false,
  7. // actual label
  8. labelString: '',
  9. // actual label
  10. lineHeight: 1.2,
  11. // top/bottom padding
  12. padding: {
  13. top: 4,
  14. bottom: 4
  15. }
  16. });
  17. });
  18. });