Page 1 of 1

problem with radar series in WebChart

Posted: Mon Feb 09, 2004 5:53 am
by 8121222
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

Posted: Mon Feb 09, 2004 5:27 pm
by Pep
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