Axis labels in series area?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Jeremy Johnson
Newbie
Newbie
Posts: 16
Joined: Wed Feb 27, 2013 12:00 am

Axis labels in series area?

Post by Jeremy Johnson » Fri Aug 30, 2013 5:05 pm

Graph example.png
Graph example.png (40.9 KiB) Viewed 3787 times
In developing my own custom implementation of a ScrollPager-type widget, I'd like to display the labels for my bottom axis within the area where my series are graphed, as illustrated in the image above.

Is this possible with TeeChart? Is there a way to create such an effect using labels with a Grid?

Thanks,
Jeremy

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

Re: Axis labels in series area?

Post by Narcís » Mon Sep 02, 2013 9:37 am

Hi Jeremy,

Yes, this is possible setting the horizontal axis to be the top axis, setting RelativePosition to 100 and drawing axes above the series, for example:

Code: Select all

      bar1.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top;

      tChart1.Axes.Top.RelativePosition = 100;
      tChart1.Axes.Left.Visible = false;
      tChart1.Axes.DrawBehind = false;
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