How do I adjust the space between Axis Label and Title

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BVSimmons
Newbie
Newbie
Posts: 2
Joined: Mon Dec 16, 2013 12:00 am

How do I adjust the space between Axis Label and Title

Post by BVSimmons » Sat Jan 11, 2014 3:47 pm

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
Attachments
SteemaiOS Chart Question.png
SteemaiOS Chart Question.png (131.11 KiB) Viewed 5156 times

BVSimmons
Newbie
Newbie
Posts: 2
Joined: Mon Dec 16, 2013 12:00 am

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

Post by BVSimmons » Sat Jan 11, 2014 3:50 pm

I am sorry I forgot to indicate I am using TeeChartNETMonoTouch_v4_13_11_11.

Bernard

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

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

Post by Narcís » Mon Jan 13, 2014 10:42 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply