2014年7月13日 星期日

[RESOLVED] DataVisualization.Charting Control axis labels font size?


Using the charting control, is there a way to force a certain font size?  I have 6 chart areas and each one seems to render the interval labels in a different font size.  I would like them to all be the same font size.



Are you talking about the labels? if so, click on the chart, under properties look for Label Appearance. Theres the "Font" property where you can define the font type and size. Or you can just add "Font= Times New Roman, 10pt" in the  



Thanks for the idea.  It did make some of them be the same font size.  Unfortunately it didn't work for all of them.  I examined them closer and see that the font size seems to be tied to the number of intervals on the axis.  If there are 6 or less then
it uses the right font but more than that, the font shrinks.   I seem to have bypassed the problem for the moment by removing  Interval="Auto" and giving the chart more height.


沒有留言:

張貼留言