Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
cannot get custom x axis label to appear
posted

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