I am trying to get the labels on my right side custom axes to appear to the right of their actual axis similar to the way the default Right axis appears.
I had thought that setting the Labels.Align property of my custom axis to Steema.TeeChart.AxisLabelAlign.Opposite would accomplish what I was trying to do but that does not seem to change anything.
I searched the forums but could not find anything that accomplished this.
Any suggestions?
Thanks.
Aaron Peronto
Right Side Custom Axis Label Position
-
- Newbie
- Posts: 38
- Joined: Thu Feb 01, 2007 12:00 am
Hi Aaron
You could you try using "this.axis1.OtherSide = true;" this property puts the vertical custom axis to the right.
You can see an example here:
You could you try using "this.axis1.OtherSide = true;" this property puts the vertical custom axis to the right.
You can see an example here:
Code: Select all
private Steema.TeeChart.Axis axis1;
private void Form1_Load(object sender, EventArgs e)
{
this.axis1 = new Steema.TeeChart.Axis(this.tChart1.Chart);
tChart1.Axes.Custom.Add(this.axis1);
this.axis1.Horizontal = false;
this.axis1.OtherSide = true;
bar1.CustomVertAxis = this.axis1;
bar1.FillSampleValues(8);
tChart1.Legend.HorizMargin = 40;
tChart1.Panel.MarginBottom = 7;
tChart1.Aspect.View3D = false;
}
-
- Newbie
- Posts: 38
- Joined: Thu Feb 01, 2007 12:00 am
Hi Edu,
Thanks for the help.
This ended up working for me once I realized that setting an axis's OtherSide property to TRUE means that I needed to base my RelativePosition offset from the right side axis starting point.
I had tried the OtherSide setting before but had not changed my RelativePosition offsets which had been based on the left axis starting postion.
This now works exactly as I need it to work.
Thanks again.
Aaron
Thanks for the help.
This ended up working for me once I realized that setting an axis's OtherSide property to TRUE means that I needed to base my RelativePosition offset from the right side axis starting point.
I had tried the OtherSide setting before but had not changed my RelativePosition offsets which had been based on the left axis starting postion.
This now works exactly as I need it to work.
Thanks again.
Aaron