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

Dynamically Assign ChartSeriesType whether Bar Or Pie

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rajesh Vaidya
Top achievements
Rank 1
Rajesh Vaidya asked on 24 May 2008, 06:12 AM
   Dim telerik2 As ChartSeries()
  I want to assign the chart series type inside a if loop
     IF something>10 Then
here i want to give chart series type
     END  IF
Radchart1.Series,.Add(telerik2)

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 May 2008, 03:37 PM
Hello Rajesh,

You can use the Type property directly like this: telerik2.Type = ChartSeriesType.Line;

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Rajesh Vaidya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or