Chart values overlapped with lines in line chart

Thread is closed for posting
4 posts, 0 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 13 May 2011 Link to this post

    Hello,

    I generate a chart runtime. But lable are overlapped with the lines in line chart though put following code.
    RadChartEditChart.AutoLayout = True
    RadChartEditChart.IntelligentLabelsEnabled = True

    Is there any other way to get separate the values from the line chart ?
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 18 May 2011 Link to this post

    Hello prayag,

    You can control this behavior in a number of ways. You can manipulate the label appearance :

    <telerik:ChartSeries Name="series 1" Type="Line">
    <Appearance Border-Width="2" Border-Color="black">
    <LabelAppearance LabelLocation="Outside"></LabelAppearance>

    you can also review the whole labelappearance section, and see which settings meet your layout requirements best.

    All the best,
    Yavor
    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.

  3. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 26 May 2011 Link to this post

    Hello,

    The earlier solution worked for the bar chart. It displays the label values right above the bar.

    Here is the problem with line chart. Where two lines are crossing each other there two label values overlap each other.

    If IntelligentLabelsEnabled = True then label values scatter anywhere in the chart. How to restrict this behavious in line chart ?
  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 31 May 2011 Link to this post

    Hi prayag,

    Basically, the behavior of the labels is dependent on the available space, as well as on the IntelligentLabelsEnabled property. I tested the setup locally, and the control behaved as expected. If you face any problems at your end, you can open a formal support ticket, and send us a small working project, for additional review and testing.

    Greetings,
    Yavor
    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