I've set my custom grid in the print layout. The problem is, that in one corner both values from X and Y axes overlap each other.
I used the offset, as you can see below, but I am wondering how to make this only one value offset more than the rest.
I found some similar problems here:
Stop Grid Coordinates Overlapping in Print Layout
which led me to the bug here:
My formula for custom grids looks like this:
CASE WHEN @grid_axis = 'y' THEN substr('ABCDEFGHIJKLMNOPQRST', (@grid_number +105) / 100, 1) WHEN @grid_axis = 'x' THEN round((@grid_number - 5) / 100,0) END
And I obviously can change it simultaneously with the offset bringing them up, although I tried the solution, which would led offset just only the first value at the Y axis.
The formula I prepared looks like this:
CASE WHEN @grid_axis = 'y' AND @grid_number = 'A' THEN offset = 15 END
but it stays as it is despite lack of error in the formula.
How can I offset only this one value separately?
Regarding my situation with interval 100 and offset 7 I tried also:
CASE WHEN @grid_axis = 'y' AND substr('ABCDEFGHIJKLMNOPQRST', (@grid_number = 0) / 100, 1) THEN OFFSET = 15 END
I think the problem lies with the "Distance to the map frame" issue. As I set it to 5mm then the overlapping occurs. What kind of formula should I place inside then?
I could reduce the distance from the map frame, although with the font size I applied (24px) it still won't work.