Page 1 of 1

How do I adjust the space between Axis Label and Title

Posted: Sat Jan 11, 2014 3:47 pm
by 17268107
Hi, I have been try to find how to increase the space between the Labels on the axis and the axis title. See the image attached which indicates what I am referring to.

Thanks

Bernard

Re: How do I adjust the space between Axis Label and Title

Posted: Sat Jan 11, 2014 3:50 pm
by 17268107
I am sorry I forgot to indicate I am using TeeChartNETMonoTouch_v4_13_11_11.

Bernard

Re: How do I adjust the space between Axis Label and Title

Posted: Mon Jan 13, 2014 10:42 am
by narcis
Hi Bernard,

The following WinForm code controls the two spaces either side of the axis title:

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;

      Line series = new Line(tChart1.Chart);

      series.FillSampleValues();

      tChart1.Axes.Left.Title.Visible = true;
      tChart1.Axes.Left.Title.Text = "Left Axis Title";
      tChart1.Axes.Left.Title.CustomSize = 80;
      tChart1.Axes.Left.Labels.CustomSize = 80;
    }
Same should apply in Xamarin.iOS. If this doesn't help don't hesitate to let us know.