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

Flush line chart to edges?

1 Answer 43 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
bemara57
Top achievements
Rank 1
bemara57 asked on 13 Mar 2009, 11:17 PM
In line charts, they seem to be centered with padding to the edge of the chart:
http://demos.telerik.com/aspnet-ajax/chart/examples/skinning/lines/defaultcs.aspx

Is there a way to make the line flushed to the edges?



1 Answer, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 16 Mar 2009, 02:52 PM
Hello bemara57,

In order to be able to flush the line of the chart to the edges you should set the LayoutMode property of the XAxis to Normal:

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

Sincerely,
Dessy
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
bemara57
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Share this question
or