Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 Axis font scaling with non-square aspect ratios
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nkilzer

8 Posts

Posted - 10 Jun 2005 :  18:51:54  Show Profile  Reply with Quote
In my application, I create a graph inside of a (roughly) square form that is resizable. The graph control is fill-docked to the form's client area.

The form starts out at a size of about 250x280. When I set the font size to something that looks reasonable for this scale (about 7pt), and resize, keeping the aspect ratio fairly constant, everything works OK.

However, if the aspect ratio is skewed drastically, say to 800x350, then the font tends to get small and unreadable relatively quickly.

Any suggestions to keep the font readable when the form aspect is skewed (short of the brute-force solution of detecting the resize and changing the font) would be welcome.

quinncurtis

1164 Posts

Posted - 11 Jun 2005 :  08:46:25  Show Profile  Reply with Quote
In your example, while you are changing the aspect ratio, you are actually making the graph larger in both dimensions. Under this circumstance the font size will only get bigger, not smaller.

Did you mean to say that when you drastically change the aspect ratio and make the graph smaller in one or more dimensions, that the font size gets smaller.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07