Jump to content

Recommended Posts

I have a program that uses TeeChart and when recompiled with Delphi 12.1 the font size of the left and bottom axis labels are larger.  Everything else seems fine and I can fix it by adding code to change the font.  Any ideas what has caused this?

 

Thanks, Mark

Share this post


Link to post

They did a bunch of work recently to autoscale fonts based on the DPI.  There is are some new enums to control this

 

TCanvasZoomText=(ztManual, ztNo, ztAuto);
TCanvasZoomPen=(zpManual, zpNo, zpAuto);

Share this post


Link to post

Thank you.  It took me a bit to find it but it seems to fix the issue.

 

PingChart.View3DOptions.ZoomText := ztNo;

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×