RadChart causes RadToolTipManager error

Thread is closed for posting
2 posts, 0 answers
  1. Sanjay
    Sanjay avatar
    21 posts
    Member since:
    Nov 2010

    Posted 01 Feb 2011 Link to this post

    I have a RadChart in a page 

    <
    telerik:RadChart ID="ChartProjects" runat="server" DataGroupColumn="ProjectName" AutoTextWrap="True" Skin="Colorful" Height="400px" Width="0px"></telerik:RadChart>

    While changing the width to 80% in the property window the width automatically became 0px 
    and this is what caused the error. So I have corrected it.

    I can now see the chart OK with the Y Axis fine with increasing numbers and also the Series is OK.
    But please help me in regards to the X axis text content.
    It currently shows 1 in the center

    I tried these lines of codes (one at a time) but seems to do nothing!
    ChartProjects.PlotArea.XAxis.AddItem(projectCount)

     

     

     

     

    ChartProjects.PlotArea.XAxis.AxisLabel.TextBlock.Text = dbRow(

     

    "ProjectName").ToString.Substring(0, 2)

     

     

     

     

     

     

     

     

     

    Can you help in this regards?

    Thanks,
    Sanjay



     

  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 07 Feb 2011 Link to this post

    Hello Sanjay,

    There are two ways to set custom labels for RadChart's XAxis:
    1. Add them proframmatically as shown in our help topic
    2. DataBind RadChart to a generic list of objects where one of the Objects is presented as DataXColumn.
    This is described in our help article .

    Greetings,
    Evgenia
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top