Page 1 of 1

Axis labels in series area?

Posted: Fri Aug 30, 2013 5:05 pm
by 15665264
Graph example.png
Graph example.png (40.9 KiB) Viewed 3775 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

Re: Axis labels in series area?

Posted: Mon Sep 02, 2013 9:37 am
by narcis
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;