problem with radar series in WebChart

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

problem with radar series in WebChart

Post by Mike » Mon Feb 09, 2004 5:53 am

If I set up the following

' radarSeries1.Add(2.5, "Service Desk")

Then run the program - I do not get a split in the "Service Desk" Label.

The following method shoes the Label to be '2.5'



Can you advise what I'm doing wrong - radarChart is a Web Chart

Private Sub radarChart_GetAxisLabel(ByVal sender As Object, ByVal e As
Steema.TeeChart.GetAxisLabelEventArgs) Handles radarChart.GetAxisLabel

If sender Is (radarChart.Chart.Axes.Item(0)) Then
e.LabelText.Split(" ")
End If

End Sub

Thanks

Mike McCann

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Feb 09, 2004 5:27 pm

Hi Mike,

both things can be solved using the following code :

Code: Select all

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load        
        WebChart1.Chart.Series(0).Add(2.5, "Service" + Chr(10) + "Desk")
        WebChart1.Chart.Axes.Right.Labels.Style = Steema.TeeChart.AxisLabelStyle.Text        
    End Sub

Post Reply