Axis Disappearing When Grid Lines Not Behind

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Tony Jackson
Newbie
Newbie
Posts: 2
Joined: Wed Sep 02, 2015 12:00 am
Contact:

Axis Disappearing When Grid Lines Not Behind

Post by Tony Jackson » Fri Oct 09, 2015 3:07 pm

When I set for example Chart.Axis.Behind := False (or Chart.AxisBehind := False) it brings the grid lines forward which is what I want.

The problem is that all 4 axis including the axis border, labels and scale disappear. I had to set the chart walls to true to get the chart boundary to not look ridiculous. See images. We are using the charts in a complicated way. Many series - some polygons, circles, lines, etc.

I know it works because I can do it in a simple program with one series.

I am using the pro version.
ChartGridLinesBehind.png
ChartGridLinesBehind.png (332.37 KiB) Viewed 5777 times
ChartGridLinesFront.png
ChartGridLinesFront.png (301.54 KiB) Viewed 5773 times

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

Re: Axis Disappearing When Grid Lines Not Behind

Post by Narcís » Wed Oct 14, 2015 9:14 am

Hi Tony,

If it works fine with a simpler example, which I confirmed here, you should try to isolate the part of your code that interferes with that. Alternatively, it would be helpful if you arranged a simple example project we can run "as-is" to reproduce the problem here.

Thanks in advance.
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