This is a migrated thread and some comments may be shown as answers.

[Solved] Change font size of CategoryAxis or ValueAxis

4 Answers 111 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andreas Kluth
Top achievements
Rank 1
Andreas Kluth asked on 21 Jul 2011, 10:25 AM
Is it possible to change the font size or orientation of the labels displayed as category or/and value for a bar chart?

.CategoryAxis( axis => { axis.Categories( s => s.DisplayName ); ? } )

4 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 25 Jul 2011, 01:03 PM
Hello Andreaskluth,

Can you download from this forum post the Q2 2011 latest internal build. In this build we have fixed the issue with the font of the axis labels, but orientation of the axis labels is not implemented yet.

I have updated your Telerik points.

All the best,
Hristo Germanov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Mel
Top achievements
Rank 2
answered on 08 Nov 2011, 12:50 AM
Unfortunately the Q2 2011  SP1 has the great feature of Tooltips now but you can no longer change the Legend Font size.  The font of the category or Value axes are not sizeable either.  This is a big drawback to making a Dashboard with 8 charts, 2 rows of 4 charts, since the categories run into the next charts and are a mess.  Our customer did not like it during our demonstration. Does the Q3 Beta version do any better????
Thanks,

Mel
0
Hristo Germanov
Telerik team
answered on 08 Nov 2011, 09:03 AM
Hi Mel,

Thank you for contacting us.

1. The font of the Legend is already fixed and it will be include with the next official release of Telerik Components for ASP.NET MVC scheduled for the next weak.
2. I can't reproduce the issue with the font of the value and category axis:

.CategoryAxis(axis => axis.Categories().Labels(labels => labels.Font("18px sans-serif")))
.ValueAxis(axis => axis.Numeric().Labels(labels => labels.Font("18px sans-serif")))
This code snippet work with SP 1 version of Telerik Components for ASP.NET MVC. Am I missing something?
Kind regards,
Hristo Germanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Mel
Top achievements
Rank 2
answered on 08 Nov 2011, 05:19 PM

After I got a brainstorm I did find the ones for the axes and they do work, hence you could not duplicate the issue.  It is more a question of me not being used to this functional language and lanbda expressions.  Slowly but surely I'm getting there.

No you did not miss anything except the fact that I also mentioned that the font on the legend axis does not work anymore either.  It compiles and looks like it should work as usual but it no longer actually changes the: font though does not give any errors.
Thanks,

Mel
Tags
Chart
Asked by
Andreas Kluth
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Mel
Top achievements
Rank 2
Share this question
or