We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Reverse Axis in Line Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

75019 Jul 9,2008 05:15 AM Jul 10,2008 06:14 AM Windows Forms 2
loading
Tags: Chart
Administrator [Syncfusion]
Asked On July 9, 2008 05:15 AM

Hi

I want to know that the is Reverse Axis at maximum value (see Attached image)is possible in Syncfusion 5.2. and See Label-1.Jpg for Shown the double label on the Chart.Plz tell me it is urgent



LineC_e93428f5.zip

Manohari [Syncfusion]
Replied On July 10, 2008 06:05 AM

Hi Navtej,

Thanks for your interest in Syncfusion products. Please find my responses for your queries below.

1) It is possible to reverse the Axis to draw the Column upside down using the Invserse property and the OpposedAxes property as given below.

Sample code:
this.chartControl1.PrimaryXAxis.OpposedPosition = true; // To move the X Axis to the top of the Chart Plot area
this.chartControl1.PrimaryYAxis.Inversed = true; // To reverse the columns


I have attached a sample that illustrates the same in this link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75019/Sample1.htm

2) It is possible to draw additional lable in the axis using Grouping Labels as given below.

Sample code:

cagl = new ChartAxisGroupingLabel(new DoubleRange(400, 700), "Thousand");
cagl.BorderStyle = ChartAxisGroupingLabelBorderStyle.Rectangle;
cagl.BorderPen.Color= Color.Transparent;
cagl.RotateAngle = 270;
cagl.Row = 0; this.chartControl1.PrimaryYAxis.GroupingLabels.Add(cagl);

I have attached a sample that illustrates the same in this link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75019/Sample2.htm

Kindly let us know if this meets your requirements. Thanks for your patience.

Regards,
Manohari.R


Manohari [Syncfusion]
Replied On July 10, 2008 06:14 AM

Hi Navtej,

Thanks for your interest in Syncfusion products. Please find my responses for your queries below.

1) It is possible to reverse the Axis to draw the Column upside down using the Invserse property and the OpposedAxes property as given below.

Sample code:
this.chartControl1.PrimaryXAxis.OpposedPosition = true; // To move the X Axis to the top of the Chart Plot area
this.chartControl1.PrimaryYAxis.Inversed = true; // To reverse the columns


I have attached a sample that illustrates the same in this link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75019/sample1.htm

2) It is possible to draw additional lable in the axis using Grouping Labels as given below.

Sample code:

cagl = new ChartAxisGroupingLabel(new DoubleRange(400, 700), "Thousand");
cagl.BorderStyle = ChartAxisGroupingLabelBorderStyle.Rectangle;
cagl.BorderPen.Color= Color.Transparent;
cagl.RotateAngle = 270;
cagl.Row = 0; this.chartControl1.PrimaryYAxis.GroupingLabels.Add(cagl);

I have attached a sample that illustrates the same in this link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F75019/sample2.htm

Kindly let us know if this meets your requirements. Thanks for your patience.

Regards,
Manohari.R



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;