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

shifting the pointmarks/graph in a chart

2 Answers 33 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
ervin
Top achievements
Rank 1
ervin asked on 25 May 2011, 04:25 PM
Hi guys,

I have a "Line Chart" with 1 series inside. The X-Axis items are the months of the year like, Oct, Nov, Dec etc. and Y-Axis items are some numeric values.

The PointMarks start in the middle of the columns but I want them to overlap with Grid Lines so they must shift half column width to the (<<) left  direction. (The first point must start from X=0)

I checked the forum pages but could not find an appropriate way for that. Can you please help me to find a way to shift them without damaging the structure of the line chart ?

P.S. Please see the attachment..

Thanks,
Ervin  

2 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 27 May 2011, 10:30 AM
Hello ervin,

You can control the Layout (the end of the topic) mode of the Chart by using the LayoutMode property of the Axes. In your case you should set it to Normal like this:

radChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Normal;

Kind Regards,
Evgenia
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
ervin
Top achievements
Rank 1
answered on 27 May 2011, 07:15 PM
It works!!! Thank you Evgenia..
Tags
Chart (Obsolete)
Asked by
ervin
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
ervin
Top achievements
Rank 1
Share this question
or