This is a migrated thread and some comments may be shown as answers.
Chart values overlapped with lines in line chart
3 Answers 39 Views
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 14 May 2011, 12:17 AM
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 ?

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 18 May 2011, 07:56 AM
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.

0
prayag ganoje
Top achievements
Rank 1
answered on 26 May 2011, 04:27 PM
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 ?
0
Yavor
Telerik team
answered on 31 May 2011, 07:26 AM
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.

Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Yavor
Telerik team
prayag ganoje
Top achievements
Rank 1
Share this question
or