I am using radchart in my project.In this chart i am binding the datasource,assigning values for X and Y axis all in the runtime.The view of the chart is Bar.Here i have the problem is the y axis value is show correctly but in the x axis i am binding the month value.So actually it want to show the month name but in the x axis only the numbers will show like 1,2 etc......Here my codings are........
Dim strsql As String
Dim ds As New DataSet
Dim conn As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
Dim sqlconn As New SqlConnection(conn)
strsql = "SELECT Month, QtyProduced FROM vw_productionyr WHERE year = " & Date.Today.Year
Dim da As SqlDataAdapter = New SqlDataAdapter(strsql, sqlconn)
da.Fill(ds)
RadChart1.Series(0).Clear()
RadChart1.Series(0).DataXColumn = "Month"
RadChart1.Series(0).DataYColumn = "QtyProduced"
RadChart1.DataSource = ds
RadChart1.DataBind()
For i As Integer = 1 To RadChart1.Series.Count - 1
RadChart1.Series(i).Clear()
Next