An issue with the XAxis.DataLabelsColumn

Thread is closed for posting
2 posts, 0 answers
  1. Dan Schmecker
    Dan Schmecker avatar
    13 posts
    Member since:
    Dec 2009

    Posted 04 Dec 2009 Link to this post

    I have a chart that uses a sql stored procedure as a data source.
    The issue that i'm having is that I can't seem to set the X Axis DataLabelsColumn.

    It seems stuck on just a generic 1,2,3,4,5,6,7.....etc.
    I'm using the following line: 
        RadChart1.PlotArea.XAxis.DataLabelsColumn = "Column1"
    with Column1 being a column in the sql stored procedure data results.
    It doesn't work.
    Is there something that I'm missing or doing wrong? Should i be using a "SELECT statement" rather than a stored procedure?
    Thanks.

  2. Dan Schmecker
    Dan Schmecker avatar
    13 posts
    Member since:
    Dec 2009

    Posted 04 Dec 2009 Link to this post

    Nevermind......i figured it out.

    I had this line in the wrong place: 

    RadChart1.DataSourceID =

    "myDataSource"

     

Back to Top