Reverse Axis in Line Chart
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
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
SIGN IN To post a reply.
2 Replies
MA
Manohari
Syncfusion Team
July 10, 2008 10:05 AM UTC
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
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
MA
Manohari
Syncfusion Team
July 10, 2008 10:14 AM UTC
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
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
SIGN IN To post a reply.
- 2 Replies
- 2 Participants
-
AD Administrator
- Jul 9, 2008 09:15 AM UTC
- Jul 10, 2008 10:14 AM UTC