locked
custom xaxis label font size RRS feed

  • Question

  • Hi
    Is there a way to specify the font size of custom axis labels?
    It seems that depending on the number of data points and width of the chart, the font size changes.
    Sometimes it's too small to read. What can I do to make sure the font size stays the same so the label is readable?

    Thanks

    Naho
    Thursday, July 16, 2009 1:19 PM

Answers

  • By default labels font, their rotation and couple other settings will be changed to fit the text. You can control this beahviour using this properties:

       Axis.IsLabelAutoFit
       Axis.LabelAutoFitMaxFontSize
       Axis.AutoFitMinFontSize
       Axis.LabelAutoFitFontStyle


    Alex.
    http://blogs.msdn.com/alexgor
    Thursday, July 16, 2009 3:16 PM