Scale: draw offset grid for labels before autoSkip (#8748)

* Scale: draw offset grid for labels before autoSkip
* fix tests
This commit is contained in:
Jukka Kurkela
2021-03-29 23:53:47 +03:00
committed by GitHub
parent fe406bf717
commit cdba66ccef
21 changed files with 99 additions and 33 deletions

View File

@@ -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);
});
});