Hello Sandhya,
Thank you for writing back.
Note that most of the forum threads are reviewed by Telerik representatives and we address the questions asked by our customers in the forums as well. Additionally, have in mind that the ticket response time for forum threads is 72 hours. You can refer to our Support Plans for DevTools:
http://www.telerik.com/purchase/support-plans/devtools .
As to the questions at hand, in order to center the chart's title, you can set the ChartElement.TitleElement.
TextAlignment property to
MiddleCenter. You can have a look at our
ChartView >> Axes help article where it is demonstrated how to specify the
Minimum and
Maximum value for the vertical axis for example.
public
Form1()
{
InitializeComponent();
this
.radChartView1.Title =
"Sample title"
;
this
.radChartView1.ShowTitle =
true
;
this
.radChartView1.ChartElement.TitleElement.TextAlignment = ContentAlignment.MiddleCenter;
LineSeries lineSeries =
new
LineSeries();
lineSeries.DataPoints.Add(
new
CategoricalDataPoint(20,
"Jan"
));
lineSeries.DataPoints.Add(
new
CategoricalDataPoint(22,
"Apr"
));
lineSeries.DataPoints.Add(
new
CategoricalDataPoint(12,
"Jul"
));
lineSeries.DataPoints.Add(
new
CategoricalDataPoint(19,
"Oct"
));
this
.radChartView1.Series.Add(lineSeries);
LineSeries lineSeries2 =
new
LineSeries();
lineSeries2.DataPoints.Add(
new
CategoricalDataPoint(18,
"Jan"
));
lineSeries2.DataPoints.Add(
new
CategoricalDataPoint(15,
"Apr"
));
lineSeries2.DataPoints.Add(
new
CategoricalDataPoint(17,
"Jul"
));
lineSeries2.DataPoints.Add(
new
CategoricalDataPoint(22,
"Oct"
));
this
.radChartView1.Series.Add(lineSeries2);
LinearAxis verticalAxis = radChartView1.Axes[1]
as
LinearAxis;
verticalAxis.Maximum = 50;
verticalAxis.Minimum =10;
}
I hope this information helps. If you have any additional questions, please let me know.
Regards,
Dess
Telerik