Unable to set font size and other attributes on RADAR Axes

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mike McCann
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am

Unable to set font size and other attributes on RADAR Axes

Post by Mike McCann » Thu Aug 11, 2005 9:53 am

I cannot seem to set the font colour, font size or font family on the axes of the radar chart

These next 4 lines will change attributes
.Axes.Item(0).Increment = 0.5
.Axes.Item(0).AutomaticMaximum = False
.Axes.Item(0).Maximum = 5
.Axes.Item(0).Minimum = 0

These lines have no effect
.Axes.Item(0).Title.Font.Size = 40
.Axes.Item(0).Title.Font.Color = System.Drawing.Color.Red
'.Axes.Item(0).Labels.Font.Color = System.Drawing.Color.Blue
'.Axes.Item(0).Labels.Font.Size = 40

Please advise the correct way of setting font size on radar axes.

Thanks
Mike McCann
Systems Thinking Pty Ltd

Miguel
Site Admin
Site Admin
Posts: 12
Joined: Thu Jul 28, 2005 4:00 am
Location: Barcelona
Contact:

Post by Miguel » Fri Aug 12, 2005 9:33 am

Hi Mike,

You can do it in the following way:

Code: Select all

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
     Dim rd As New Steema.TeeChart.Styles.Radar(TChart1.Chart)
     rd.FillSampleValues()
     TChart1.Axes.Right.Title.Text = "Right"
     TChart1.Axes.Right.Title.Font.Color = System.Drawing.Color.Red
     TChart1.Axes.Right.Title.Font.Size = 40
     TChart1.Axes.Right.Labels.Font.Size = 11
     TChart1.Axes.Right.Labels.Font.Color = System.Drawing.Color.Blue
End Sub
Best regards
Miguel Espinosa

Steema Software
http://support.steema.com

Mike McCann
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am

Fix does not work for me.

Post by Mike McCann » Sat Aug 13, 2005 11:58 am

OK, thanks for the reply, however this does not fix my problem. Maybe I asked the wrong question.

I set a series value as per the following line
resultSeries.Add(incidentManagementLevelMean, "Incident" + Chr(10) + " Management")

I want the "Incident Management" to be in larger font. There does not seem to be any way to set the font characteristics on the axis labels.

Can you advise. I can send a screen dump if you wish

Thanks

Mike McCann

Mike McCann
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am

Anyone there??

Post by Mike McCann » Mon Aug 15, 2005 12:20 pm

Hi guys,

Any chance of an answer please

Thanks
Mike McCann

Mike McCann
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am

Still looking for an answer please

Post by Mike McCann » Tue Aug 16, 2005 7:49 am

I have text size that is unreadably small on the axis. My customer is unhappy and asking me to change the font size.

Thanks
Mike McCann

Miguel
Site Admin
Site Admin
Posts: 12
Joined: Thu Jul 28, 2005 4:00 am
Location: Barcelona
Contact:

Post by Miguel » Tue Aug 16, 2005 8:02 am

Hi Mike,

Please, try this:

Code: Select all

Dim rd As New Steema.TeeChart.Styles.Radar(TChart1.Chart)
rd.Add(100, "Label1")
rd.Add(200, "Label2")
rd.Add(300, "Label3")
rd.Add(400, "Label4")
rd.CircleLabels = True
rd.CircleLabelsInside = True
rd.CircleLabelsRotated = True
rd.CircleLabelsFont.Size = 12
rd.CircleLabelsFont.Bold = True
rd.CircleLabelsFont.Color = Color.Blue
Best regards
Miguel Espinosa

Steema Software
http://support.steema.com

Mike McCann
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am

All Fixed now - thank you very much

Post by Mike McCann » Tue Aug 16, 2005 8:28 am

Miguel,
thanks
that fixed everything

Cheers
Mike McCann

Post Reply