mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
23 lines
420 B
JavaScript
23 lines
420 B
JavaScript
describe('Core.scale', function() {
|
|
describe('auto', jasmine.specsFromFixtures('core.scale'));
|
|
|
|
it('should provide default scale label options', function() {
|
|
expect(Chart.defaults.scale.scaleLabel).toEqual({
|
|
// display property
|
|
display: false,
|
|
|
|
// actual label
|
|
labelString: '',
|
|
|
|
// actual label
|
|
lineHeight: 1.2,
|
|
|
|
// top/bottom padding
|
|
padding: {
|
|
top: 4,
|
|
bottom: 4
|
|
}
|
|
});
|
|
});
|
|
});
|