mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-21 23:56:52 +01:00
Scale: draw offset grid for labels before autoSkip (#8748)
* Scale: draw offset grid for labels before autoSkip * fix tests
This commit is contained in:
@@ -54,7 +54,7 @@ describe('Platform.basic', function() {
|
||||
|
||||
expect(chart.chartArea.bottom).toBeCloseToPixel(120);
|
||||
expect(chart.chartArea.left).toBeCloseToPixel(31);
|
||||
expect(chart.chartArea.right).toBeCloseToPixel(250);
|
||||
expect(chart.chartArea.right).toBeCloseToPixel(247);
|
||||
expect(chart.chartArea.top).toBeCloseToPixel(32);
|
||||
});
|
||||
|
||||
@@ -84,7 +84,7 @@ describe('Platform.basic', function() {
|
||||
|
||||
expect(chart.chartArea.bottom).toBeCloseToPixel(150);
|
||||
expect(chart.chartArea.left).toBeCloseToPixel(31);
|
||||
expect(chart.chartArea.right).toBeCloseToPixel(300);
|
||||
expect(chart.chartArea.right).toBeCloseToPixel(297);
|
||||
expect(chart.chartArea.top).toBeCloseToPixel(32);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user