TAChart: Vertical Labels lazarus / 55-TAChart ---------------------------------------------------------------------- wp · 2012-03-02 21:03 When I rotate the labels of the bottom axis by 90 degrees I get the impression that the default font suddenly looks like to a typewriter kind of font (fixed character width). How to avoid that? ---------------------------------------------------------------------- Ask · 2012-03-03 09:33 I have just tested various fonts and orientations configurations with labels demo and was unable to reproduce this effect. Which widgetset and font are you using? Which drawer (I assume the default)? Can you reproduce the problem with labels demo? Can you post a screenshot? Note that TAChart only passes orientation values to the drawer, so if the problem exists, it is likely in the underlying library. If all else fails, you can try BGRABitmap back-end -- it performs rotation pixel-by-pixel (with antialiasing), so the resulting label looks betters and is guaranteed to be of the same font as the horizontal text. ---------------------------------------------------------------------- wp · 2012-03-03 12:30 Here are screenshots for vertical and horizontal labels taken from Windows 7/64 bit. Lazarus (32-bit) is yesterday's snapshot on FPC 2.6. Comparing the two images in more detail, I'd say, in contrast to my first posting, that the font is the same, but the character spacing has changed which gives the impression of a fixed-pitch font. ---------------------------------------------------------------------- Ask · 2012-03-03 14:14 Hm. I have Exactly the same setup, and as you can see from the attached screenshot (from slightly modified labels demo), I do not have the issue. I suppose it boils down to some Windows setting -- default font, ClearType, theme etc. Maybe even locale. For example, I use "XP" theme. Anyway, you can try BGRABitmap (see bgra demo). It does add additional dependency and some slowdown, but also has a rich set of graphic effects and primitives, and is actively maintained. ---------------------------------------------------------------------- JD · 2012-03-03 15:10 Why is there a gap between the base of the bars and the horizontal axis? Is there a way to remove that gap? ---------------------------------------------------------------------- Ask · 2012-03-03 15:35 QuoteIs there a way to remove that gap? Yes, by setting Chart.Margins.Bottom := 0.