This is a migrated thread and some comments may be shown as answers.

Series Connectors not getting disabled

1 Answer 73 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Farhan
Top achievements
Rank 1
Farhan asked on 22 Oct 2010, 02:37 AM
Hi,

I am drawing a Rad Chart with multiple line series. And although while creating a series I explicitly write code to disable the connector:

 DataSeries lineSeries = new DataSeries();                
 SplineSeriesDefinition lineDataSeries = new SplineSeriesDefinition();
 LabelSettings settings = new LabelSettings();
 settings.ShowConnectors = false;
 settings.Distance = 10;                
 lineDataSeries.LabelSettings = settings;
.
.
.

Later I assign this series to the RadChart's default view. But still it doesn't disable the labels.

LineChartTrancheResults.DefaultView.ChartArea.DataSeries.Add(lineSeries )

Do I need to do something else?

Thanks,
Farhan

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 26 Oct 2010, 07:21 AM
Hello Farhan,

Smart Labels' connectors are not visible by default. There is no need to turn off ShowConnectors visibility in this case.  
It's strange that you have connectors for your line Series as from the code snippet you sent I can't see LabelSettings to be set to your lineSeries at all. That means that you should not see Connectors for your Line Series at all.
Could you give us some more details of your code so that we will be able to investigate it and help you?

Sincerely yours,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Farhan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or