I have a webchart which is populated from an array. This works fine except that the x axis has the column#1 etc appearing for labels. I created another array containing the labels I want to appear as follows:
Dim xLabels() As String = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"}
COGSChart.Data.SetRowLabels(xLabels)
COGSChart.DataSource = sData
COGSChart.Data.DataBind()
sdata is the dat array.
However, I still get the column# etc appearing as the x axis labels. I am using vs2005 sp1 with NA 2008/1. this is a line chart that I am creating.
Regards
Thanks. That did the trick. I don't understand why I didn't see that.
To change the column labels, try using SetColumnLabels(xLabels) instead of SetRowLabels